HS Code Lookup API - Tariff, Duty Rates, Commodity Codes
hs_code_tariff_lookupHS code lookup API, no key: product keyword to ranked HS / commodity codes, and any code to its full description chain, import duty (third-country), VAT, preferential rate for an origin country, quotas, anti-dumping and other measures for the UK tariff and the EU Common Customs Tariff. Code validation, non-declarable codes return their declarable children, bulk 50 lookups. Official HMRC data. Usable from AI agents via MCP. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.02/call via x402 at https://radarbg.com/x402/hs-code-tariff-lookup.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "red wine",
"mode": "search",
"limit": 10,
"market": "UK"
},
"name": "hs_code_tariff_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | search mode: product words in English, e.g. cotton t-shirt, lithium battery, roasted coffee. | |
| code | No | code mode: HS / commodity code with 2, 4, 6, 8 or 10 digits; dots and spaces are ignored, e.g. 6109.10 or 6109100010. | |
| mode | No | search = keyword to ranked HS/commodity codes; code = full details of one code (duty, VAT, origin rate, measures, or declarable children); validate = check that codes exist and are declarable; bulk = up to 50 queries in one call. | |
| codes | No | validate mode: up to 100 codes. | |
| limit | No | search mode: 1-50, default 10. | |
| market | No | UK = UK Global Tariff (default); EU = EU Common Customs Tariff as published by the UK Trade Tariff Northern Ireland (XI) service. | |
| origin | No | ISO 2-letter country of origin, e.g. CN, VN, US. code mode returns the preferential rate and the duty that applies to this origin. | |
| queries | No | bulk mode: up to 50 objects, each one an input of another mode, e.g. {"mode":"code","code":"8517130000","origin":"VN"}. A failing query returns an error row; the others still answer. |