Import duty and landed cost API
Find a US or UK commodity code, read its duty rate, and estimate the landed cost of a shipment with duty and import VAT.
POST /v1/tariffs/landed-cost15 creditsAbout $0.015Try it
curl -X POST 'https://api.apifor.dev/v1/tariffs/landed-cost' \
-H 'content-type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{"market":"GB","code":"6109100010","origin":"CN","customs_value":1000,"currency":"GBP","shipping":120,"insurance":15}'{
"success": true,
"data": {
"market": "GB",
"code": "6109100010",
"display_code": "6109100010",
"description": "Articles of apparel and clothing accessories, knitted or crocheted > T-shirts, singlets and other vests, knitted or crocheted > Of cotton...",
"origin": "CN",
"currency": "GBP",
"goods_value": 1000,
"shipping": 120,
"insurance": 15,
"customs_value_basis": "CIF (goods + shipping + insurance to the UK border)",
"dutiable_value": 1135,
"duty": {
"basis": "third country duty (UK Global Tariff)",
"program": null,
"rate": {
"text": "12.00 %",
"kind": "ad_valorem",
"percent": 12
},
"amount": 136.2,
"computed": true
},
"additional_duties": [],
"import_tax": {
"name": "UK import VAT",
"rate_percent": 20,
"base": 1271.2,
"amount": 254.24,
"source": "UK Trade Tariff measure 305 for 6109100010"
},
"landed_cost_total": 1525.44,
"total_is_complete": true,
"assumptions": [
"customs_value is the price of the goods. Shipping and insurance to the UK border are added to make the CIF customs value, which is the du...",
"Rate used: third country duty (UK Global Tariff)."
],
"source": {
"name": "UK Online Trade Tariff",
"revision": null,
"valid_from": "2021-01-01",
"url": "https://www.trade-tariff.service.gov.uk/commodities/6109100010"
},
"disclaimer": "Estimate for planning only. Not a binding tariff, origin or valuation ruling. The importer or declarant is responsible for the commodity ..."
},
"meta": {
"attribution": {
"source": "HM Revenue & Customs and Department for Business and Trade, UK Online Trade Tariff",
"license": "Open Government Licence v3.0",
"license_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
"source_url": "https://www.trade-tariff.service.gov.uk/",
"attribution_page": "https://www.trade-tariff.service.gov.uk/terms",
"notice": "Contains public sector information licensed under the Open Government Licence v3.0. Normalized to JSON."
}
}
}A real response from our OpenAPI file, with long lists and strings shortened.
Endpoints and price
| Endpoint | Credits | About |
|---|---|---|
GET /v1/tariffs/search | 2 credits | $0.002 |
GET /v1/tariffs/code/{code} | 5 credits | $0.005 |
POST /v1/tariffs/landed-cost | 15 credits | $0.015 |
USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.
Limits
- US and UK only. EU returns a 400 for now.
- US Chapter 99 duties (Section 232, 301, IEEPA) are not included.
- Specific or compound rates are shown but left out of the total.
- An estimate for planning, not a binding ruling.
Questions
Does it cover the EU?
Not yet. There is no public TARIC query API we can use.
Are Section 301 tariffs included?
No. Chapter 99 duties are left out and every US response says so.
Can I rely on it at customs?
No. Use it to plan. A binding tariff ruling comes from the customs authority.