Naar de inhoud
GET /v1/simple/price

Quick price for ids

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/crypto-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/crypto-api/v1/simple/price" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/crypto-api/v1/simple/price", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/crypto-api/v1/simple/price");
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/crypto-api/v1/simple/price",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "prices": {
            "bitcoin": {
                "usd": 73565,
                "usd_24h_vol": 36203166719.91717,
                "usd_24h_change": 0.06993443227068287,
                "usd_market_cap": 1475555054052.5483,
                "last_updated_at": 1780080442
            },
            "ethereum": {
                "usd": 2017.31,
                "usd_24h_vol": 14199350498.351685,
                "usd_24h_change": -0.20959536133032253,
                "usd_market_cap": 243974336263.93015,
                "last_updated_at": 1780080442
            }
        },
        "vs_currencies": "usd"
    },
    "meta": {
        "timestamp": "2026-05-29T18:48:01.061Z",
        "request_id": "a29f1dad-a476-40af-949a-7b2f062101be"
    },
    "status": "ok",
    "message": "Price retrieved successfully",
    "success": true
}