BETA This app is in Beta Testing

Trade Intelligence

Tariffs API

Available via API

Calculate customs duty for any HS code and trade lane, with trade-agreement preferences applied and every result recorded as an auditable event.

What you get

Duty calculation

Ad valorem duty on the customs value, in the currency you choose.

Trade-agreement preferences

Pass a preferential rate or duty_free to see the effect of an FTA.

Event-sourced

Each calculation emits TariffCalculated for audit and analytics.

Metered per call

Usage is billed per successful call under your plan.

Endpoints

  • POST /api/v1/tariffs/calculate Calculate duty for one line

Authenticate with Authorization: Bearer tk_live_…. See the API reference.

Try it

curl -X POST https://tariffapis.com/api/v1/tariffs/calculate \
  -H "Authorization: Bearer $TARIFFAPIS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hs_code": "8507.60", "origin": "CN", "destination": "DE",
 "customs_value": "12500.00", "currency": "EUR", "duty_rate": "2.7"}'