- Customs duty APIs compared by the job they do
- Landed cost at checkout: the number the shopper sees
- HS codes come before any duty figure
- Filing the customs entry from code
- Stand-alone duty API or one bundled with shipping or tax
- How customs duty APIs bill
- Platforms with duty data built in
- Duty calculators and trade data you call directly
- Customs entries filed by API
- The kind of API I'd wire in for each job
A customs duty API returns the import duties and taxes on a cross-border order, and the one you want depends on the job: landed cost at checkout, HS code classification, or filing the customs entry itself. A single store usually needs a duty calculator API billed by a monthly allowance of calls; a brand that also needs shipping or tax compliance does better with a platform that bundles duty data in.
Customs duty APIs fall into four kinds, three jobs plus the bundles, and they're easy to mix up because the same words (duty, HS code, landed cost) appear on all of their homepages. The table below sorts them by what they hand back to your code, so you can rule out most of them before you read a single tool name.
Customs duty APIs compared by the job they do
| Kind of API | What your code gets back | Fits | Check before you build |
|---|---|---|---|
| Landed cost calculator | Duties and taxes for a basket, ready to show at checkout | A store that wants shoppers to see the full cost before paying | Whether API access sits on the entry plan or a higher one |
| HS code classification | A tariff code for each product, sometimes with a confidence score | A catalogue that has to be coded before any duty can be worked out | How it handles a product it can't classify with confidence |
| Customs entry filing | A prepared entry, classified line by line, filed with customs | An importer or broker filing entries rather than quoting them | Whose filer code the entry goes out under |
| Shipping or tax platform with duties | Duty data as one part of labels, rates or tax returns | A team already buying shipping or tax compliance | Whether duty data can be used without the rest of the bundle |
The first and third rows are the pair I'd separate first. A landed cost API tells a shopper what they'll owe; a filing API does the paperwork once the goods are moving. They're different jobs with different buyers.
Landed cost at checkout: the number the shopper sees
The call takes the basket, the destination and each product's code, and returns duties and taxes you can show before the shopper pays.
What I'd look at first is how the API wants the product described. If it needs an HS code on every line, you've got a classification job to do before the calculator is any use. If it can classify from a product title and description, you're buying two things in one call, and it's worth checking how it reports a guess it isn't sure of.
I'd also check where the call sits in your stack. A plugin for your store platform keeps the build small, while a raw API needs a developer to wire it into the cart and to test what checkout does if the call is slow.
HS codes come before any duty figure
Every duty rate hangs off a tariff code, so classification is the quiet step that decides whether the checkout figure is right. A wrong code gives you a confident, wrong number, and the shopper or the carrier finds out later.
Classification APIs differ in what they return alongside the code. Zonos's documentation describes AI classification with a confidence score and an audit trail next to its landed cost and checkout APIs. That pairing matters: a confidence score tells you which products to send to a person, and an audit trail tells you why a code was chosen if anyone asks.
If your catalogue is large or changes often, test classification on your awkward products, not your easy ones. Bundles, sets, materials that change by colour and anything sold as a gift are where you'll see whether the API is any help.
Filing the customs entry from code
The third job is a different animal. A filing API isn't there to quote a shopper; it prepares the entry an importer submits to customs. Tarifflo says it prepares full entries from documents, classifies each line and files through ABI under the customer's own filer code.
That last detail is the one to read twice. Filing under your own code means the entry is yours, so this kind of API suits a business that already files, or a broker, far more than a store that only wants a duty estimate at checkout. Don't buy a filing API to fix a checkout problem, and don't expect a checkout calculator to file anything.
Stand-alone duty API or one bundled with shipping or tax
Some duty data comes as part of something bigger. Easyship's developer docs include guides on HS codes, calculating taxes and duties and showing rates at checkout, so duties arrive alongside a shipping API. On the tax side, Avalara's cross-border offer covers classification, VAT, GST and customs management.
A bundle makes sense when you're already choosing a carrier tool or a tax platform, because one integration does several jobs. If your shipping is settled, my guide to shipping APIs covers that side, and the sales tax software list deals with domestic tax returns, which a duty API won't do for you.
A stand-alone duty API is the better fit when your shipping and tax are already sorted and you only need the duty figure or the code. It keeps the change small: one call in the cart, nothing else to migrate.
How customs duty APIs bill
The calculator APIs here price by allowance: you buy a set number of calculations or API calls a month and move up a plan when you outgrow it. SimplyDuty counts one API call as one calculation, which makes its allowance easy to match to your order volume.
Read the plan list closely, because the cheapest plan isn't always the one with the API. Dutify lists API access from its Plus plan upward, not on its entry plan. LandedCost.io charges per extra calculation once the monthly allowance runs out, so a busy sales week shows up on the bill. Filing is priced differently again, in credits rather than calculations.
As of November 2026, some of these vendors also let you start before paying: a free plan with a handful of calculations, a free daily allowance after registering, a short free trial or free starting credits. For the platforms with duty data built in, check whether classification is part of the plan or charged on its own.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Platforms with duty data built in
Zonos
Cross-border commerce platform whose APIs cover landed cost, AI HS code classification and checkout, built for ecommerce brands, postal operators and logistics providers.
Avalara
A tax compliance company; its cross-border offer spans classification, VAT, GST and customs management, and it publishes an API catalogue.
FlavorCloud
Landed cost engine, product classification and a customs network on one cross-border commerce platform, documented in a developer API reference.
Easyship
Multi-carrier shipping comes first here, with API docs that also cover HS codes, taxes and duties, and showing rates at checkout.
Duty calculators and trade data you call directly
Dutify
Import duty and tax calculator with HS lookup, offering a landed cost ecommerce API alongside Shopify, WooCommerce and BigCommerce plugins.
SimplyDuty
On the API side it handles three things: HS code classification, duty and tax calculation, and duty rate lookups.
LandedCost.io
Two APIs, one for landed cost calculation and one for HS code search, aimed at checkout and quoting, with Shopify and WooCommerce integrations.
Hurricane Commerce
Global trade data company selling classification, duty and country-of-origin data through its Global Assure self-service portal or its Kona API.
Customs entries filed by API
Tarifflo
Customs entry filing as an API: it prepares full entries from documents, classifies lines and files through ABI under the customer's own filer code.
The kind of API I'd wire in for each job
When shoppers only need to see duties at checkout, I'd go straight to a duty calculator with a plugin for your platform, and I'd confirm the API sits on the plan you're buying before anyone writes code.
When the catalogue is the problem, I'd put classification first and pick an API that gives a confidence score for each code. A brand shipping to lots of countries, already shopping for ecommerce shipping software, is better off with duties bundled into that platform than with one more integration.
And if you're filing entries rather than quoting them, a filing API is the only kind on this page that does the job. It's a clear split once you see it: quote, classify or file. Choose the one you need today, and you won't pay for the other two.
Do you make customs duty, landed cost or HS classification APIs? Tool makers can ask to be considered for a featured place on this list.
Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.


