Developers
Every page on Goods Across Borders is also a JSON endpoint. The full v1 API is licensed CC-BY 4.0 — build with it, embed it, alert on it. 5,339 source-backed rules across 85 countries, 111 items, 48 FTAs, 13 sanctions regimes.
Start here
- API documentation
17 endpoints + SDK + embed widget.
- OpenAPI 3.1
Static spec + per-endpoint summary.
- Examples
TS + Python + curl snippets for common use cases.
- Widget
iframe snippets for country profiles + rules.
- Attribution
CC-BY 4.0 — recommended attribution + examples.
- Changelog
API + data changes, with affected endpoints.
30-second quick start
curl https://goodsacrossborders.com/api/v1/meta.json curl https://goodsacrossborders.com/api/v1/countries/thailand.json curl https://goodsacrossborders.com/api/v1/rules/vape-e-cigarette_thailand_traveling.json
Or with the TypeScript SDK:
import { createClient } from "@goodsacrossborders/sdk";
const gab = createClient();
const meta = await gab.getMeta();
const rule = await gab.getRule("vape-e-cigarette", "thailand", "traveling");What you can build
- A cross-border checkout warning ("This item may not clear customs in <destination>").
- A travel-planning assistant that quizzes the user about destinations + items.
- A duty / VAT estimate widget for an e-commerce listing.
- A nightly job that watches the changelog and emails staff when rules change.
- An LLM tool-use function that returns the live rule for an item × country × purpose.
Licence + terms
Data is licensed under CC-BY 4.0. Attribute as: "Goods Across Borders — goodsacrossborders.com". See /developers/attribution for details.
Customs rules change. Always verify against the destination's official customs authority before acting on any rule. We provide the data; we don't practise law.
We don't have a form backend, so these are pre-filled mailto links. Send a one-line email and we'll add you.