Public domain · No licence fees

Clean, versioned data APIs

Government datasets transformed into stable, queryable JSON. NAICS codes, SIC codes, and more — free to use, no scraping required.

GET /naics/2022/722511.json

  "code":        "722511",
  "title":       "Full-Service Restaurants",
  "hierarchy": 
    "sector":     "code": "72",     "title": "Accommodation and Food Services" ,
    "subsector":  "code": "722",    "title": "Food Services and Drinking Places" ,
    "group":      "code": "7225",   "title": "Restaurants and Other Eating Places" ,
    "national":   "code": "722511", "title": "Full-Service Restaurants" 
  
Available datasets

Every dataset, ready to query

Sourced from US government agencies. Public domain under 17 U.S.C. § 105. No licensing restrictions on commercial use.

NAICS & SIC Codes

Live

All 1,012 NAICS 2022 codes with full hierarchy and descriptions, 1,004 SIC codes, and a NAICS ↔ SIC crosswalk. Sourced from the US Census Bureau and BLS.

GET /naics/2022.json GET /naics/2022/{code}.json GET /sic.json GET /crosswalk/naics-sic.json GET /search?q=…&year=2022

UN/LOCODE

Coming soon

Port and place codes for 250+ countries, widely used in shipping, logistics, and customs systems. Maintained by the UN/ECE.

GET /locode.json GET /locode/{country}.json GET /locode/{country}/{code}.json
API reference

Endpoints

Static JSON files are served via Cloudflare Pages with no rate limit on the free tier. The /search endpoint runs on a Cloudflare Worker.

Method Path Description
GET /naics/2022.json All 1,012 NAICS 2022 codes — flat list
GET /naics/2022/tree.json Full hierarchy: sectors → subsectors → groups → industries
GET /naics/2022/{code}.json Single code with parent chain and description
GET /sic.json All 1,004 SIC codes
GET /crosswalk/naics-sic.json NAICS ↔ SIC mapping table
GET /search?q={term}&year=2022 Full-text search across code titles — requires API key on paid tiers
Integration

Works with anything

Plain JSON over HTTPS. No SDK required.

# Lookup a single NAICS code
curl https://datanode.org/naics/2022/722511.json

# Search by keyword
curl "https://datanode.org/search?q=restaurant&year=2022" \
  -H "X-RapidAPI-Key: YOUR_API_KEY"

# Fetch the full flat list
curl https://datanode.org/naics/2022.json -o naics-2022.json
// Lookup a single NAICS code
const res  = await fetch('https://datanode.org/naics/2022/722511.json');
const code = await res.json();
console.log(code.title); // "Full-Service Restaurants"

// Search (paid tiers)
const results = await fetch(
  'https://datanode.org/search?q=restaurant&year=2022',
   headers:  'X-RapidAPI-Key': 'YOUR_API_KEY'  
).then(r => r.json());
import requests

# Lookup a single NAICS code
code = requests.get('https://datanode.org/naics/2022/722511.json').json()
print(code['title'])  # Full-Service Restaurants

# Search (paid tiers)
results = requests.get(
    'https://datanode.org/search',
    params='q': 'restaurant', 'year': '2022',
    headers='X-RapidAPI-Key': 'YOUR_API_KEY',
).json()
Pricing

Start free, scale when you need to

All plans include static JSON endpoints at no cost. Paid tiers unlock the search API and higher request limits via RapidAPI.

Free

$0 / month

100 requests / day

  • All static JSON endpoints
  • Full flat list & hierarchy
  • NAICS ↔ SIC crosswalk
  • No API key required

Basic

$9 / month

1,000 requests / day

  • Everything in Free
  • Search endpoint
  • API key via RapidAPI
  • Email support

Business

$99 / month

Unlimited requests

  • Everything in Pro
  • Unlimited requests
  • Dedicated support
  • Bulk data included
Need the raw data instead? Download the full NAICS 2022 + SIC + crosswalk bundle as JSON, CSV, and XLSX. One-time payment, no subscription.