/v1/pair
One pair performance card
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/fxmovers-api/v1/pair" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxmovers-api/v1/pair", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxmovers-api/v1/pair");
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/fxmovers-api/v1/pair",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"base": "EUR",
"note": "One pair's performance card: change on the day, week and month, the day's high/low and where the current rate sits in the day's range (0 = on the low, 100 = on the high).",
"pair": "EURUSD",
"rate": 1.15808,
"quote": "USD",
"source": "Yahoo Finance",
"day_low": 1.1561,
"day_high": 1.1593,
"change_1d_pct": 0.39,
"change_1m_pct": -1.69,
"change_1w_pct": -0.27,
"day_range_position": 61.9
},
"meta": {
"timestamp": "2026-06-12T10:35:16.347Z",
"request_id": "4954b403-df2f-44f3-972a-21e67101bcbd"
},
"status": "ok",
"message": "Pair retrieved successfully",
"success": true
}