# NAICS 2022 Code Lookup

> NAICS 2022 Code Lookup is a paid API for AI agents from lookups.alienprobe.ai, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Returns the official title and metadata for a single NAICS 2022 industry classification code from a digest-pinned snapshot of the US Census Bureau reference file.

## Facts

- Endpoint: GET https://lookups.alienprobe.ai/v1/lookup/naics/513210
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/naics-2022-code-lookup-6b318b83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o69x3fO538HOaksBdXKyh

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-6b318b83
```

Example prompt: What is the official 2022 Census NAICS title for industry code 513210?

## When to prefer this

Choose this endpoint when you need a fast, authoritative, provenance-verified lookup of a single NAICS 2022 code title and do not need live data freshness — the snapshot is digest-pinned to a known SHA-256 hash. Prefer this over scraping Census Bureau pages or calling broader industry databases when you only need official code-to-title resolution at minimal cost ($0.004 per call). Not suitable if you need the 2017 vintage, SIC codes, or industry descriptions beyond the official Census titles.

## Known failure modes

- Invalid or malformed NAICS code returns no match (code absent from 2022 vintage)
- 1-digit or 7+ digit codes outside the 2–6 digit range may not be found
- Codes valid in older NAICS vintages (e.g. 2017) but removed in 2022 will return no result
- Payment failure or insufficient USDC balance blocks the request
- Network timeout if the service is temporarily unreachable

## How this service works

Paid single-fact lookups, answered from bundled digest-pinned snapshots of public reference data.

## Output

Returns a JSON object with the official NAICS 2022 title for the requested code, along with source attribution (US Census Bureau 2022 reference file), a snapshot SHA-256 hash for provenance verification, vintage year, and coverage notes confirming completeness across all 2129 codes at digit levels 2–6.

## 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
{
 "type": "json",
 "example": {
  "answer": {
   "code": "513210",
   "level": 6,
   "title": "Software Publishers",
   "vintage": "2022",
   "parent_code": "51321"
  },
  "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"
  },
  "subject": {
   "type": "naics",
   "value": "513210"
  },
  "delivered_at": "2026-08-22T00:00:00.000Z",
  "schema_version": "naics-lookup.v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/naics-2022-code-lookup-6b318b83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lookups.alienprobe.ai](https://www.zero.xyz/host/lookups.alienprobe.ai/llms.txt)
