/v1/ticker
Ticker for one market
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/btcmarkets-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/btcmarkets-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/btcmarkets-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/btcmarkets-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": {
"ask": 89515.88,
"bid": 89429.38,
"base": "BTC",
"last": 89478.81,
"quote": "AUD",
"market": "BTC-AUD",
"source": "BTC Markets",
"spread": 86.5,
"low_24h": 86400,
"high_24h": 89822.99,
"open_24h": 87752.84,
"change_24h": 1725.97,
"change_24h_pct": 1.97,
"base_volume_24h": 30.40152336,
"quote_volume_24h": 2675589.36
},
"meta": {
"timestamp": "2026-06-11T07:48:37.907Z",
"request_id": "048c3c46-c69a-45fd-9f66-79f0d44f3484"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}