
NAICS Code Lookup {API}
Find any company's 6-digit NAICS code from just a domain.
The same NAICS 2022 codes used by the U.S. Census Bureau, SBA, IRS, and SAM.gov — resolved instantly from a website. Built for lead scoring, vendor onboarding, GovCon, compliance, and analytics.
What You Get
Each API call returns structured NAICS classification data.
6-digit NAICS code
Official industry classification
Industry title
Human-readable industry name
Multiple codes
When companies span industries
Sector classification
High-level industry grouping
How It Works
We analyze website content and metadata to determine the most accurate industry classification.
Pass a domain
Like nike.com or any company website
We analyze the site
Metadata, content, keywords, and industry classifiers
Industry matched
Best-fit NAICS codes identified
JSON returned
Classification with code, title, and category
API Response
Extracted classification for nike.com
GET /v1/naics?domain=nike.com{
"domain": "nike.com",
"codes": [
{ "code": "339920", "name": "Sporting and Athletic Goods Manufacturing" },
{ "code": "459110", "name": "Sporting Goods Retailers" }
],
"type": "naics",
"status": "ok"
}How NAICS codes are structured
A NAICS code is a 6-digit number that classifies a U.S., Canadian, or Mexican business by what it produces. Each digit narrows the classification:
- Digits 1–2 — Sector. The broadest grouping. Example:
54= Professional, Scientific, and Technical Services. - Digit 3 — Subsector. Example:
541. - Digit 4 — Industry Group. Example:
5415= Computer Systems Design and Related Services. - Digit 5 — NAICS Industry. Example:
54151. - Digit 6 — National Industry. The U.S./Canada/Mexico-specific variant. Example:
541512= Computer Systems Design Services.
When you need a NAICS code
- Registering on SAM.gov to bid on federal contracts
- Filing taxes with the IRS or applying for SBA loans
- Vendor onboarding and supplier risk classification
- CRM and lead enrichment, segmentation, and scoring
- Marketing list segmentation by industry
- Compliance reporting (KYC/KYB, AML, due diligence)
- Industry-level market research and TAM modeling
NAICS vs SIC codes
NAICS replaced SIC in 1997 as the official U.S. industry classification, but many older systems (Dun & Bradstreet feeds, SEC EDGAR filings, legacy CRMs) still use 4-digit SIC codes. Context.dev returns both — see the SIC Code Lookup API for the SIC equivalent. NAICS is more granular (6 digits vs 4) and is updated every 5 years to reflect the modern economy.
Frequently asked questions
Common questions about NAICS codes and the Context.dev NAICS Code Lookup API.
Am I billed for failed requests?
What is a NAICS code?
How do I find a company's NAICS code?
How is NAICS lookup by domain better than NAICS lookup by company name?
Which NAICS edition does the API use?
What does the response look like?
Can I use this for SAM.gov, GovCon, or vendor onboarding?
How is this different from NAICS Association or NAICS.com?
Is the NAICS lookup API free?
Ship an agent that actually knows things.
Free tier, 10-minute integration, and the same API powering agents at Mintlify, daily.dev, and Propane. No credit card to start.













