border.bot
Docs menu

API reference

API reference

Default target markets

GET https://api.border.bot/v1/catalog/markets

Requires an API key (Authorization: Bearer bb_live_…).

The markets a product without its own ships to (what bulk classification and filters use). Free.

API key scope: catalog.

Responses#

  • 200: The markets. (CatalogMarketsResponse)
  • 401: Missing, invalid, revoked or expired API key (unauthorized). (Error)
  • 403: The API key doesn’t have the catalog scope (forbidden, details.reason: "missing_scope"). (Error)
  • 429: Rate limited (rate_limited). Retry after Retry-After seconds; RateLimit says which limit was hit (r=0, t seconds until its window ends) and RateLimit-Policy its quota. (Error)
  • 500: Unexpected error (internal). (Error)

Example#

bash
curl -X GET 'https://api.border.bot/v1/catalog/markets' \
  -H 'Authorization: Bearer bb_live_...'