GET https://api.cryptohopper.com/v1/platform/countries

Returns the countries a user can choose, keyed by two-letter ISO code with an EU flag, plus the country detected for the request.

Needs a valid access token; no scope is checked. Sanctioned countries are left out. ip_country comes from the CF-IPCountry request header and is null when that header is missing.

Example request

curl "https://api.cryptohopper.com/v1/platform/countries" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Response

Example response (illustrative values)

{
    "data": {
        "countries": {
            "NL": {
                "name": "Netherlands",
                "is_eu": "1",
                "code": "NL"
            }
        },
        "ip_country": "NL"
    }
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.