List countries
Find the country identifiers used by catalogue and purchase requests.
01 / Request
Make a request
GET
/api/v1/countriesUse the id from this response in subsequent requests. Country names and dialling prefixes are display information, not purchase identifiers.
Required headers
AuthorizationstringRequired- Bearer followed by your ScrapingBuddy customer API key. Keep it on your server.
Query parameters
This endpoint does not require parameters.
02 / Response
Understand the response
Success returns HTTP 200 with JSON. Read the fields below before using the result.
countriesarray- Supported countries.
countries[].idstring- Country identifier for API requests.
countries[].name / prefixstring- Display name and dialling prefix.
countries[].isostring | null- ISO code for displaying a country flag, when available.
Errors & next steps
Failures return an HTTP error status and a JSON error message. Correct validation and authentication errors before retrying. For 429, honor Retry-After; longer account limits may still apply.
All keys share the account limit of 60 API requests per minute. Purchase recovery must keep the original idempotency key and quote ID.