B2B PLANS
For customs software, freight forwarders, and ecommerce landed-cost checkout. Pay in USDC on Base; receive an API key and quota immediately. No separate signup flow.
Each plan is 30 days from purchase. Paid endpoints use one unit per successful request. Free search remains free.
The first call returns HTTP 402. Pay the quoted USDC amount on Base,
then retry with PAYMENT-SIGNATURE. The response contains the API key
once. Keep it secret.
curl -i -X POST 'https://hts.epi.me/v1/subscribe' \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","plan":"pro"}'
# after payment
curl -X POST 'https://hts.epi.me/v1/subscribe' \
-H 'Content-Type: application/json' \
-H "PAYMENT-SIGNATURE: $SIGNATURE" \
-d '{"email":"[email protected]","plan":"pro"}'
curl 'https://hts.epi.me/v1/landed-cost?code=6109.10.00&value_usd=10000&origin_country=CN' \ -H "X-API-Key: hts_live_..." curl 'https://hts.epi.me/v1/account' -H "X-API-Key: hts_live_..."
Authorization: Bearer <key> also works.
Usage is counted per paid request; a 4xx response may still count.
Search, exact MFN, duty, and landed cost.
Legacy Section 301 China, forced-labor 12.5%, Section 232 metals baseline, caller-supplied extra duty.
API key, quota meter, expiry, account endpoint, request logs without queries or payment headers.