Skip to content
GET /v1/dxy

US Dollar Index from its 6 components

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/currencyindex-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/currencyindex-api/v1/dxy" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/currencyindex-api/v1/dxy", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/currencyindex-api/v1/dxy");
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/currencyindex-api/v1/dxy",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Official ICE US Dollar Index = 50.14348112 x EURUSD^-0.576 x USDJPY^0.136 x GBPUSD^-0.119 x USDCAD^0.091 x USDSEK^0.042 x USDCHF^0.036. Negative exponents are pairs quoted as XXX/USD.",
        "index": "USDX",
        "value": 104.3314,
        "source": "CURRENCY-INDEX",
        "constant": 50.14348112,
        "components": [
            {
                "pair": "EUR/USD",
                "rate": 1.08,
                "exponent": -0.576
            },
            {
                "pair": "USD/JPY",
                "rate": 150,
                "exponent": 0.136
            },
            {
                "pair": "GBP/USD",
                "rate": 1.27,
                "exponent": -0.119
            },
            {
                "pair": "USD/CAD",
                "rate": 1.37,
                "exponent": 0.091
            },
            {
                "pair": "USD/SEK",
                "rate": 10.5,
                "exponent": 0.042
            },
            {
                "pair": "USD/CHF",
                "rate": 0.91,
                "exponent": 0.036
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-11T07:49:21.538Z",
        "request_id": "90a8ca4d-0c61-45f8-b00c-096c23b72247"
    },
    "status": "ok",
    "message": "Dollar index computed",
    "success": true
}