/v1/pairs
Supported FX pairs
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/fxzscore-api/v1/pairs" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxzscore-api/v1/pairs", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxzscore-api/v1/pairs");
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/fxzscore-api/v1/pairs",
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": {
"note": "Supported FX pairs (majors and popular crosses). Pass any of these as pair= to /v1/zscore or as a comma list to /v1/screener?pairs=.",
"count": 25,
"pairs": [
{
"base": "EUR",
"pair": "EURUSD",
"quote": "USD"
},
{
"base": "GBP",
"pair": "GBPUSD",
"quote": "USD"
},
{
"base": "USD",
"pair": "USDJPY",
"quote": "JPY"
},
{
"base": "USD",
"pair": "USDCHF",
"quote": "CHF"
},
{
"base": "AUD",
"pair": "AUDUSD",
"quote": "USD"
},
{
"base": "USD",
"pair": "USDCAD",
"quote": "CAD"
},
{
"base": "NZD",
"pair": "NZDUSD",
"quote": "USD"
},
{
"base": "EUR",
"pair": "EURGBP",
"quote": "GBP"
},
{
"base": "EUR",
"pair": "EURJPY",
"quote": "JPY"
},
{
"base": "GBP",
"pair": "GBPJPY",
"quote": "JPY"
},
{
"base": "EUR",
"pair": "EURCHF",
"quote": "CHF"
},
{
"base": "AUD",
"pair": "AUDJPY",
"quote": "JPY"
},
{
"base": "EUR",
"pair": "EURAUD",
"quote": "AUD"
},
{
"base": "GBP",
"pair": "GBPCHF",
"quote": "CHF"
},
{
"base": "CAD",
"pair": "CADJPY",
"quote": "JPY"
},
{
"base": "AUD",
"pair": "AUDNZD",
"quote": "NZD"
},
{
"base": "EUR",
"pair": "EURCAD",
"quote": "CAD"
},
{
"base": "NZD",
"pair": "NZDJPY",
"quote": "JPY"
},
{
"base": "CHF",
"pair": "CHFJPY",
"quote": "JPY"
},
{
"base": "GBP",
"pair": "GBPAUD",
"quote": "AUD"
},
{
"base": "USD",
"pair": "USDSEK",
"quote": "SEK"
},
{
"base": "USD",
"pair": "USDNOK",
"quote": "NOK"
},
{
"base": "USD
…