Vai al contenuto
GET /v1/pair

One pair performance card

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/fxmovers-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}