U.S. Import Tariffs by HTS Code and Country

Instantly look up import duties, trade agreement rates, and extra tariffs for any product and origin, or integrate via API.

One Question, One API Call

Give the API an HTS code and a country of origin. You get back the full tariff picture: base duty (general or special under a trade agreement), any applicable additional duties, and Chapter 99 references when relevant.

Inputs

  • HTS code (e.g. 8541.10.00)
  • Country of origin (e.g. CN, MX)

Outputs

  • Base duty (general or special)
  • Trade agreement treatment
  • Additional duties (e.g. Section 301)
  • Chapter 99 references and resolution

Example: HTS 8541.10.00 from China

For a product classified under 8541.10.00 (e.g. certain electronic products) from China, the API returns the base general or special rate plus any additional duties that apply to that origin. When Section 301 applies, you get a transparent breakdown: base duty and additional ad valorem (or reference to the Chapter 99 line). No invented rates—when a measure points to Chapter 99, you can request resolution so the API looks up the numeric rate in our database.

Try it in the Tariff Calculator or call the resolve endpoint in the API.

HTS Codes & Trade Agreements

U.S. import tariffs depend on the HTS code (Harmonized Tariff Schedule) and the country of origin. Tariffs API resolves this so you get one clear answer per product and origin.

  • HTS codes — We use official HTS structure and inheritance so subheadings resolve to the correct duty. Browse the HTS index to look up codes and see rates by country.
  • Country-specific tariffs — General (Column 1) vs special (trade agreement) rates depend on origin. The API returns the applicable rate for the country you pass.
  • Trade agreements — USMCA, Korea (KORUS), Australia, and other FTA/preference programs are reflected in special rates. We apply the right treatment so you don’t have to look it up manually.
  • Section 301, Section 232, IEEPA — Additional duties and restrictions are returned as separate measures with clear labels. See Section 301, Section 232, and IEEPA for background.
  • Chapter 99 — Many additional duties reference Chapter 99 (e.g. “See 9903.91.05”). We can resolve those to numeric rates when the line exists in our database. Details: Chapter 99.

Why Tariffs API

Static HTS tables and spreadsheets tell you the rate for a single line—they don’t resolve which rate applies for a given country or how base duty, trade agreements, and additional measures combine. Tariffs API does that resolution for you and exposes it via API and tariff calculator.

Resolution logic

HTS inheritance, country-specific special rates, and additional measures are applied in one call—no manual cross-referencing.

Transparency

Responses break down base duty, trade agreement, and additional duties separately so you know why a tariff applies.

Programmatic access

Integrate tariff resolution into calculators, ERPs, and trade compliance tools via a single resolve endpoint.

Built for developers building tariff calculators, procurement and sourcing teams, and trade compliance tools. Browse HTS codes, run a calculation, or read the API docs.

US tariff data is complex and constantly changing 📊

US Tariff data illustration

Explore U.S. Tariff Data

Browse the HTS index to search by HTS code, view detailed rates by country, and see trade agreements and additional duties at a glance.

Tariffs Dashboard Preview

Ready to explore tariff data?

Search thousands of products and view detailed tariff information

Smart Search

Find products quickly with our intelligent search and filtering system

Detailed Rates

View comprehensive tariff information including per-unit and percentage rates

Real-time Data

Access up-to-date tariff information with official HTS source links

Latest Updates

Global Tariff News

Stay informed with the latest changes in global trade and tariff policies

Subscribe to get the latest news
US
about 6 hours ago

Mike Johnson's Power Is Shrinking By the Day - Bloomberg.com

Tariffs aren't popular. Some 60% of Americans disapprove of Trump's tariff increases, including 28% of Republicans according to a Pew Research Center ...

Bloomberg.com
US
about 7 hours ago

Kevin Kiley faces election crossroads as he rebukes Trump's tariffs - Washington Examiner

Rep. Kevin Kiley (R-CA) has defended his decision to vote with a small group of GOP rebels against President Donald Trump's Canada tariffs.

Washington Examiner
US
about 8 hours ago

Supreme Court decision on Trump tariffs could come today - MSN

... tariffs today after setting Friday as a decision day. SCOTUS has expedited the tariff case due to its outsized impact on businesses and the ...

US
about 8 hours ago

Tariffs waived for 53 African countries - China - YouTube

The Chinese government has announced it will waive import tariffs on 53 African countries with which it entertains diplomatic relations.

YouTube
US
about 10 hours ago

Americans, not other countries, paid Trump's tariffs in 2025 - USA Today

President Donald Trump has repeatedly said foreigners would pay for his import tariffs. A new report says Americans picked up most of the tab.

USA Today
US
about 10 hours ago

The Consumer Shock From Tariffs Isn't Over. When Will Prices Peak? - WSJ's Take On the Week

In this week's episode of WSJ's Take On the Week, co-hosts Miriam Gottfried and Telis Demos are joined by Frances Donald, chief economist at Royal ...

WSJ's Take On the Week

Flexible API Pricing Plans

Choose the plan that best fits your needs and scale your access to the latest tariff and trade data.

Free Tier

Perfect for exploring the latest tariff data through our dashboard.

  • Access to UI dashboard with latest tariff changes
Free
Most Popular

Basic Tier

Ideal for small businesses with 1,000 API calls per month.

  • 1,000 API calls/month
  • Standard rate limiting
  • Real-time tariff updates
  • Historical data access
  • Access to tariff news API
  • Access to UI dashboard with latest tariff changes
$49 USD/month

Professional Tier

Perfect for medium businesses with 5,000 API calls per month.

  • 5,000 API calls/month
  • Priority rate limits
  • Historical data access
  • Access to tariff news API
  • Bulk API endpoints
  • Access to UI dashboard with latest tariff changes
$199 USD/month
Coming Soon
View Dashboard

Tariff resolution

Frequently Asked Questions

Plain-English answers about HTS codes, trade agreements, and programmatic tariff lookup.

What is an HTS code?

An HTS (Harmonized Tariff Schedule) code is a number that classifies goods for U.S. customs. It determines which duty rate applies. Codes are hierarchical (e.g. 8541 is a heading; 8541.10.00 is a subheading). Tariffs API uses the full code and country of origin to return the applicable rate. You can browse codes in our HTS index.

How do trade agreements affect tariffs?

Countries with a U.S. trade agreement or preference program often get a lower “special” rate instead of the general rate. The API takes the country of origin you pass and returns the correct rate—e.g. USMCA for Canada/Mexico, KORUS for Korea, and other FTAs. You get one resolved rate per HTS and country.

What is Section 301?

Section 301 refers to additional U.S. tariffs imposed on certain products from specific countries (notably China) following trade investigations. These appear as extra duties on top of the base HTS rate. Tariffs API returns them as separate measures with clear labels. See our Section 301 explainer for more.

Can I calculate tariffs programmatically?

Yes. The resolve endpoint accepts an HTS code and country of origin and returns base duty, trade agreement treatment, and any additional duties (e.g. Section 301, 232). You can build calculators, spreadsheets, or compliance tools on top. For a no-code check, use the Tariff Calculator.

What about Section 232 and IEEPA?

Section 232 covers tariffs based on national security (e.g. steel and aluminum). IEEPA relates to sanctions and other restrictions. Tariffs API includes these when they apply to a given HTS and origin. Details: Section 232, IEEPA.

Access Tariffs Data via API

Integrate HTS codes, tariff rates, and trade data into your applications

Built for importers, exporters, and trade professionals who need programmatic access:

  • Real-time tariff rate lookups
  • HTS product and classification data
  • RESTful JSON API with clear documentation
Get Access to the API

Unlock Global Trade Insights with TariffsAPI