/v1/ticker
Ticker for one or more pairs
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}