Look up a NAICS code
Returns the official title, description, full hierarchy, index terms and cross-references for a NAICS code, or up to 50 codes in one request via `codes`. Pass crosswalk_to to also map the code to another NAICS revision or to SIC.
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/naics"
});
console.log(output);Query parameters
NAICS code, 2 to 6 digits. Required unless title is provided.
Comma-separated NAICS codes for batch lookup (maximum 50).
Look up by official title. Supports partial matching.
NAICS revision. Currently 2022 only; NAICS 2027 is not published by the Census Bureau until January 2027. (Allowed: 2022) (Default: 2022)
Currently US only. NAICS Canada and SCIAN Mexico are not yet available. (Allowed: US) (Default: US)
Also map the code to an earlier NAICS revision. Currently 2017 only. The Census concordance covers 6-digit national industries. (Allowed: 2017)