# NAICS 2022 Hierarchy Children Lookup

> NAICS 2022 Hierarchy Children 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 list of NAICS 2022 codes one level below a given code, or lists all 20 top-level sectors if no code is provided.

## Facts

- Endpoint: GET https://industry-occupation-codes.x402tookit.com/naics-children?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-hierarchy-children-lookup-23f1ce13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M7wX5V3ib_3hEIvDea-Z0

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-hierarchy-children-lookup-23f1ce13
```

Example prompt: Can you list all the NAICS 2022 subsectors that fall directly under sector 54 (Professional, Scientific, and Technical Services)?

## When to prefer this

Use this endpoint when you need to traverse the NAICS 2022 hierarchy level by level — discovering what industries exist under a given sector, subsector, or industry group. Prefer it over a search endpoint when you know the parent code and want a complete, authoritative list of its direct children rather than a keyword-filtered result.

## Known failure modes

- Invalid or malformed NAICS code returns an error or empty children list
- Code at the deepest level (national industry, 6 digits) has no children
- Code with wrong digit count may not match any NAICS level
- Network or payment failure returns no data

## How this service works

List the codes one level below a NAICS 2022 code (sector to national industry); omit the code to list the 20 sectors.

## Output

Returns a list of child NAICS 2022 codes (one level below the requested code), each with its code string, title, numeric level, and level name. Also includes the parent code and title, total child count, the name of the child level, data source attribution, and an asOf timestamp.

## 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": [],
     "properties": {
      "code": {
       "type": "string",
       "description": "NAICS 2022 code of 2 to 5 digits, e.g. 5415 (omit for the sectors)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "parent": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "code": {
         "type": [
          "null",
          "string"
         ]
        },
        "level": {
         "type": [
          "null",
          "number"
         ]
        },
        "title": {
         "type": [
          "null",
          "string"
         ]
        },
        "levelName": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "children": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "code": {
          "type": [
           "null",
           "string"
          ]
         },
         "level": {
          "type": [
           "null",
           "number"
          ]
         },
         "title": {
          "type": [
           "null",
           "string"
          ]
         },
         "levelName": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "childCount": {
       "type"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/naics-2022-hierarchy-children-lookup-23f1ce13/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)
