NAICS Codes
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
}
]
}
]
}
]
}
]
}
Path
The ID of the market which you want to retrieve NAICS codes of. This can be retrieved by searching for markets.
Response
Metadata summarizing the data
returned.
The number of unique NAICS codes found in the study. This includes all NAICS codes nested inside the tree, not just the top-level ones.
The number of unique companies containing any of the above NAICS codes.
It is possible that some companies are not mapped to any NAICS codes; these companies are not included in this count even if they exist in the study.
A tree of all NAICS codes mapped to their number of occurrences, nested by level. The first level is always an array of the top-level NAICS nodes, which in turn may have children nodes.
Each node is an object with the following fields:
The NAICS code of this node. This should be unique in the tree, and only attached to a parent node which has a code that is a prefix of this code.
For example, if a node has a code of 222100
, it should only be a child of
a node with a code of 222000
.
The name of this NAICS code. This is only provided for reference, as different countries are allowed to have different names for the same code, as is typical for the deepest level nodes of “National Industries”.
Since a market may contain companies from multiple countries, this field may contain the name as defined by any of the relevant countries.
Optional. The number of companies in the study that are mapped to this NAICS code.
Optional. An array of child nodes, each following the same structure as this node.
If there are no children, this field will not be present.
{
"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
}
]
}
]
}
]
}
]
}
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
}
]
}
]
}
]
}
]
}