# Trade Tariff API (x402) > Pay-per-call trade tariff data for AI agents: import duty for 184 importing countries x HS6, multi-country duty comparison, landed-cost estimates, HS code search and OFAC sanctions screening of buyers. x402, USDC on Base, no API key, no signup. Payment: HTTP 402 / x402 v2, scheme exact, USDC on Base mainnet (eip155:8453). Invalid input returns 400 before any payment. Only successful responses are settled. ## Paid endpoints - [GET /v1/duty](https://import-duty-x402.tariffdata.workers.dev/v1/duty?importer=NGA&hs=842220&origin=CHN&customs_value=20000) $0.01 USDC: Import duty for one importing country x HS6 product code - [GET /v1/duty/compare](https://import-duty-x402.tariffdata.workers.dev/v1/duty/compare?hs=842220&importers=NGA%2CGHA%2CKEN%2CARE&origin=CHN&customs_value=5000) $0.03 USDC: Compare import duty for one HS6 across 2-10 importing countries - [GET /v1/landed-cost](https://import-duty-x402.tariffdata.workers.dev/v1/landed-cost?importer=NGA&hs=842230&goods_value=5000&freight=900&insurance=30&vat_pct=7.5&origin=CHN) $0.02 USDC: Landed cost estimate: goods + freight + insurance + import duty + VAT - [GET /v1/hs/search](https://import-duty-x402.tariffdata.workers.dev/v1/hs/search?q=water+purifier&limit=5) $0.005 USDC: Find HS 2022 six-digit codes from a product keyword - [GET /v1/sanctions/screen](https://import-duty-x402.tariffdata.workers.dev/v1/sanctions/screen?name=Banco+Nacional+de+Cuba) $0.005 USDC: Screen a buyer, consignee or person against US OFAC sanctions lists ## Free - [Sample output](https://import-duty-x402.tariffdata.workers.dev/v1/sample) - [Countries](https://import-duty-x402.tariffdata.workers.dev/v1/countries) - [OpenAPI](https://import-duty-x402.tariffdata.workers.dev/openapi.json) - [x402 manifest](https://import-duty-x402.tariffdata.workers.dev/.well-known/x402) - [MCP server (streamable HTTP)](https://import-duty-x402.tariffdata.workers.dev/mcp) ## Data - Tariff data: World Bank WITS / UNCTAD TRAINS (wits.worldbank.org). Reported applied tariffs; excludes anti-dumping, safeguard and other trade-remedy duties, excise, VAT/GST and fees. Indicative only, not legal or customs advice. - HS 2022 nomenclature: github.com/datasets/harmonized-system (ODC-PDDL-1.0, source UN Comtrade / WCO). Keyword match on official descriptions; confirm the exact national tariff line before filing. - US Treasury OFAC SDN and Consolidated Sanctions lists, publication of 2026-11-20 (treasury.gov/ofac). Name screening only: a match is a lead to review, not a legal determination. Not legal advice.