/v1/change
Absolute & percent move between two dates + high/low
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"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
}