/v1/ticker
Ticker for one pair
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/btcturk-api/v1/ticker" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/btcturk-api/v1/ticker", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/btcturk-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/btcturk-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": 2893570,
"bid": 2892125,
"base": "BTC",
"last": 2893672,
"pair": "BTCTRY",
"quote": "TRY",
"source": "BTCTurk",
"spread": 1445,
"average": 2853692,
"low_24h": 2804002,
"high_24h": 2906042,
"open_24h": 2844804,
"timestamp": 1781164170335,
"change_24h": 48766,
"volume_24h": 27.29187436,
"change_24h_pct": 1.72
},
"meta": {
"timestamp": "2026-06-11T07:49:31.071Z",
"request_id": "631d63c0-4fbc-45e9-b630-31667450ad6e"
},
"status": "ok",
"message": "Ticker retrieved successfully",
"success": true
}