Why a tariff API needs more than the duty rate: codes, match levels and sources
The author built TariffAPI to look up duty rates from HS codes, but found the rate was the smallest part of a useful response. The same code 61091000 returned different results across the US, EU and UK, including a 404 for the UK. Responses therefore include match levels showing which code granularity was matched, along with source names, versions, and effective dates. Explicit errors such as coverage_gap and tariff_not_found are returned instead of empty rates. The author also published a 120-record public sample built from official tariff datasets.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in