BASE MAINNET ยท LIVE PAYMENTS

HTS Lookup API

Machine-readable US import classification data from the official USITC HTS. Free search returns candidate codes and descriptions with rates locked. Exact rates, duty estimates, and landed-cost estimates are paid per call with x402 v2 on Base mainnet (v1 X-PAYMENT fallback).

Endpoints

Search expands headings to 10-digit statistical lines, but free responses omit general, special, and other rates. Rate limits: 30 free searches/min and 60 paid requests/min per client IP.

EndpointPriceReturns
GET /v1/hts/catalogFreeSupported product terms and HTS phrases
GET /v1/hts/search?q=lipstickFreeCandidate codes and descriptions; rates locked
GET /v1/hts/3304.10.00.000.01 USDCExact line, rates, units, source
GET /v1/hts/6109.10.00/duty?value_usd=100000.01 USDCMFN duty estimate
GET /v1/landed-cost?code=6109.10.00&value_usd=10000&freight_usd=500&origin_country=CN0.01 USDCDuty + Section 301 China + MPF/HMF + freight/insurance, total and per unit
POST /mcpFree/paid toolsStreamable HTTP MCP (search, exact, duty)
GET /healthFreeStatus

Try search

curl 'https://hts.epi.me/v1/hts/search?q=lipstick'

Paid call

Without payment the endpoint returns HTTP 402 with an x402 v2 challenge. Pay, then retry with the base64 PAYMENT-SIGNATURE header. Legacy v1 clients can send X-X402-Version: 1 and use X-PAYMENT.

curl -i 'https://hts.epi.me/v1/hts/3304.10.00.00'
# 402 Payment Required
# {"x402Version":1,"accepts":[{"scheme":"exact","network":"base", ...}]}

Agent / MCP

Use the private MCP server with four tools: search_hts (free), get_hts_code, estimate_duty, and estimate_landed_cost (paid). It surfaces the 402 challenge so an x402-capable host can pay and retry.

Not official, not legal advice. Exact and duty endpoints return MFN general only. Landed cost adds Section 301 China when origin_country=CN; it excludes Section 232, IEEPA, AD/CVD, quotas, FTA preferences, product-specific exclusions, and other fees. Landed cost uses CBP FY2027 MPF/HMF assumptions and is not a customs ruling. Classification is fact-specific. Live USDC on Base; paid calls are final.