Developers & publishers

Put 13-country customs data on your site

Embeddable calculator widget + free data API. Sourced from official tariff schedules (USITC HTS / GACC / INSW…), including per-code US §301/§122 surcharges.

① Embeddable calculator (one line)

Copy-paste ready, with full 13-country tax stacks and US Section 301. Swap the trailing locale/country segments:

<iframe src="https://treayo.com/widget/calculator/en/us"
        style="width:100%;max-width:420px;height:560px;border:1px solid #e5e3da;border-radius:4px"
        title="Import duty calculator by Treayo" loading="lazy"></iframe>
Supported country codes: us · india · indonesia · malaysia · philippines · thailand · vietnam · japan · korea · australia · brazil · mexico · china

② Free data API

GET /api/calculate

Line-by-line landed cost: duty + VAT + surcharges (incl. US §301 China / §122), in each country’s statutory order and base.

curl "https://treayo.com/api/calculate?country=us&hs=6109.10&fob=1000&origin=cn"

# → { taxLines: [ {key:"duty", rate:16.5, amount:165},
#                 {key:"s301", rate:7.5, amount:75},
#                 {key:"s122", rate:10, amount:100}, ... ],
#     totalCashAtImport, effectiveTaxRate, warnings... }
ParamDescription
countrydestination code (13 markets)
hsHS code (6–10 digits, nearest-leaf fallback)
fobFOB value in USD
origin / coorigin country + certificate flag (FTA preference)
freight / insurance / port / brokeroptional cost inputs

Terms (free tier)

  • Attribution required: public display of API data must credit “Data: Treayo (treayo.com)” with a clickable link.
  • Rate limits: same per-IP limits as the site (burst 8/10s — ample for normal use).
  • Data for reference only; no resale of raw data.
  • Need higher limits / batch / commercial SLA? Self-serve plans are coming to this page.