Tariff Code & Duty Lookup API: US HTS and UK Tariff
tariff_lookupSend a US HTS code and get the official description hierarchy, the general (MFN) duty rate, preferential rates, linked Chapter 99 references and units, with a source link. No code yet? Send a plain product description and get up to 5 candidate codes from the official USITC search. Built for AI agents, customs brokers and e-commerce teams who need a sourced duty rate, not a guess. UK Trade Tariff too: send a UK 10-digit commodity code (or a description) with "market": "UK" for the UK duty, preferential rates, VAT and trade remedies, read live from HMRC.
Price: $0.005 per code-lookup or code-search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | A US HTS code (8 or 10 digits, e.g. "8712.00.15" or "8712001510") or a UK commodity code (10 digits, e.g. "8712003010") | |
| query | No | Plain product description, 2-200 characters, e.g. "bicycle" or "cotton t-shirt" | |
| market | No | Which tariff to read: "US" (Harmonized Tariff Schedule, USITC) or "UK" (UK Global Tariff, HMRC; "GB" is the same) | US |
| originCountry | No | ISO 3166 alpha-2 code of the country the goods come from, e.g. "CN" or "DE" |