/v1/btc
BTC price in a chosen currency
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/yadio-api/v1/btc" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/yadio-api/v1/btc", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/yadio-api/v1/btc");
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/yadio-api/v1/btc",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "BTC price in this currency — the crypto bridge Yadio uses to imply the real fiat rate.",
"source": "api.yadio.io",
"currency": "USD",
"btc_price": 61405.96,
"timestamp": 1781132108131
},
"meta": {
"timestamp": "2026-06-10T22:57:26.606Z",
"request_id": "a2190635-be1b-4575-9aea-ca6908311f7d"
},
"status": "ok",
"message": "BTC price retrieved successfully",
"success": true
}