Retrieve applicable import duty rates, VAT, and trade measures for a UK commodity code using the Trade Tariff API's measures data
domain: api.trade-tariff.service.gov.uk · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Call the commodity detail endpoint for your 10-digit commodity code and read data.relationships.import_measures to get the list of measure IDs that apply.
Look up each measure ID in the response's 'included' array (type: measure) to get the measure type, duty rate/formula, and any conditions or footnotes.
Filter by measure type to isolate the rate you need — for example, measure type 103 represents the third-country (MFN) duty rate, with preferential and quota measure types numbered separately.
Cross-reference the geographical area code on each measure against your import's country of origin to select the correct rate (third-country vs. preferential agreement rate).
Check for additional measures such as anti-dumping duties, tariff quotas, or import prohibitions/restrictions attached to the same commodity code before finalizing a landed-cost calculation.
Known gotchas
Measures are geography- and date-scoped — a single commodity can show multiple duty rates simultaneously for different origin countries or validity windows; picking the wrong measure row is a common integration bug.
Duty rate data isn't inline on the commodity object because of the JSON:API relationship structure — you must resolve measure IDs against the 'included' section.
Some measure conditions (quota-dependent rates, licensing requirements) require reading footnote text rather than a numeric field, so full automation of duty determination may still need human review for edge cases.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?