# NAICS 2022 Code Lookup

> NAICS 2022 Code Lookup is a paid API for AI agents from industry-occupation-codes.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Returns the title, hierarchical level, and full parent chain for a given NAICS 2022 industry code (2–6 digits or sector range).

## Facts

- Endpoint: GET https://industry-occupation-codes.x402tookit.com/naics-lookup?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/naics-2022-code-lookup-a1ab3d9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EtvAxQaMkoX4jXMwtQ6Zp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability naics-2022-code-lookup-a1ab3d9b
```

Example prompt: What is NAICS code 541511 called, what level is it, and what are its parent industries all the way up to the sector?

## When to prefer this

Choose this endpoint when you need authoritative NAICS 2022 code-to-title resolution with full hierarchical context (parent chain, level name) sourced directly from Census Bureau data. Prefer it over manual lookups or scraped data when you need structured, machine-readable hierarchy for enrichment, validation, or directory building. Use when you have a specific code and need to decode it — for keyword-based discovery, prefer the NAICS search endpoint instead.

## Known failure modes

- Invalid or non-existent NAICS code returns a null result or error verdict
- Code outside the 2–6 digit range or malformed input returns a validation error
- Sector range codes (e.g. 31-33) may not resolve if format is not matched exactly
- Payment failure (402) if x402 micropayment is not completed
- Upstream Census Bureau data unavailable returns a degraded response flag

## How this service works

NAICS 2022 code to title, level (sector to national industry) and full parent chain. Census Bureau data.

## Output

Returns the code, its human-readable title, numeric level (2=sector through 6=national industry), level name (e.g. 'subsector', 'industry group'), number of child codes, and an ordered parent chain array — each parent including its own code, title, level, and level name — plus attribution and data source metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "NAICS 2022 code of 2 to 6 digits, e.g. 541511, or a sector range like 31-33"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "code": {
       "type": [
        "null",
        "string"
       ]
      },
      "input": {
       "type": [
        "null",
        "string"
       ]
      },
      "level": {
       "type": [
        "null",
        "number"
       ]
      },
      "title": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "levelName": {
       "type": [
        "null",
        "string"
       ]
      },
      "childCount": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "attribution": {
       "type": [
        "null",
        "string"
       ]
      },
      "parentChain": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "code": {
          "type": [
           "null",
           "string"
          ]
         },
         "le
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/naics-2022-code-lookup-a1ab3d9b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from industry-occupation-codes.x402tookit.com](https://www.zero.xyz/host/industry-occupation-codes.x402tookit.com/llms.txt)
