TariffLine API
Prototype · not published · verify before pricing decisions

HTS codes and duty rates,
one JSON call.

29,861 coded lines of the 2026 US Harmonized Tariff Schedule — general, special and Column 2 rates, units, footnotes, and Chapter 99 duty actions — with a citation and a last_seen date on every record. Statistical lines inherit their parent's rate, and rate_source says from where. /v1/changes tells you what moved since the previous build.

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.tariffline.j0401.com/v1/search?q=8544.42.10.00"

{
  "total": 1,
  "data": [
    { "id": "HTS-8544.42.10.00",
      "general_rate": "Free",
      "other_rate": "35%",
      "last_seen": "2026-11-22", … }
  ]
}

What it does

One dataset, two surfaces: API and an MCP server for agents.

Search by code or words

Query a 10-digit line, a 4-digit heading, or free text. Prefix search returns the hierarchy so you can walk from chapter to statistical line.

Duty actions in the same feed

Chapter 99 lines are records too, kept with their original wording. 71 records are flagged section_301 by keyword match; that flag is a pointer, not a legal determination, and other Chapter 99 measures are included but not auto-classified.

Built for agents

The same data ships with an MCP wrapper, so Claude, Cursor and other agents can look up a code without a custom integration.

Endpoints

All responses are JSON. Authenticate with the X-API-Key header.

GET
/v1/search?q=&limit=&offset=

Substring search across code, digits, heading, subheading, description and additional duties. Returns total, page and data.

GET
/v1/records/{id}

One HTS line by ID, e.g. HTS-8544.42.10.00, with a self link.

GET
/v1/changes

Field-level diff against the previous build: added, removed and modified lines. baseline is true only when a previous build exists to compare against.

GET
/v1/usage

Current tier, daily quota and remaining calls.

GET
/v1/health

Liveness check plus record count and dataset date. No key required.

POST
/v1/waitlist

Join the waitlist: {"email":"you@example.com"}.

Pricing

Start free. Upgrade only when a workflow depends on the data.

TierPriceDaily requestsNotes
Free$0100No card. Single-code lookups and evaluation.
Starter$19/mo5,000One catalog or landed-cost workflow. Email support.
Pro$49/mo25,000Batch lookups, multiple environments, priority support.
EnterpriseCustomCustomBy agreement, not self-serve: bulk delivery and SLA negotiated per contract.

Data

Source, license and limits — the parts most tariff APIs do not spell out.

Source

USITC Harmonized Tariff Schedule of the United States, exported from hts.usitc.gov. Public domain (17 U.S.C. 105).

Freshness

Every record carries last_seen and source_url. The health endpoint reports the dataset date; /v1/changes lists what changed since the last build.

Not a ruling

Data is provided as-is for lookup. It is not a binding customs determination or legal advice; confirm with the official HTS and CBP rulings before filing.

Coverage, exactly: 11,836 statistical lines inherit their parent rate and record the source in rate_source. 4,223 records (mostly headings, subheadings and Chapter 99 measures) have an empty general_rate, and 3,625 of those carry no rate in any column. 71 Chapter 99 records are flagged section_301 by keyword match; that flag is a pointer, not a legal determination.

No duty stacking: the API returns the schedule's own columns. It does not add general, additional and Section 301 duties together, because that needs the relevant U.S. notes, exclusions and country of origin.

Request an API key

Leave an email and we will send a key when the API is live. No spam.