Hoppa till innehållet
← All data tools

HS and HTS code lookup with US and UK duty rates

Looks up tariff codes in the official US and UK tariffs and returns one row per tariff line with the description, duty rates, unit of quantity and footnotes. Give it codes you already have, or search by a product word.

Open in Apify Store

The first six digits of a tariff code are the international Harmonized System (HS); each country adds its own digits and duty rates. For us the tool reads the Harmonized Tariff Schedule of the United States from the U.S. International Trade Commission: general, special and column 2 rates, units and footnotes. For uk it reads the UK Trade Tariff from GOV.UK: third country duty, VAT, preferential rates per country or trade agreement, supplementary unit and additional duties.

Codes can have 4 to 10 digits, with or without dots, and a short code returns every line under it. Rates are given as text exactly as the source writes them (Free, 6.00%, 1.5¢/kg), since many duties are specific or compound. A run with empty input returns heading 8471 (computers) in the US tariff. This is a lookup of the published tariff, not customs advice: the tool does not tell you which code is right for your goods.

Sample from a real run

5 of 38 rows (selected fields) from run 0O324nmlWyw7qFYaq on 6 October 2026, exactly as the tool returned them.

codedescriptionunitgeneralRatespecialRatecolumn2Rate
8471Automatic data processing machines and units thereof; magnetic or optical readers, machines for transcribing data onto data media in coded form and machines for processing such data, not elsewhere specified or included:nullnullnullnull
8471.30.01.00Portable automatic data processing machines, weighing not more than 10 kg, consisting of at least a central processing unit, a keyboard and a displayNo.Freenull35%
8471.41.01Comprising in the same housing at least a central processing unit and an input and output unit, whether or not combinednullFreenull35%
8471.41.01.10With cathode-ray tube (CRT)No.Freenull35%
8471.41.01.50OtherNo.Freenull35%

Fields

Every row has these fields. Field names are stable between versions.

FieldWhat it holds
codeThe tariff code as the source writes it: 8471.30.01.00 in the US, 8471300000 in the UK
countryus or uk
descriptionDescription of the line itself, often just "Other"
fullDescriptionEvery description from the heading down to the line, joined with >, so a line called Other gets its meaning
headingDescriptionDescription of the 4 digit heading
chapterDescriptionTitle of the chapter. null for the US, since the USITC API has no chapter titles
unitUnit of quantity (US) or supplementary unit (UK), for example kg, No., items (p/st)
generalRateThe normal rate: column 1 general in the US, third country duty in the UK
specialRateUS special rate with the codes of the trade programs that give it, for example Free (A+,AU,BH,CL,CO,...)
column2RateUS column 2 rate, for countries without normal trade relations (today Cuba, North Korea, Russia and Belarus)
thirdCountryDutyUK Global Tariff rate for countries without a preference
vatRateUK import VAT. Several rates when VAT depends on the goods
supplementaryUnitUK supplementary unit for the customs declaration
preferentialRatesUK preferential rates: area (country or group code), areaName, rate
additionalDutiesAdditional, anti-dumping or retaliatory duties the source lists on the line, with the country
footnotesFootnotes as plain text
parentCodeThe line above. UK grouping lines that share a code are written with their product line suffix, 0901210000-10, as GOV.UK does
sourceUrlLink to the line on the official site
sourceThe official source of the line. The US source names the HTS revision, for example USITC Harmonized Tariff Schedule, 2026 Revision 20
licenseThe license of the data: US Government work (17 U.S.C. 105) or the Open Government Licence v3.0 attribution for UK rows
retrievedAtWhen the line was read

Input example

Paste it into the JSON tab of the actor in Apify Console, or send it to the Apify API.

{
  "codes": [],
  "search": "",
  "country": "us",
  "onlyNew": false,
  "maxResults": 50
}

What people use it for

  • Landed cost. Fill in the duty rate and VAT for each product in a catalogue or quote, so the price at the border is known before the goods are ordered.
  • Classification check. Compare the codes on supplier invoices and customs declarations with the official description of the line, and find codes that do not exist or describe something else.
  • Tariff change monitoring. A daily run with onlyNew set to true on the codes you import under returns a line only when its duty, VAT or preferential rate changes.

Price

5 USD per 1 000 tariff lines, plus Apify platform usage.

A run with the default input returns the 38 lines of heading 8471 and costs 0.19 USD in results; that is what the run on 6 October 2026 shown above returned, in about 3 seconds. maxResults caps every run (default 50), and a search without matches costs nothing per line.

Run it on a schedule

Set onlyNew to true and add the actor to a schedule in Apify Console (for example the cron expression 0 7 * * * for 07:00 every day). The actor remembers what it has already delivered for the same input, in a named key-value store in your own Apify account (nightwave-state-tariff-hs-code-lookup), and each run returns and charges only what is new. The first run returns everything in the selection. A run with nothing new finishes with 0 rows and costs nothing beyond platform usage.

Source and license

US data comes from the USITC HTS REST API and UK data from the UK Trade Tariff API. Neither needs a key. The tool sends at most 4 requests per second to each source. Chapter 99 measures such as Section 301 duties are not added to a line's rate; look them up with codes such as 9903. EU TARIC is not included. The tool is not affiliated with or endorsed by the USITC, HMRC or the UK Government.

The HTS is a work of the U.S. Government and not subject to copyright (17 U.S.C. 105). The UK Trade Tariff is published under the Open Government Licence v3.0, which allows commercial reuse with the attribution carried in every UK row: "Contains public sector information licensed under the Open Government Licence v3.0."

Try it

The tool runs on Apify. Apify handles your account, the runs and the payment, and you can try it with the input above before you schedule anything.

Open in Apify Store

Built and maintained by Nightwave AB. Questions or bugs: kontakt@nightwave.se