Data Sources

GEThttps://api-tariff-codes.dataandapis.com/v1/sources

Data Sources is an endpoint of the Tariff Codes API. All 35,804 lines of the US Harmonized Tariff Schedule with duty rates, searchable.

Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.

Request

This endpoint takes no parameters.

Example request

curl
curl "https://api-tariff-codes.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Node.js
const res = await fetch("https://api-tariff-codes.dataandapis.com/v1/sources", {
  headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();
Python
import os, requests

r = requests.get(
    "https://api-tariff-codes.dataandapis.com/v1/sources",
    headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()

Example response

Example response
{
  "ok": true,
  "sources": [
    {
      "slug": "usitc-hts",
      "name": "Harmonized Tariff Schedule of the United States",
      "publisher": "US International Trade Commission",
      "licence": "US government work (public domain)",
      "source_url": "https://hts.usitc.gov/",
      "file_url": "https://hts.usitc.gov/reststop/exportList?from=0101&to=9999&format=JSON&styles=false",
      "cadence": "revised ~10-15x/year; nightly re-sync",
      "record_count": 35804,
      "retrieved_at": "2026-09-06"
    }
  ]
}