/v1/ticker
Ticker for one or more pairs
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/mercadobitcoin-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mercadobitcoin-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mercadobitcoin-api/v1/ticker");
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/mercadobitcoin-api/v1/ticker",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"buy": 324942,
"base": "BTC",
"last": 324822,
"pair": "BTC-BRL",
"sell": 325149,
"quote": "BRL",
"source": "Mercado Bitcoin",
"spread": 207,
"low_24h": 315501,
"high_24h": 326527,
"open_24h": 320007,
"timestamp": 1781164171,
"volume_24h": 57.40217786,
"change_24h_pct": 1.5047
},
"meta": {
"timestamp": "2026-06-11T07:49:33.552Z",
"request_id": "d1f72b1e-0e87-4e69-ba8d-c3e4033e8181"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}