curl --request GET \
--url https://api.forestreet.com/markets/{marketId}/companies/naics \
--header 'x-api-key: <api-key>'
{
"meta": {
"totalItems": 43,
"totalUniqueCompanies": 7
},
"currentQuery": {
"marketId": 4475
},
"data": [
{
"code": 220000,
"name": "Utilities",
"count": 1,
"children": [
{
"code": 221000,
"name": "Utilities",
"count": 1,
"children": [
{
"code": 221100,
"name": "Electric Power Generation, Transmission and Distribution",
"count": 1,
"children": [
{
"code": 221110,
"name": "Electric Power Generation",
"count": 1,
"children": [
{
"code": 221115,
"name": "Wind Electric Power Generation",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 330000,
"name": "Manufacturing",
"count": 7,
"children": [
{
"code": 333000,
"name": "Machinery Manufacturing",
"count": 1,
"children": [
{
"code": 333100,
"name": "Agriculture, Construction, and Mining Machinery Manufacturing",
"count": 1
},
{
"code": 333600,
"name": "Engine, Turbine, and Power Transmission Equipment Manufacturing",
"count": 1
}
]
},
{
"code": 334000,
"name": "Computer and Electronic Product Manufacturing",
"count": 2,
"children": [
{
"code": 334500,
"name": "Navigational, Measuring, Electromedical, and Control Instruments Manufacturing",
"count": 2,
"children": [
{
"code": 334510,
"name": "Navigational, Measuring, Electromedical, and Control Instruments Manufacturing",
"count": 2,
"children": [
{
"code": 334511,
"name": "Search, Detection, Navigation, Guidance, Aeronautical, and Nautical System and Instrument Manufacturing",
"count": 2
}
]
}
]
}
]
},
{
"code": 336000,
"name": "Transportation Equipment Manufacturing",
"count": 7,
"children": [
{
"code": 336100,
"name": "Motor Vehicle Manufacturing",
"count": 7,
"children": [
{
"code": 336120,
"name": "Heavy Duty Truck Manufacturing",
"count": 1
}
]
},
{
"code": 336400,
"name": "Aerospace Product and Parts Manufacturing",
"count": 7,
"children": [
{
"code": 336410,
"name": "Aerospace Product and Parts Manufacturing",
"count": 7,
"children": [
{
"code": 336411,
"name": "Aircraft Manufacturing",
"count": 7
},
{
"code": 336414,
"name": "Guided Missile and Space Vehicle Manufacturing",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 450000,
"name": "Retail Trade",
"count": 1,
"children": [
{
"code": 459000,
"name": "Sporting Goods, Hobby, Musical Instrument, Book, and Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459900,
"name": "Other Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459990,
"name": "All Other Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459999,
"name": "All Other Miscellaneous Retailers",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 480000,
"name": "Transportation and Warehousing",
"count": 2,
"children": [
{
"code": 488000,
"name": "Support Activities for Transportation",
"count": 1,
"children": [
{
"code": 488100,
"name": "Support Activities for Air Transportation",
"count": 1,
"children": [
{
"code": 488190,
"name": "Other Support Activities for Air Transportation",
"count": 1
}
]
}
]
}
]
},
{
"code": 540000,
"name": "Professional, Scientific, and Technical Services",
"count": 4,
"children": [
{
"code": 541000,
"name": "Professional, Scientific, and Technical Services",
"count": 4,
"children": [
{
"code": 541300,
"name": "Architectural, Engineering, and Related Services",
"count": 1,
"children": [
{
"code": 541330,
"name": "Engineering Services",
"count": 1
}
]
},
{
"code": 541600,
"name": "Management, Scientific, and Technical Consulting Services",
"count": 1,
"children": [
{
"code": 541610,
"name": "Management Consulting Services",
"count": 1,
"children": [
{
"code": 541611,
"name": "Administrative Management and General Management Consulting Services",
"count": 1
}
]
}
]
},
{
"code": 541700,
"name": "Scientific Research and Development Services",
"count": 2,
"children": [
{
"code": 541710,
"name": "Research and Development in the Physical, Engineering, and Life Sciences",
"count": 2,
"children": [
{
"code": 541713,
"name": "Research and Development in Nanotechnology",
"count": 2
}
]
}
]
}
]
}
]
},
{
"code": 920000,
"name": "Public Administration",
"count": 2,
"children": [
{
"code": 928000,
"name": "National Security and International Affairs",
"count": 2,
"children": [
{
"code": 928100,
"name": "National Security and International Affairs",
"count": 2,
"children": [
{
"code": 928110,
"name": "National Security",
"count": 2
}
]
}
]
}
]
}
]
}
This endpoint retrieves a tree of all NAICS codes identified in the given market. This does not map the NAICS codes to specific domains; this is typically used to create the dropdown list for filtering by NAICS.
A NAICS (pronounced NAKES) Code is a classification within the North American Industry Classification System. The NAICS System was developed for use by Federal Statistical Agencies for the collection, analysis and publication of statistical data related to the US Economy.
It was adopted in 1997 to replace the Standard Industrial Classification (SIC) system in cooperation with the statistical agencies of Canada and Mexico. Their goal was to establish a North American standard. They developed the NAICS as the first economic classification system based on a single economic concept.
While NAICS codes appear as a single integer, they are in fact hierarchical. The first two digits represent the sector, the third digit represents the subsector, and so on; further digits are added to provide more granularity. Typically by being a member of a deeper-level NAICS code, a company is implicitly a member of all parent codes as well.
NAICS codes are self-assigned by companies, without certifications of their validity or accuracy.
curl --request GET \
--url https://api.forestreet.com/markets/{marketId}/companies/naics \
--header 'x-api-key: <api-key>'
{
"meta": {
"totalItems": 43,
"totalUniqueCompanies": 7
},
"currentQuery": {
"marketId": 4475
},
"data": [
{
"code": 220000,
"name": "Utilities",
"count": 1,
"children": [
{
"code": 221000,
"name": "Utilities",
"count": 1,
"children": [
{
"code": 221100,
"name": "Electric Power Generation, Transmission and Distribution",
"count": 1,
"children": [
{
"code": 221110,
"name": "Electric Power Generation",
"count": 1,
"children": [
{
"code": 221115,
"name": "Wind Electric Power Generation",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 330000,
"name": "Manufacturing",
"count": 7,
"children": [
{
"code": 333000,
"name": "Machinery Manufacturing",
"count": 1,
"children": [
{
"code": 333100,
"name": "Agriculture, Construction, and Mining Machinery Manufacturing",
"count": 1
},
{
"code": 333600,
"name": "Engine, Turbine, and Power Transmission Equipment Manufacturing",
"count": 1
}
]
},
{
"code": 334000,
"name": "Computer and Electronic Product Manufacturing",
"count": 2,
"children": [
{
"code": 334500,
"name": "Navigational, Measuring, Electromedical, and Control Instruments Manufacturing",
"count": 2,
"children": [
{
"code": 334510,
"name": "Navigational, Measuring, Electromedical, and Control Instruments Manufacturing",
"count": 2,
"children": [
{
"code": 334511,
"name": "Search, Detection, Navigation, Guidance, Aeronautical, and Nautical System and Instrument Manufacturing",
"count": 2
}
]
}
]
}
]
},
{
"code": 336000,
"name": "Transportation Equipment Manufacturing",
"count": 7,
"children": [
{
"code": 336100,
"name": "Motor Vehicle Manufacturing",
"count": 7,
"children": [
{
"code": 336120,
"name": "Heavy Duty Truck Manufacturing",
"count": 1
}
]
},
{
"code": 336400,
"name": "Aerospace Product and Parts Manufacturing",
"count": 7,
"children": [
{
"code": 336410,
"name": "Aerospace Product and Parts Manufacturing",
"count": 7,
"children": [
{
"code": 336411,
"name": "Aircraft Manufacturing",
"count": 7
},
{
"code": 336414,
"name": "Guided Missile and Space Vehicle Manufacturing",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 450000,
"name": "Retail Trade",
"count": 1,
"children": [
{
"code": 459000,
"name": "Sporting Goods, Hobby, Musical Instrument, Book, and Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459900,
"name": "Other Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459990,
"name": "All Other Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459999,
"name": "All Other Miscellaneous Retailers",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 480000,
"name": "Transportation and Warehousing",
"count": 2,
"children": [
{
"code": 488000,
"name": "Support Activities for Transportation",
"count": 1,
"children": [
{
"code": 488100,
"name": "Support Activities for Air Transportation",
"count": 1,
"children": [
{
"code": 488190,
"name": "Other Support Activities for Air Transportation",
"count": 1
}
]
}
]
}
]
},
{
"code": 540000,
"name": "Professional, Scientific, and Technical Services",
"count": 4,
"children": [
{
"code": 541000,
"name": "Professional, Scientific, and Technical Services",
"count": 4,
"children": [
{
"code": 541300,
"name": "Architectural, Engineering, and Related Services",
"count": 1,
"children": [
{
"code": 541330,
"name": "Engineering Services",
"count": 1
}
]
},
{
"code": 541600,
"name": "Management, Scientific, and Technical Consulting Services",
"count": 1,
"children": [
{
"code": 541610,
"name": "Management Consulting Services",
"count": 1,
"children": [
{
"code": 541611,
"name": "Administrative Management and General Management Consulting Services",
"count": 1
}
]
}
]
},
{
"code": 541700,
"name": "Scientific Research and Development Services",
"count": 2,
"children": [
{
"code": 541710,
"name": "Research and Development in the Physical, Engineering, and Life Sciences",
"count": 2,
"children": [
{
"code": 541713,
"name": "Research and Development in Nanotechnology",
"count": 2
}
]
}
]
}
]
}
]
},
{
"code": 920000,
"name": "Public Administration",
"count": 2,
"children": [
{
"code": 928000,
"name": "National Security and International Affairs",
"count": 2,
"children": [
{
"code": 928100,
"name": "National Security and International Affairs",
"count": 2,
"children": [
{
"code": 928110,
"name": "National Security",
"count": 2
}
]
}
]
}
]
}
]
}
data
returned.Show meta
Show node
222100
, it should only be a child of
a node with a code of 222000
.{
"meta": {
"totalItems": 43,
"totalUniqueCompanies": 7
},
"currentQuery": {
"marketId": 4475
},
"data": [
{
"code": 220000,
"name": "Utilities",
"count": 1,
"children": [
{
"code": 221000,
"name": "Utilities",
"count": 1,
"children": [
{
"code": 221100,
"name": "Electric Power Generation, Transmission and Distribution",
"count": 1,
"children": [
{
"code": 221110,
"name": "Electric Power Generation",
"count": 1,
"children": [
{
"code": 221115,
"name": "Wind Electric Power Generation",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 330000,
"name": "Manufacturing",
"count": 7,
"children": [
{
"code": 333000,
"name": "Machinery Manufacturing",
"count": 1,
"children": [
{
"code": 333100,
"name": "Agriculture, Construction, and Mining Machinery Manufacturing",
"count": 1
},
{
"code": 333600,
"name": "Engine, Turbine, and Power Transmission Equipment Manufacturing",
"count": 1
}
]
},
{
"code": 334000,
"name": "Computer and Electronic Product Manufacturing",
"count": 2,
"children": [
{
"code": 334500,
"name": "Navigational, Measuring, Electromedical, and Control Instruments Manufacturing",
"count": 2,
"children": [
{
"code": 334510,
"name": "Navigational, Measuring, Electromedical, and Control Instruments Manufacturing",
"count": 2,
"children": [
{
"code": 334511,
"name": "Search, Detection, Navigation, Guidance, Aeronautical, and Nautical System and Instrument Manufacturing",
"count": 2
}
]
}
]
}
]
},
{
"code": 336000,
"name": "Transportation Equipment Manufacturing",
"count": 7,
"children": [
{
"code": 336100,
"name": "Motor Vehicle Manufacturing",
"count": 7,
"children": [
{
"code": 336120,
"name": "Heavy Duty Truck Manufacturing",
"count": 1
}
]
},
{
"code": 336400,
"name": "Aerospace Product and Parts Manufacturing",
"count": 7,
"children": [
{
"code": 336410,
"name": "Aerospace Product and Parts Manufacturing",
"count": 7,
"children": [
{
"code": 336411,
"name": "Aircraft Manufacturing",
"count": 7
},
{
"code": 336414,
"name": "Guided Missile and Space Vehicle Manufacturing",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 450000,
"name": "Retail Trade",
"count": 1,
"children": [
{
"code": 459000,
"name": "Sporting Goods, Hobby, Musical Instrument, Book, and Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459900,
"name": "Other Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459990,
"name": "All Other Miscellaneous Retailers",
"count": 1,
"children": [
{
"code": 459999,
"name": "All Other Miscellaneous Retailers",
"count": 1
}
]
}
]
}
]
}
]
},
{
"code": 480000,
"name": "Transportation and Warehousing",
"count": 2,
"children": [
{
"code": 488000,
"name": "Support Activities for Transportation",
"count": 1,
"children": [
{
"code": 488100,
"name": "Support Activities for Air Transportation",
"count": 1,
"children": [
{
"code": 488190,
"name": "Other Support Activities for Air Transportation",
"count": 1
}
]
}
]
}
]
},
{
"code": 540000,
"name": "Professional, Scientific, and Technical Services",
"count": 4,
"children": [
{
"code": 541000,
"name": "Professional, Scientific, and Technical Services",
"count": 4,
"children": [
{
"code": 541300,
"name": "Architectural, Engineering, and Related Services",
"count": 1,
"children": [
{
"code": 541330,
"name": "Engineering Services",
"count": 1
}
]
},
{
"code": 541600,
"name": "Management, Scientific, and Technical Consulting Services",
"count": 1,
"children": [
{
"code": 541610,
"name": "Management Consulting Services",
"count": 1,
"children": [
{
"code": 541611,
"name": "Administrative Management and General Management Consulting Services",
"count": 1
}
]
}
]
},
{
"code": 541700,
"name": "Scientific Research and Development Services",
"count": 2,
"children": [
{
"code": 541710,
"name": "Research and Development in the Physical, Engineering, and Life Sciences",
"count": 2,
"children": [
{
"code": 541713,
"name": "Research and Development in Nanotechnology",
"count": 2
}
]
}
]
}
]
}
]
},
{
"code": 920000,
"name": "Public Administration",
"count": 2,
"children": [
{
"code": 928000,
"name": "National Security and International Affairs",
"count": 2,
"children": [
{
"code": 928100,
"name": "National Security and International Affairs",
"count": 2,
"children": [
{
"code": 928110,
"name": "National Security",
"count": 2
}
]
}
]
}
]
}
]
}