/v1/change
Absolute & percent move between two dates + high/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/fxhistory-api/v1/change" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxhistory-api/v1/change", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxhistory-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/fxhistory-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": {
"low": 0.89318,
"base": "USD",
"days": 257,
"high": 0.96256,
"source": "ECB (Frankfurter)",
"symbol": "EUR",
"end_date": "2024-12-31",
"end_rate": 0.96256,
"change_abs": 0.05758,
"change_pct": 6.3626,
"start_date": "2023-12-29",
"start_rate": 0.90498,
"high_low_range_pct": 7.7678
},
"meta": {
"timestamp": "2026-06-10T22:56:19.146Z",
"request_id": "bd694cac-4daf-42fd-93a6-fd4fee1c234a"
},
"status": "ok",
"message": "Change computed",
"success": true
}