# NAICS 2022 Code Lookup

> NAICS 2022 Code Lookup is a paid API for AI agents from ccs-seller.bbrysonelite.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Returns the official Census Bureau title and metadata for any NAICS 2022 code (levels 2–6) from a complete static snapshot of all 2,129 codes.

## Facts

- Endpoint: GET https://ccs-seller.bbrysonelite.workers.dev/v1/lookup/naics/513210
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/naics-2022-code-lookup-98c5674b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z23sO0_QGR233UQpn--LH

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-98c5674b
```

Example prompt: What is the official 2022 NAICS title for code 513210? I need the Census Bureau description for this industry classification.

## When to prefer this

Use this endpoint when you need an authoritative, offline-consistent lookup of any 2022 NAICS code title (levels 2–6) and want a deterministic response backed by a verifiable Census Bureau snapshot. Ideal for compliance workflows, data enrichment pipelines, or any context where you need to confirm whether a code is valid in the 2022 vintage. Because it is a static snapshot rather than a live fetch, responses are highly consistent and fast. Prefer this over web scraping or live Census APIs when reproducibility and low latency matter more than access to future vintages.

## Known failure modes

- NAICS code not found — code is well-formed but not present in 2022 vintage (valid negative result, not an error)
- Invalid code format — code does not conform to NAICS digit structure
- Payment failure — x402 payment of $0.004 USDC not completed
- Network/worker error — Cloudflare Workers infrastructure issue

## How this service works

single-fact naics lookup. Complete for the bundled 2022 vintage: all 2129 NAICS 2022 codes at levels 2 through 6, titles verbatim from the Census workbook, with the three range-spelled sectors (31-33, 44-45, 48-49) expanded to one entry per member sector. NAICS is a closed set, so a well-formed code absent from this snapshot is absent from the 2022 vintage. Refresh is a redeploy, never a live fetch.

## Output

Returns the verbatim Census Bureau title for the requested NAICS code, along with source metadata including the 2022 vintage identifier, full coverage description, and a SHA-256 snapshot hash for data integrity verification. If the code is absent from the snapshot, it is definitively absent from the 2022 NAICS vintage.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "pattern": "^[0-9]{2,6}$",
       "description": "the NAICS code to resolve, 2 to 6 digits"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "schema_version",
      "subject",
      "answer",
      "source",
      "delivered_at"
     ],
     "properties": {
      "answer": {
       "type": "object",
       "required": [
        "code",
        "title",
        "level",
        "parent_code",
        "vintage"
       ],
       "properties": {
        "code": {
         "type": "string",
         "pattern": "^[0-9]{2,6}$",
         "description": "the NAICS code to resolve, 2 to 6 digits"
        },
        "level": {
         "type": "integer",
         "maximum": 6,
         "minimum": 2
        },
        "title": {
         "type": "string",
         "minLength": 1
        },
        "vintage": {
         "type": "string",
         "const": "2022"
        },
        "parent_code": {
         "type": [
          "string",
          "null"
         ]
        }
       },
       "additionalProperties": false
      },
      "source": {
       "type": "object",
       "required": [
        "name",
        "vintage",
        "snapshot_sha256",
        "coverage"
       ],
       "properties": {
        "name": {
         "type": "string",
         "const": "US Census Bureau 2022 NAICS reference file, 2-6 digit codes and titles"
        },
        "vintage": {
         "type": "string",
         "const": "2022"
        },
        "coverage": {
         "type": "string",
         "const": "Complete for the bundled 2022 vintage: all 2129 NAICS 2022 codes at levels 2 through 6, titles verbatim from the Census workbook, with the three range-spelled sectors (31-33, 44-45, 48-49) expanded to one entry per member sector. NAICS is a closed
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "source": {
  "name": "US Census Bureau 2022 NAICS reference file, 2-6 digit codes and titles",
  "vintage": "2022",
  "coverage": "Complete for the bundled 2022 vintage: all 2129 NAICS 2022 codes at levels 2 through 6, titles verbatim from the Census workbook, with the three range-spelled sectors (31-33, 44-45, 48-49) expanded to one entry per member sector. NAICS is a closed set, so a well-formed code absent from this snapshot is absent from the 2022 vintage. Refresh is a redeploy, never a live fetch.",
  "snapshot_sha256": "c55e3851d335b79ede774cb06a2dfa39c9cd3f09afbf7187c84a97b2f91ef7d1"
 },
 "schema_version": "naics-lookup.v1"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/naics-2022-code-lookup-98c5674b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ccs-seller.bbrysonelite.workers.dev](https://www.zero.xyz/host/ccs-seller.bbrysonelite.workers.dev/llms.txt)
