# HTS Code Lookup - US Tariff Schedule & Duty Rates

One of the tools on damistudio.io. Index of all of them: https://damistudio.io/llms.txt

URL: https://damistudio.io/tools/hts-customs-duty-scraper/
Run: https://apify.com/dami_studio/hts-customs-duty-scraper?fpr=wcqem0
Category: Government & Public Records
Pricing: $0.002 per tariff line ($2 per 1,000) on Apify's Free plan, read on 5 November 2026.
Apify name: dami_studio/hts-customs-duty-scraper
Latest version: 0.1.25, updated 26 October 2026
From an AI chat: add Apify's connector (https://mcp.apify.com/), sign in with your Apify account, then ask:
  Use the HTS Code Lookup (dami_studio/hts-customs-duty-scraper) to list the US tariff lines and duty rates in HTS chapter "61", and return one row per tariff line: HTS code, description path, unit of quantity, general, special and column 2 rates as printed and as they apply, edition.
Preset address for apps that take one: https://mcp.apify.com?tools=dami_studio/hts-customs-duty-scraper (runs go on your own Apify account)

HTS code lookup and US tariff schedule scraper: one row per line of the Harmonized Tariff Schedule with HTS code, description, unit of quantity, general, special and column 2 duty rates, and the rate a line inherits when it prints none. Each row names its edition.

Inputs:
- `chapters` (array): Chapters of the tariff schedule to read, as numbers: 61 is knitted apparel, 84 is machinery, 87 is vehicles, 99 holds the temporary modifications. Ranges work too - write 61-63. Chapter 77 is reserved in the Harmonized System and has no lines.
- `hsCodes` (array): Specific codes, at any depth. 8471 gives you the whole heading, 8471.30 the subheading, 6101.20.00.10 that one statistical line. Dots are optional. The run reads the chapter each code sits in and keeps the lines that start with it.
- `searchTerms` (array): Words to look up in the schedule's own index, like "laptop" or "olive oil". The matching codes come back as full rows with their duty rates and the description path above them. The index is broad - searching "cotton shirt" also returns cotton seed - so check the descriptions.
- `allChapters` (boolean): Reads every chapter from 01 to 99 in order. That is about 29,900 numbered lines, so raise the row limit to match or you will get the first slice of it. This costs you one charge per row.
- `includeLines` (string): The schedule is a tree. "all" returns every numbered line, including the 4-digit headings and 6-digit subheadings that hold the structure but print no rate. "withDutyRate" drops those and keeps the 8- and 10-digit lines. "statisticalOnly" keeps just the 10-digit lines, the ones that go on an entry.
- `maxItems` (integer): How many tariff lines to return. Keep it low while you are testing - you pay per row. The whole schedule is about 29,900 numbered lines, and the hard ceiling is 40,000.
- `requireEdition` (string): Optional. Put an edition name here, like 2026HTSRev19, and the run will refuse to return anything if the live schedule is a different edition. Useful on a schedule, where a revision landing overnight would otherwise change your rates without anyone noticing. Leave it empty to take whatever is current.

Documentation:

Name the chapters, the HTS codes or a few search words, and get one row per line of the US Harmonized Tariff Schedule: the code, its description with the full path of headings above it, the unit of quantity, and the general, special and column 2 duty rates as printed. When a line takes its rate from the line above, the row says so and fills the rate in. Every row names the edition it came from.

## Who looks up HTS codes in bulk

- **Importers pricing a new product line.** Pull the chapter once and the duty sits beside the description you'll discuss with your broker.
- **Trade compliance teams keeping the schedule in a spreadsheet.** Pull it after each revision and compare the two pulls on `htsno` to see what moved.
- **People building a landed-cost or checkout tool** who need the rates as data, with the edition stamped on each row.

## A worked example

On 4 November we asked for chapter 61, knitted clothing, capped at five rows. The run took under three seconds and read edition 2026 Revision 22.

The first row was heading 6101, men's or boys' overcoats and anoraks, knitted. It carries no rate of its own, and `rateNote` says the schedule prints rates further down. Next came 6101.20.00, of cotton: 15.9% general, free under the trade agreements listed in the special column, 50% under column 2.

Below it, the statistical line 6101.20.00.10 for men's prints no rate. Its row fills in 15.9% from the line above, sets `ratesAreInherited`, and gives the units it's counted in: dozens and kilograms.

## What a row looks like

| Field | What it tells you |
|---|---|
| `htsno`, `lineLevel` | The code, and whether it's a heading, subheading, tariff line or statistical line |
| `description`, `descriptionPath` | The line's own words, and the chain of headings above it, so a deep line reads on its own |
| `generalRate`, `specialRate`, `column2Rate` | The rates exactly as that line prints them, often empty below the rate line |
| `generalRateEffective` and the other two | The rate that applies, inherited when the line prints none; `rateSource` names the line it came from |
| `dutyRateResolved`, `rateNote` | `false` and a note when the columns give no rate, as on headings |
| `unitOfQuantity` | What the line is counted in |
| `htsEdition` | The revision the row was read from |

## When it's the wrong tool

- **You don't know which code your product falls under.** Classifying goods is a judgement for you or your customs broker. This returns the lines; it doesn't pick one.
- **You want the full cost of landing a shipment.** No freight, no fees, no rules of origin and no adding up of duties.
- **You need last year's rates.** It reads the edition in force when it runs, so keep your own pulls if history matters.
- It is not an official USITC tool. Dami's Studio is independent and is not affiliated with or endorsed by the USITC, or by any other company named on this page.

## Questions people ask

### How do I look up an HTS code?

Put the code in `hsCodes`, describe the goods in `searchTerms`, or name the chapter in `chapters`. Each matching line comes back with its rates and the edition.

### What's the difference between general, special and column 2 rates?

General is the normal rate. Special is the lower or zero rate for goods that qualify under a trade agreement or programme, listed by code. Column 2 applies to the few countries without normal trade relations.

### Is this an import duty calculator?

No. It gives you the rate on each line, ready to use in your own calculation, but it doesn't add up a shipment's duty or cost.

### Can I download the whole tariff schedule?

Yes. Switch on `allChapters` and raise `maxItems`, which goes up to 40,000 rows.

### What does HTS Code Lookup do?

HTS code lookup and US tariff schedule scraper: one row per line of the Harmonized Tariff Schedule with HTS code, description, unit of quantity, general, special and column 2 duty rates, and the rate a line inherits when it prints none. Each row names its edition.

### What do I give HTS Code Lookup?

Chapters or chapter ranges, HTS codes at any depth, search terms, or the whole schedule.

### What do I get back from HTS Code Lookup?

One row per tariff line: HTS code, description path, unit of quantity, general, special and column 2 rates as printed and as they apply, edition.

### How much does HTS Code Lookup cost?

$0.002 per tariff line ($2 per 1,000) on Apify's Free plan. Paid plans pay a little less. It is billed on your own Apify account.

### Can I run HTS Code Lookup from my AI chat?

Yes, from any app that supports MCP connectors. Add Apify's connector (https://mcp.apify.com/), sign in with your Apify account, and ask for dami_studio/hts-customs-duty-scraper. The steps are on the Use with AI page. Each run goes on your own Apify account, at the prices on its Apify page.

### Do I need to write code to use HTS Code Lookup?

No. Open it on Apify, fill in the form, click Run and download the results.
