Endpoints

EndpointReturns
GET /api/hs/{code}One HS6 subheading: description, chapter, US HTS lines with General/Special/Column-2 duty rates and 10-digit statistical lines, UK declarable commodity codes. Codes longer than 6 digits resolve to their HS6 parent.
GET /api/search?q={query}Up to 25 matching subheadings. Accepts plain product names ("phone charger", "sneakers") and code prefixes.

Example

curl https://tariffcodecheck.com/api/hs/851713
{
  "success": true,
  "hs6": "851713",
  "code": "8517.13",
  "description": "Smartphones",
  "chapter": {"number": "85", "title": "Electrical machinery; electronics..."},
  "us_hts": [
    {
      "hts": "85171300",
      "description": "Smartphones",
      "duty_general": "Free",
      "duty_special": "",
      "duty_col2": "35%",
      "statistical": [{"code": "8517130000", "description": "Smartphones"}]
    }
  ],
  "uk_commodities": [{"commodity_code": "8517130000", "description": "Smartphones"}],
  "disclaimer": "Reference data from official schedules; not a binding classification ruling.",
  "attribution": "Data: USITC Harmonized Tariff Schedule (public domain) + UK Integrated Online Tariff (OGL v3.0)..."
}

Fair use

  • 500 requests per day per IP, 30 per minute. Responses are cacheable for an hour; cache on your side for heavy use.
  • Keep the attribution field when you republish results.
  • The data is reference information from the official schedules, refreshed weekly; it is not a binding ruling and duty surcharges (e.g. US Section 301) may apply on top of the listed rates.

Need higher limits?

Managed plans with one key, higher quotas and consolidated invoicing are coming to the RapidAPI marketplace. Until then, talk to us about volume use.