/v1/strength
Full currency strength ranking
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/currencystrength-api/v1/strength" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/currencystrength-api/v1/strength", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/currencystrength-api/v1/strength");
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/currencystrength-api/v1/strength",
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": {
"count": 30,
"period": "7d",
"ranking": [
{
"name": "Philippine Peso",
"rank": 1,
"currency": "PHP",
"strength": 1.251
},
{
"name": "Hong Kong Dollar",
"rank": 2,
"currency": "HKD",
"strength": 1.165
},
{
"name": "United States Dollar",
"rank": 3,
"currency": "USD",
"strength": 1.15
},
{
"name": "Chinese Yuan",
"rank": 4,
"currency": "CNY",
"strength": 0.891
},
{
"name": "Japanese Yen",
"rank": 5,
"currency": "JPY",
"strength": 0.838
},
{
"name": "Turkish Lira",
"rank": 6,
"currency": "TRY",
"strength": 0.684
},
{
"name": "Mexican Peso",
"rank": 7,
"currency": "MXN",
"strength": 0.636
},
{
"name": "Thai Baht",
"rank": 8,
"currency": "THB",
"strength": 0.48
},
{
"name": "Czech Koruna",
"rank": 9,
"currency": "CZK",
"strength": 0.429
},
{
"name": "Romanian Leu",
"rank": 10,
"currency": "RON",
"strength": 0.394
},
{
"name": "Singapore Dollar",
"rank": 11,
"currency": "SGD",
"strength": 0.38
},
{
"name": "Indian Rupee",
"rank": 12,
"currency": "INR",
"strength": 0.368
},
{
"name": "British Pound",
"rank": 13,
"currency": "GBP",
"strength": 0.358
},
{
"name": "Canadian Dollar",
"rank": 14,
"currency": "CAD",
"strength": 0.346
},
{
"name": "Icelandic Krona",
"rank": 15,
"currency": "ISK",
"strength": 0.342
},
{
"name": "Euro",
"rank": 16,
"currency": "EUR",
"strength": 0.198
},
{
"name": "Danish Krone",
"rank": 17,
"currency": "DKK",
"strength": 0.194
},
{
"name": "Hungarian Forint",
"rank": 18,
…