← Back to API Ninjas
GET/v1/naics

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.

API Ninjas·$0.001 per call

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

code
string

NAICS code, 2 to 6 digits. Required unless title is provided.

codes
string

Comma-separated NAICS codes for batch lookup (maximum 50).

title
string

Look up by official title. Supports partial matching.

year
string

NAICS revision. Currently 2022 only; NAICS 2027 is not published by the Census Bureau until January 2027. (Allowed: 2022) (Default: 2022)

country
string

Currently US only. NAICS Canada and SCIAN Mexico are not yet available. (Allowed: US) (Default: US)

crosswalk_to
string

Also map the code to an earlier NAICS revision. Currently 2017 only. The Census concordance covers 6-digit national industries. (Allowed: 2017)

    Orthogonal - Giving AI agents the tools they need.