Return a list of NAICS or a filtered list of NAICS

Documentation for this endpoint can be found here.

GET /api/v2/references/naics/?filter=forest
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Cache-Trace: no-cache
Content-Type: application/json
Vary: Accept

{
    "results": [
        {
            "naics": "11",
            "naics_description": "Agriculture, Forestry, Fishing and Hunting",
            "count": 64,
            "children": [
                {
                    "naics": "1132",
                    "naics_description": "Forest Nurseries and Gathering of Forest Products",
                    "count": 1,
                    "children": [
                        {
                            "naics": "113210",
                            "naics_description": "Forest Nurseries and Gathering of Forest Products",
                            "count": 1
                        }
                    ]
                },
                {
                    "naics": "1153",
                    "naics_description": "Support Activities for Forestry",
                    "count": 1,
                    "children": [
                        {
                            "naics": "115310",
                            "naics_description": "Support Activities for Forestry",
                            "count": 1
                        }
                    ]
                }
            ]
        },
        {
            "naics": "53",
            "naics_description": "Real Estate and Rental and Leasing",
            "count": 29,
            "children": [
                {
                    "naics": "5324",
                    "naics_description": "Commercial and Industrial Machinery and Equipment Rental and Leasing",
                    "count": 4,
                    "children": [
                        {
                            "naics": "532412",
                            "naics_description": "Construction, Mining, and Forestry Machinery and Equipment Rental and Leasing",
                            "count": 1
                        }
                    ]
                }
            ]
        }
    ]
}