/v1/countries
Countries with exchange counts
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/exchanges-api/v1/countries" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/exchanges-api/v1/countries", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/exchanges-api/v1/countries");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/exchanges-api/v1/countries",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"count": 149,
"countries": [
{
"country": "GB",
"exchanges": 598
},
{
"country": "US",
"exchanges": 497
},
{
"country": "DE",
"exchanges": 211
},
{
"country": "NL",
"exchanges": 121
},
{
"country": "FR",
"exchanges": 107
},
{
"country": "JP",
"exchanges": 89
},
{
"country": "SE",
"exchanges": 67
},
{
"country": "IT",
"exchanges": 66
},
{
"country": "ES",
"exchanges": 64
},
{
"country": "IE",
"exchanges": 63
},
{
"country": "SG",
"exchanges": 49
},
{
"country": "CH",
"exchanges": 48
},
{
"country": "AU",
"exchanges": 47
},
{
"country": "NO",
"exchanges": 43
},
{
"country": "PL",
"exchanges": 43
},
{
"country": "CA",
"exchanges": 42
},
{
"country": "HK",
"exchanges": 36
},
{
"country": "IN",
"exchanges": 28
},
{
"country": "DK",
"exchanges": 27
},
{
"country": "BE",
"exchanges": 25
},
{
"country": "AE",
"exchanges": 23
},
{
"country": "RO",
"exchanges": 22
},
{
"country": "AT",
"exchanges": 22
},
{
"country": "RU",
"exchanges": 21
},
{
"country": "CZ",
"exchanges": 21
},
{
"country": "LU",
"exchanges": 20
},
{
"country": "HU",
"exchanges": 20
},
{
"country": "CN",
"exchanges": 18
},
{
"country": "BG",
"exchanges": 17
},
{
"country": "CY",
"exchanges": 17
},
{
"country": "ZA",
"exchanges": 17
},
{
…