Docs menu
Get started
API reference
Classification
Landed cost
Products
Compliance
Reference
Origin
API reference
Your restricted-goods rules
GET https://api.border.bot/v1/restrictions/rules
Requires an API key (Authorization: Bearer bb_live_…).
Rules your restricted-goods checks apply on top of border.bot’s (a compliance team’s own list). Free.
API key scope: settings.
Responses#
200: Your rules. (RestrictionRulesResponse)401: Missing, invalid, revoked or expired API key (unauthorized). (Error)403: The API key doesn’t have thesettingsscope (forbidden,details.reason: "missing_scope"). (Error)429: Rate limited (rate_limited). Retry afterRetry-Afterseconds;RateLimitsays which limit was hit (r=0,tseconds until its window ends) andRateLimit-Policyits quota. (Error)500: Unexpected error (internal). (Error)
Example#
curl -X GET 'https://api.border.bot/v1/restrictions/rules' \
-H 'Authorization: Bearer bb_live_...'