/v1/groups
Units split into fiat, commodity, crypto
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/btcrates-api/v1/groups" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/btcrates-api/v1/groups", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/btcrates-api/v1/groups");
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/btcrates-api/v1/groups",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"base": "BTC",
"fiat": [
{
"name": "United Arab Emirates Dirham",
"type": "fiat",
"unit": "AED",
"value": 229952.336
},
{
"name": "Armenian Dram",
"type": "fiat",
"unit": "AMD",
"value": 23064410.575
},
{
"name": "Argentine Peso",
"type": "fiat",
"unit": "ARS",
"value": 89442885.421
},
{
"name": "Australian Dollar",
"type": "fiat",
"unit": "AUD",
"value": 89521.803
},
{
"name": "Bosnia and Herzegovina Convertible Mark",
"type": "fiat",
"unit": "BAM",
"value": 106126.777
},
{
"name": "Bangladeshi Taka",
"type": "fiat",
"unit": "BDT",
"value": 7696509.624
},
{
"name": "Bahraini Dinar",
"type": "fiat",
"unit": "BHD",
"value": 23615.071
},
{
"name": "Bermudian Dollar",
"type": "fiat",
"unit": "BMD",
"value": 62603.579
},
{
"name": "Brazil Real",
"type": "fiat",
"unit": "BRL",
"value": 323334.965
},
{
"name": "Canadian Dollar",
"type": "fiat",
"unit": "CAD",
"value": 87677.564
},
{
"name": "Swiss Franc",
"type": "fiat",
"unit": "CHF",
"value": 50124.87
},
{
"name": "Chilean Peso",
"type": "fiat",
"unit": "CLP",
"value": 57026226.273
},
{
"name": "Chinese Yuan",
"type": "fiat",
"unit": "CNY",
"value": 424158.029
},
{
"name": "Colombian Peso",
"type": "fiat",
"unit": "COP",
"value": 220183673.737
},
{
"name": "Costa Rican Colón",
"type": "fiat",
"unit": "CRC",
"value": 28722427.389
},
{
"name": "Czech Koruna",
"type": "fiat",
"unit": "CZK",
"value": 1316423.742
},
{
"name": "Danish Krone",
"type": "fiat",
"unit": "DKK",
"value": 406539.066
},
…