API Almanac
API reference › Naics

One NAICS code with its parents up to the sector and its direct children

GET/v1/naics/{code}

GET/v1/naics/{code}

One NAICS code with its parents up to the sector and its direct children

PARAMETERS
codepath · stringREQUIRED
NAICS code
e.g. 541511
In the full reference
REQUEST
curl "https://api.apialmanac.com/v1/naics/541511" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "code": "541511",
  "title": "Custom Computer Programming Services",
  "level": 6,
  "parents": [
    {
      "code": "54",
      "title": "Professional, Scientific, and Technical Services",
      "level": 2
    },
    {
      "code": "541",
      "title": "Professional, Scientific, and Technical Services",
      "level": 3
    },
    {
      "code": "5415",
      "title": "Computer Systems Design and Related Services",
      "level": 4
    },
    {
      "code": "54151",
      "title": "Computer Systems Design and Related Services",
      "level": 5
    }
  ],
  "children": []
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.