# NAICS 2022 Industry Code Search

> NAICS 2022 Industry Code Search 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).

Search NAICS 2022 industry classification codes by keyword or code prefix, with optional level filtering, returning up to 50 ranked matches.

## Facts

- Endpoint: GET https://industry-occupation-codes.x402tookit.com/naics-search?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-industry-code-search-12eaca1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SiyZHwQRbKsPgCjMpe9cd

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-industry-code-search-12eaca1d
```

Example prompt: Search for NAICS 2022 codes matching 'full service restaurants' and show me only the 6-digit national industry level results, up to 10 matches.

## When to prefer this

Use this endpoint when you need to search NAICS 2022 codes by descriptive keywords or a known code prefix — ideal for classifying businesses, tagging records, or populating dropdowns. Prefer over the validation or hierarchy endpoints when you don't already know the exact code and need fuzzy keyword discovery.

## Known failure modes

- Missing required 'q' parameter returns an error
- Query with no matching codes returns empty matches array
- Level filter outside valid range (2-6) may return no results
- Limit exceeding 50 is capped at 50
- Degraded mode may return partial results if upstream Census data is unavailable

## How this service works

Search NAICS 2022 industry codes by words in the title or a code prefix; optional level filter; capped at 50.

## Output

Returns a list of matching NAICS 2022 entries, each with a code, title, numeric level (2–6), level name (sector/subsector/group/industry/national industry), and a match score. Also includes total match count, whether results were truncated, the data source attribution, and query echo.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Words like 'software publishers' or 'full service restaurants', or a code prefix like 5415"
      },
      "level": {
       "type": "integer",
       "description": "Only this code length: 2 sector, 3 subsector, 4 group, 5 industry, 6 national industry"
      },
      "limit": {
       "type": "integer",
       "description": "Results 1 to 50 (default 10)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "query": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "q": {
         "type": [
          "null",
          "string"
         ]
        },
        "level": {}
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "matches": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "code": {
          "type": [
           "null",
           "string"
          ]
         },
         "level": {
          "type": [
           "null",
           "number"
          ]
         },
         "title": {
          "type": [
           "null",
           "string"
          ]
         },
         "levelName": {
          "type": [
           "null",
           "string"
          ]
         },
         "matchScore": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/naics-2022-industry-code-search-12eaca1d/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)
