GET
/
v1
/
countries
Get Supported Countries
curl --request GET \
  --url https://api.cloro.com/v1/countries \
  --header 'Authorization: Bearer <token>'
[
  "AF",
  "AX",
  "AL",
  "DZ",
  "AS"
]

Overview

The Countries endpoint returns a list of all supported ISO 3166-1 alpha-2 country codes that can be used with the monitoring API. This endpoint provides the complete list of 254 supported countries and territories.

Authentication

This endpoint requires authentication using a Bearer token in the Authorization header.
Authorization: Bearer sk_live_1234567890abcdef1234567890abcdef

Request

This endpoint accepts a simple GET request with no parameters.

Response

countries
array
Array of supported country codes in ISO 3166-1 alpha-2 format

Usage Notes

  • Use this endpoint to get the current list of supported countries for your application
  • The response contains all 254 supported country codes
  • Country codes are returned in alphabetical order
  • These codes can be used directly with the /v1/run endpoint’s country parameter
  • Cache the response appropriately as the list of supported countries rarely changes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

List of supported country codes

The response is of type string[].