Tarifbase API
A free, read-only JSON API over the same data as the site: HS codes, four national tariffs, duty rates and measures. No key is needed.
One national tariff line
EU CN8, UK 10-digit, US HTS 8-digit or Turkish 12-digit line (tariff = eu, gb, us, tr): description, duty, free flag and — for the EU and the UK — the measures in force (preferences, anti-dumping, quotas, controls) with their legal act and validity.
One HS heading or subheading
The HS chapter, heading or subheading text in any of the 23 languages, its short everyday label and the page URL.
Search
Up to 20 HS subheadings matching a product name, best first.
National lines as CSV
Every line of one tariff under an HS chapter, heading or subheading, with description, duty and URL, as a UTF-8 CSV file.
MCP server for AI assistants
A Model Context Protocol endpoint (JSON-RPC 2.0 over HTTP POST) with three tools: search_hs_codes, get_hs_code and get_import_duty (rate, basis and additional measures for a tariff line and an origin). Add https://tarifbase.com/mcp as a remote MCP server in your assistant.
Rule changes per code as RSS
The customs acts that cite one HS heading or subheading, newest first.
Rule changes as RSS
The 100 newest customs and trade acts (EU Official Journal, US Federal Register, UK, Resmî Gazete), one feed per language.
Terms
At most 60 requests per minute from one address; responses are cached for 10 minutes. Answers carry Access-Control-Allow-Origin: *, so they can be called from a browser.
The data stays under the licences of its publishers (EU: CC BY 4.0; UK: Open Government Licence v3.0; US: public domain; Türkiye: official texts). Credit “Tarifbase” and the original source; the full list is on the data sources page. Nothing returned is legally binding: see the disclaimer.
Need bulk data? Take it from the official sources listed there rather than crawling this API.