---
id: "naicscode"
kind: "datatype"
status: "stable"
is_pii: false
name: "NAICS code"
regexp: "^\\d{2,6}$"
categories: ["industry"]
country: ["US"]
langs: ["en"]
quality: 90
url: "https://registry.apicrafter.io/datatype/naicscode"
---

# NAICS code (`naicscode`)

Classification in the North American Industry Classification System

- Personal data (PII): no
- Categories: Industry (industry)
- Countries: United States (US)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{2,6}$
```

## Examples

- `517919` — CelerSMS
- `512240` — recording studio

## Mappings

- fibo: <https://spec.edmcouncil.org/fibo/ontology/FBC/FunctionalEntities/BusinessRegistries/NorthAmericanIndustryClassificationSystemCode>
- fta: `INDUSTRY_CODE.NAICS`
- schema_org: `naics`
- wikidata: [`P3224`](https://www.wikidata.org/wiki/Property:P3224)

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `naicscodeknown` (field, `us/us_industry.yaml`)

## Supported by tools

- [`fta`](https://registry.apicrafter.io/tool/fta.md)
- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P3224>

## Quality

Score 90/100. Missing: negative example, translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/naicscode.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/industry/naicscode.yaml>
