# NAICS Lookup API

> NAICS Lookup is a NAICS code lookup and search API for the 2022 North American Industry Classification System. Look up one code or up to 500 at once, or search by keyword, and get the title, description, level, parent, hierarchy and children, while paid plans add the SBA small-business size standard, the Census index terms, cross-references and the 2017 concordance.

**Endpoint:** `GET https://api.apiverve.com/v1/naicslookup`  
**Category:** Reference Data  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/naicslookup

## Overview

A NAICS code API built from the Census Bureau's NAICS 2022 files and the SBA Table of Size Standards. Every one of the 2,125 codes, from the 20 sectors down to the 6-digit national industries, comes with its official title and description, its parent and full hierarchy, its children and whether it is shared with Canada and Mexico. On paid plans, six-digit codes carry the SBA size standard in receipts or employees, with any exceptions. Keyword search ranks codes by hits in the title, the 20,000 Census index entries and the description. Paid plans add details=true: the index entries, the cross-references to related codes and the NAICS 2017 codes each 2022 code replaced, plus batches of up to 500 codes.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/naicslookup?code=541511&search=software%20publisher&level=6&details=true&limit=10" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | No | One NAICS code, or several separated by commas (up to 10 on Free, 500 on paid plans). NAICS 2017 codes retired in 2022 come back under retired with their replacements. length 0-4000 |
| `search` | string | No | Keywords to search titles, index terms and descriptions. Plain-language terms are understood too: online store or ecommerce, SaaS, IT consulting, and occupations such as plumber or electrician. length 0-200 |
| `level` | integer | No | Only return codes at this level when searching (2 to 6 digits). One of: 2, 3, 4, 5, 6 |
| `details` | boolean | No | Include index terms, cross-references and the NAICS 2017 concordance. default false. Premium field |
| `limit` | integer | No | Maximum search results (1-50). default 10. range 1-50 |

## Response fields

- `count` — number · Number of codes returned
  - `results.0.code` — string · NAICS 2022 code (2 to 6 digits, or a sector range such as 31-33)
  - `results.0.title` — string · Official title
  - `results.0.level` — number · Number of digits: 2 sector, 3 subsector, 4 industry group, 5 industry, 6 national industry
  - `results.0.levelName` — string · sector, subsector, industry_group, industry or national_industry
  - `results.0.trilateral` — boolean · The code and title are shared by the US, Canada and Mexico
  - `results.0.description` — string · Official Census description of what the code covers
  - `results.0.parent` — object · The code one level up ({code, title}); null for sectors
    - `results.0.parent.code` — string · Parent code
    - `results.0.parent.title` — string · Parent title
    - `results.0.hierarchy.0.code` — string
    - `results.0.hierarchy.0.title` — string
    - `results.0.hierarchy.0.level` — number
    - `results.0.hierarchy.0.levelName` — string
  - `results.0.children` — array · Codes one level down: code, title
  - `results.0.sizeStandard` — object · SBA small-business size standard (6-digit codes); null above that level · (premium)
    - `results.0.sizeStandard.revenueMillions` — number · Average annual receipts limit in millions of US dollars; null when the standard is in employees · (premium)
    - `results.0.sizeStandard.employees` — object · Employee limit; null when the standard is in receipts · (premium)
    - `results.0.sizeStandard.summary` — string · The standard in words, e.g. $34M average annual receipts · (premium)
    - `results.0.sizeStandard.exceptions` — array · Activities with their own standard under this code: activity, revenueMillions, employees, summary · (premium)
  - `results.0.indexTerms` — array · Census index entries classified under this code (details=true) · (premium)
    - `results.0.crossReferences.0.text` — string · (premium)
    - `results.0.crossReferences.0.codes` — array · (premium)
    - `results.0.naics2017.0.code` — string · (premium)
    - `results.0.naics2017.0.title` — string · (premium)
- `notFound` — array · Requested codes that do not exist in NAICS 2022

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 1,
    "results": [
      {
        "code": "541511",
        "title": "Custom Computer Programming Services",
        "level": 6,
        "levelName": "national_industry",
        "trilateral": false,
        "description": "This U.S. industry comprises establishments primarily engaged in writing, modifying, testing, and supporting software to meet the needs of a particular customer.",
        "parent": {
          "code": "54151",
          "title": "Computer Systems Design and Related Services"
        },
        "hierarchy": [
          {
            "code": "54",
            "title": "Professional, Scientific, and Technical Services",
            "level": 2,
            "levelName": "sector"
          },
          {
            "code": "541",
            "title": "Professional, Scientific, and Technical Services",
            "level": 3,
            "levelName": "subsector"
          },
          {
            "code": "5415",
            "title": "Computer Systems Design and Related Services",
            "level": 4,
            "levelName": "industry_group"
          },
          {
            "code": "54151",
            "title": "Computer Systems Design and Related Services",
            "level": 5,
            "levelName": "industry"
          },
          {
            "code": "541511",
            "title": "Custom Computer Programming Services",
            "level": 6,
            "levelName": "national_industry"
          }
        ],
        "children": [],
        "sizeStandard": {
          "revenueMillions": 34,
          "employees": null,
          "summary": "$34M average annual receipts",
          "exceptions": []
        },
        "indexTerms": [
          "Applications software programming services, custom computer",
          "Computer program or software development, custom",
          "Computer programming services, custom",
          "Computer software analysis and design services, custom",
          "Computer software programming services, custom",
          "Computer software support services, custom"
        ],
        "crossReferences": [
          {
            "text": "Software design, development, and publishing, or software publishing only--are classified in Industry 513210, Software Publishers;",
            "codes": [
              "513210"
            ]
          },
          {
            "text": "Providing computing infrastructure, data processing services, Web hosting services (except software publishing), and related services, including streaming support services (except streaming distribution services)--are classified in Industry 518210, Computing Infrastructure Providers, Data Processing, Web Hosting, and Related Services; and",
            "codes": [
              "518210"
            ]
          },
          {
            "text": "Planning and designing computer systems that integrate computer hardware, software, and communication technologies, even though such establishments may provide custom software as an integral part of their services--are classified in U.S. Industry 541512, Computer Systems Design Services.",
            "codes": [
              "541512"
            ]
          }
        ],
        "naics2017": [
          {
            "code": "541511",
            "title": "Custom Computer Programming Services"
          }
        ]
      }
    ],
    "notFound": []
  }
}
```

## Use cases

- **Business Onboarding** — Let applicants search for their industry in plain words and store the matching 6-digit NAICS code.
- **Government Contracting** — Check a company against the SBA small-business size standard for the NAICS code on a solicitation.
- **Data Normalisation** — Expand stored NAICS codes into titles, sectors and hierarchy for reporting and segmentation.
- **Code Migration** — Map records coded under NAICS 2017 to their 2022 successors using the concordance.

## More

- Full reference: https://docs.apiverve.com/ref/naicslookup
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
