Tariffs All docs

Tariffs API Reference

3 routes. Base URL https://api.apifor.dev, authenticated with x-api-key. Failed calls are not charged. Overview, limits and sources are on the Import duty and landed cost API page.

GET/v1/tariffs/code/{code}5 credits

MFN/general rate, preferential rates per origin, units, notes, source and valid_from. GB reads the live UK tariff (cached 24 h). 5 credits.

ParameterInTypeRules
code *pathstringNone
market *querystringone of US, GB · Import market. EU is not available yet and returns 400 MARKET_UNAVAILABLE.
originquerystringISO 3166-1 alpha-2 · Country of origin (ISO 3166-1 alpha-2). Picks the preferential or column 2 rate when one applies.
GET/v1/tariffs/code/{code}
curl 'https://api.apifor.dev/v1/tariffs/code/6109.10.00.12?market=US&origin=KR' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "market": "US",
    "code": "6109100012",
    "display_code": "6109.10.00.12",
    "description": "Men's (338)",
    "path": "T-shirts, singlets, tank tops and similar garments, knitted or crocheted > Of cotton > Men's or boys' > Other T-shirts > Men's (338)",
    "declarable": true,
    "units": [
      "doz.",
      "kg"
    ],
    "origin": "KR",
    "applied": {
      "basis": "special program KR (US-Korea FTA)",
      "program": "KR",
      "rate": {
        "text": "Free",
        "kind": "free",
        "percent": 0
      }
    },
    "rates": {
      "general": {
        "text": "16.5%",
        "kind": "ad_valorem",
        "percent": 16.5
      },
      "column2": {
        "text": "90%",
        "kind": "ad_valorem",
        "percent": 90
      },
      "special_text": "Free (AU,BH,CL,CO,IL,JO,KR,MA,OM,P,PA,PE,S,SG)"
    },
    "preferential": [
      {
        "program": "AU",
        "name": "US-Australia FTA",
        "rate": {
          "text": "Free",
          "kind": "free",
          "percent": 0
        },
        "applies_to_origin": false
      },
      {
        "program": "BH",
        "name": "US-Bahrain FTA",
        "rate": {
          "text": "Free",
          "kind": "free",
          "percent": 0
        },
        "applies_to_origin": false
      }
    ],
    "rate_line": "61091000",
    "footnotes": [],
    "notes": [
      "The US-Korea FTA rate needs the goods to meet its rules of origin and a valid claim at entry.",
      "Chapter 99 additional duties (Section 232, Section 301, IEEPA and similar) are not included and can be large. Check them before you rely ..."
    ],
    "source": {
      "name": "USITC Harmonized Tariff Schedule",
      "revision": "2026 HTS Revision 23",
      "valid_from": "2026-11-10",
      "url": "https://hts.usitc.gov/search?query=61091000"
    },
    "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": "U.S. International Trade Commission, Harmonized Tariff Schedule of the United States",
      "license": "Public domain (U.S. Government work, 17 U.S.C. 105)",
      "license_url": "https://www.usa.gov/publicdomain/label/1.0/",
      "source_url": "https://hts.usitc.gov/",
      "attribution_page": "https://catalog.data.gov/dataset/harmonized-tariff-schedule-of-the-united-states-2025",
      "notice": "Normalized to JSON; statistical lines inherit the rate of their 8-digit line."
    }
  }
}
  • 200Rates for the code
  • 400Error envelope
  • 401Error envelope
  • 402Error envelope
  • 404Error envelope
  • 502Error envelope
POST/v1/tariffs/landed-cost15 credits

Duty, import VAT and total landed cost with every assumption listed. An estimate, never a binding ruling. 15 credits.

Request body · application/json
{
  "market": "GB",
  "code": "6109100010",
  "origin": "CN",
  "customs_value": 1000,
  "currency": "GBP",
  "shipping": 120,
  "insurance": 15
}
POST/v1/tariffs/landed-cost
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}'
Example response · 200
{
  "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."
    }
  }
}
  • 200Landed cost estimate
  • 400Error envelope
  • 401Error envelope
  • 402Error envelope
  • 404Error envelope
  • 502Error envelope

Error handling · Rate limits · Prices