/v1/change
Move over a period with high and low
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/cryptohistory-api/v1/change" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptohistory-api/v1/change", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptohistory-api/v1/change");
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/cryptohistory-api/v1/change",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"vs": "usd",
"low": 59353.42034891,
"coin": "bitcoin",
"days": 30,
"high": 81823.28617528,
"source": "CoinGecko",
"end_price": 61396.18758123,
"change_abs": -20427.09859404,
"change_pct": -24.9649,
"start_price": 81823.28617528,
"high_low_range_pct": 37.8577
},
"meta": {
"timestamp": "2026-06-10T22:56:12.793Z",
"request_id": "5edeb82c-8562-48d1-91b7-e33047b6f778"
},
"status": "ok",
"message": "Change computed",
"success": true
}