CHANGE FEED · WEBHOOKS

Know when a tariff line changes.

One HTTPS endpoint. Every day the HTS, Section 301, Section 232, forced-labor and AD/CVD snapshots change, you get a signed webhook with the added, removed and changed rows. No polling, no scraping, no dashboard to watch.

# payload {"type":"hts.dataset.changes", "snapshot":"2026-11-29", "events":[{"dataset":"section301_china", "from":"2026-11-28","to":"2026-11-29", "added":2,"removed":0,"changed":1, "samples":{"changed":[ {"key":"6109.10.00", "fields":{"rate_pct":["7.5","25"]}}]}}]} # header X-HTS-Signature: sha256=HMAC(secret, body)

Price

$29 per month for one endpoint, all datasets, daily delivery. Included in Starter and above: Starter 1 endpoint, Partner 5, Pro 10, Scale 20. Pay in USDC on Base; the key and endpoint are provisioned without an account form.

Create a watch

curl -X POST https://hts.epi.me/v1/watch \
  -H "X-API-Key: hts_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/hts-hook",
       "datasets":"section301_china,adcvd_cases",
       "code_prefix":"6109"}'

The 201 response returns the secret once. Send a test payload to the endpoint with POST /v1/watch/{id}/test, and read the last 20 delivery attempts at GET /v1/watch/{id}/deliveries.

Verify the signature

import hmac, hashlib
expected = "sha256=" + hmac.new(
    secret.encode(), raw_body, hashlib.sha256
).hexdigest()
assert hmac.compare_digest(expected, request.headers["X-HTS-Signature"])

Compare the raw request body, before JSON parsing.

Datasets

Questions

How often are webhooks sent?

Once per snapshot. Snapshots are written by the daily refresh jobs; delivery runs hourly and skips a snapshot already sent to that endpoint. A quiet day sends nothing.

What happens if my endpoint is down?

Three attempts with a short backoff. A failed delivery is recorded and shown in the delivery log; the next snapshot is attempted regardless.

Can I filter by HTS code?

Yes. code_prefix filters diff samples to matching codes; the counts still cover the whole dataset.

Do I need an API key?

Yes. The watch plan is a key with a zero API quota: it exists to manage the endpoint and its delivery log, not to call the paid endpoints.

Informational only. A change event reports that a published row changed. It is not a legal or customs determination and does not say which rate applies to your entry.