Skip to content
GET /v1/groups

Units split into fiat, commodity, crypto

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/btcrates-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
            },
            
…