single-fact naics lookup
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.
4000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-12
updated
Provider
lookups.alienprobe.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x701fd2Fc3295Ff2E98d986BD2032A966f54555f7",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"code": "513210"
},
"type": "http"
},
"output": {
"example": {
"answer": {
"code": "513210",
"level": 6,
"parent_code": "51321",
"title": "Software Publishers",
"vintage": "2022"
},
"delivered_at": "2026-08-22T00:00:00.000Z",
"schema_version": "naics-lookup.v1",
"source": {
"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.",
"name": "US Census Bureau 2022 NAICS reference file, 2-6 digit codes and titles",
"snapshot_sha256": "c55e3851d335b79ede774cb06a2dfa39c9cd3f09afbf7187c84a97b2f91ef7d1",
"vintage": "2022"
},
"subject": {
"type": "naics",
"value": "513210"
}
},
"type": "json"
}
},
"routeTemplate": "/v1/lookup/naics/:code",
"schema": {
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"type": "string"
},
"pathParams": {
"additionalProperties": false,
"properties": {
"code": {
"description": "the NAICS code to resolve, 2 to 6 digits",
"pattern": "^[0-9]{2,6}$",
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"pathParams"
],
"type": "object"
},
"output": {
"additionalProperties": false,
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"answer": {
"additionalProperties": false,
"properties": {
"code": {
"description": "the NAICS code to resolve, 2 to 6 digits",
"pattern": "^[0-9]{2,6}$",
"type": "string"
},
"level": {
"maximum": 6,
"minimum": 2,
"type": "integer"
},
"parent_code": {
"type": [
"string",
"null"
]
},
"title": {
"minLength": 1,
"type": "string"
},
"vintage": {
"const": "2022",
"type": "string"
}
},
"required": [
"code",
"title",
"level",
"parent_code",
"vintage"
],
"type": "object"
},
"delivered_at": {
"minLength": 1,
"type": "string"
},
"schema_version": {
"const": "naics-lookup.v1",
"type": "string"
},
"source": {
"additionalProperties": false,
"properties": {
"coverage": {
"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 set, so a well-formed code absent from this snapshot is absent from the 2022 vintage. Refresh is a redeploy, never a live fetch.",
"type": "string"
},
"name": {
"const": "US Census Bureau 2022 NAICS reference file, 2-6 digit codes and titles",
"type": "string"
},
"snapshot_sha256": {
"const": "c55e3851d335b79ede774cb06a2dfa39c9cd3f09afbf7187c84a97b2f91ef7d1",
"type": "string"
},
"vintage": {
"const": "2022",
"type": "string"
}
},
"required": [
"name",
"vintage",
"snapshot_sha256",
"coverage"
],
"type": "object"
},
"subject": {
"additionalProperties": false,
"properties": {
"type": {
"const": "naics",
"type": "string"
},
"value": {
"description": "the NAICS code to resolve, 2 to 6 digits",
"pattern": "^[0-9]{2,6}$",
"type": "string"
}
},
"required": [
"type",
"value"
],
"type": "object"
}
},
"required": [
"schema_version",
"subject",
"answer",
"source",
"delivered_at"
],
"type": "object"
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
}
}
}Use it
curl
curl "https://lookups.alienprobe.ai/v1/lookup/naics/:code" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://lookups.alienprobe.ai/v1/lookup/naics/:code");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://lookups.alienprobe.ai/v1/lookup/naics/:code")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5488.json, and this resource appears in /discovery/resources and /discovery/search.