HackerTrans
TopNewTrendsCommentsPastAskShowJobs

PowMan

no profile record

Submissions

[untitled]

1 points·by PowMan·hace 3 meses·0 comments

Show HN: I built a tariff API because USITC data lags executive orders by days

2 points·by PowMan·hace 3 meses·0 comments

Show HN: Tradefacts.io – JSON API for US/Canada tariff data as trade war heats

tradefacts.io
4 points·by PowMan·hace 4 meses·2 comments

Show HN:JSON API for US HTS and Canadian Customs Tariff, with Change Detection

tradefacts.io
1 points·by PowMan·hace 4 meses·1 comments

Show HN: Tradefacts.io – US HTS tariff schedule, a JSON API and change detection

tradefacts.io
3 points·by PowMan·hace 4 meses·0 comments

comments

PowMan
·hace 4 meses·discuss
I built this because I kept seeing the same problem: customs brokerage and trade compliance software teams maintaining scrapers against USITC or downloading CSV dumps manually — then scrambling every time the tariff schedule changed. The US HTS schedule has 32,295 records. Canada's Customs Tariff has 22,461. Both are updated on an ongoing basis from official sources (USITC REST API and CBSA releases). With Section 232 actions accelerating and US-Canada tariffs actively moving right now, "we'll update it next sprint" is no longer an option for teams whose customers care about duty rates. TradeFacts ingests both schedules nightly, diffs every record, and serves it as clean JSON. Three endpoints: lookup by code, keyword search, and changes since last update. Auth is one header. No scraping, no schema surprises. $199/mo. 30-day free trial, no credit card. Happy to answer questions about the data pipeline or the USITC API quirks — there are a few.
PowMan
·hace 4 meses·discuss
I recently launched with just the US HTS schedule. I've now added the full 2026 Canadian Customs Tariff — 22,461 records, all 23 preferential rate columns, nightly updates. The Canada timing is not accidental. The US-Canada tariff situation means a lot of teams are suddenly building things that need both schedules simultaneously. The UST column (United States Tariff — the CUSMA/USMCA preferential rate for US-origin goods) is the one most people are asking about right now. What the API does:

Full US HTS (32,295 records) and Canada CCT (22,461 records), normalized to a stable JSON schema Nightly change detection — diff endpoint shows exactly what changed and when Webhook push on change (Tier 3) so you don't poll Pipeline safety: aborts if incoming record count drops below threshold, so a partial upstream response never overwrites live data Single API key, same auth for both datasets

The problem I'm solving: USITC has a public API but the schema shifts without notice. The CBSA publishes the Canadian schedule as a zipped Access database. Neither gives you change history. Both require you to maintain your own pipeline. Endpoints follow the same pattern for both datasets: GET /api/hts/{code} and GET /api/ca/{code}, same schema shape, same auth. Pricing: $199/month (US only), $299/month (US + Canada), $399/month (US + Canada + webhooks). 30-day free trial, no credit card. Docs: https://tradefacts.io/docs.html Happy to get into the pipeline architecture, the CBSA Access database extraction, or the HTS schema inconsistencies that make this annoying to maintain yourself.