OpenAPI 3.1
The full spec is at /api/v1/openapi.json. 27 paths, 15 component schemas. Generated at build time from src/lib/schemas.ts.
Use the spec
- Generate a client: feed
/api/v1/openapi.jsonintoopenapi-typescript,openapi-generator, orKiota. - Mock the API: point Prism or Stoplight Studio at the spec for offline development.
- Render Swagger UI / Redoc:drop the URL into the Swagger UI CDN bundle, or use Redoc's standalone. (We don't bundle these ourselves to keep the static build small.)
- Validate: the spec is OpenAPI 3.1 (draft-2020-12 JSON Schema dialect).
Server
https://goodsacrossborders.com
Paths (27)
/api/v1/items.json
List all items/api/v1/items/{slug}.json
Fetch a single ItemParameters: slug*
/api/v1/countries.json
List all countries/api/v1/countries/{slug}.json
Fetch a single CountryParameters: slug*
/api/v1/rules.json
List all rules/api/v1/rules/{id}.json
Fetch a single RuleParameters: id*
/api/v1/carriers.json
List all carriers/api/v1/carriers/{slug}.json
Fetch a single CarrierParameters: slug*
/api/v1/medications.json
List all medications/api/v1/medications/{slug}.json
Fetch a single MedicationParameters: slug*
/api/v1/incoterms.json
List all incoterms/api/v1/incoterms/{slug}.json
Fetch a single IncotermParameters: slug*
/api/v1/hs-chapters.json
List all hs-chapters/api/v1/hs-chapters/{chapter}.json
Fetch a single HsChapterParameters: chapter*
/api/v1/hs-headings.json
List all hs-headings/api/v1/hs-headings/{heading}.json
Fetch a single HsHeadingParameters: heading*
/api/v1/guides.json
List all guides/api/v1/guides/{slug}.json
Fetch a single GuideParameters: slug*
/api/v1/airports.json
List all airports/api/v1/airports/{iata}.json
Fetch a single AirportProfileParameters: iata*
/api/v1/airlines.json
List all airlines/api/v1/airlines/{slug}.json
Fetch a single AirlineCabinPolicyParameters: slug*
/api/v1/scenarios.json
List all scenarios/api/v1/scenarios/{slug}.json
Fetch a single ScenarioGuideParameters: slug*
/api/v1/duty-rates.json
List all duty-rates/api/v1/route-pairs.json
List all route-pairs/api/v1/changelog.json
List all changelog
Component schemas (15)
- Item
- Country
- Rule
- Carrier
- Medication
- Incoterm
- HsChapter
- HsHeading
- Guide
- AirportProfile
- AirlineCabinPolicy
- ScenarioGuide
- DutyRate
- RoutePair
- ChangelogEntry
Related: /api reference · examples · changelog.
We don't have a form backend, so these are pre-filled mailto links. Send a one-line email and we'll add you.