Aller au contenu
GET /v1/currency

One currency correlations to all others

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/currencycorrelation-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/currencycorrelation-api/v1/currency" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/currencycorrelation-api/v1/currency", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/currencycorrelation-api/v1/currency");
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/currencycorrelation-api/v1/currency",
    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": 28,
        "period": "3m",
        "to_date": "2026-06-08",
        "currency": "AUD",
        "from_date": "2026-03-06",
        "correlations": [
            {
                "currency": "ZAR",
                "correlation": 0.619,
                "relationship": "moderate positive"
            },
            {
                "currency": "MXN",
                "correlation": 0.498,
                "relationship": "moderate positive"
            },
            {
                "currency": "NZD",
                "correlation": 0.497,
                "relationship": "moderate positive"
            },
            {
                "currency": "PLN",
                "correlation": 0.419,
                "relationship": "moderate positive"
            },
            {
                "currency": "BRL",
                "correlation": 0.401,
                "relationship": "moderate positive"
            },
            {
                "currency": "GBP",
                "correlation": 0.401,
                "relationship": "moderate positive"
            },
            {
                "currency": "SEK",
                "correlation": 0.365,
                "relationship": "moderate positive"
            },
            {
                "currency": "CZK",
                "correlation": 0.28,
                "relationship": "weak"
            },
            {
                "currency": "CHF",
                "correlation": 0.27,
                "relationship": "weak"
            },
            {
                "currency": "MYR",
                "correlation": 0.27,
                "relationship": "weak"
            },
            {
                "currency": "THB",
                "correlation": 0.27,
                "relationship": "weak"
            },
            {
                "currency": "NOK",
                "correlation": 0.266,
                "relationship": "weak"
            },
            {
                "currency": "HUF",
                "correlation": 0.253,
                "relationship": "weak"
            },
            {
                "currency": "ILS",
                "correlation": 0.243,
                "relationship": "weak"
            },
            {
                "currency": "KRW",
                "correlation": 0.179,
                "relationship": "weak"
            },
            {
                "currency": "PHP",
                "correlation": 0.058,
                "relationship": "weak"
            },
            {
                "currency": "RON",
                "correlation": 0.029,
                "relationship": "weak"
            },
            {
                "currency": "ISK",
                "correlation": 0.026,
                "relationship": "weak"
            },
            {
                "currency": "SGD",
                "correlation": -0.011,
                "relationship": "weak"
            },
            {
                "currency": "CAD",
  
…