{"uid":"cap_GmkqhAyhax9x5hVikg6Uj","slug":"industry-and-occupation-codes-code-validator-81290533","name":"Industry and Occupation Codes – Code Validator","description":"Check whether a code is a valid NAICS 2022 or SOC 2018 code, at what level, and which system it belongs to.","url":"https://industry-occupation-codes.x402tookit.com/code-validate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["code"],"properties":{"code":{"type":"string","description":"Code to check, e.g. 541511, 15-1252, 151252, 15-1252.00 or 31-33"},"system":{"type":"string","description":"naics or soc to test only that system (default: both)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"input":{"type":["null","string"]},"source":{"type":["null","string"]},"matches":{"type":["array","null"],"items":{"type":"object","properties":{"code":{"type":["null","string"]},"level":{"type":["null","number"]},"title":{"type":["null","string"]},"system":{"type":["null","string"]},"levelName":{"type":["null","string"]},"normalized":{"type":["null","string"]}}}},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"formatsRecognised":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a7VJZWBEZnmuH0mMtO0h3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given code is a recognized NAICS 2022 or SOC 2018 code, identifies its level, and reports which classification system it belongs to.","exampleAgentPrompt":"Can you check whether 541511 is a valid NAICS 2022 code, and if so, tell me what level it is and what it's called?","exampleUseCases":[{"title":"Validate user-submitted business code","prompt":"A user just filled in their industry code as '3254' on our onboarding form — can you check if that's a valid NAICS 2022 code and what level it represents before we save it?"},{"title":"Confirm SOC code before payroll filing","prompt":"Before we submit this payroll report, can you verify that 15-1252 is a valid SOC 2018 occupation code and tell me exactly which level it is — like whether it's a broad occupation or a detailed one?"},{"title":"Identify ambiguous code classification system","prompt":"I have the code 151252 and I'm not sure if it's a NAICS or SOC code — can you check both systems and tell me which one it matches, what it's called, and at what level?"}],"resultDescription":"Returns a verdict on whether the code is valid, the matched code entry with its title, normalized form, classification level number and level name (e.g. sector, subsector, major group, detailed occupation), and the system it belongs to (NAICS or SOC). Also includes a human-readable summary, reasons, and attribution details.","failureModes":["Code not found in either system — returns verdict indicating no match with reasons","Malformed code string — may return no match or format recognition failure","System filter provided but code only valid in the other system — returns not-checked note for filtered system","Service degraded — degraded flag set to true with partial or cached results","Missing required 'code' query parameter — returns error"],"whenToPreferThis":"Use this endpoint when you need to confirm whether a specific code string is a recognized NAICS 2022 or SOC 2018 identifier before storing, submitting, or acting on it. Prefer this over the search endpoints when you already have a code and just need validation rather than discovery. Useful for form validation, compliance checks, or data cleaning pipelines where code correctness must be verified.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:09.351Z","isFirstParty":false,"canonicalSlug":"industry-and-occupation-codes-code-validator-81290533"}