/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/currencyindex-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/currencyindex-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/currencyindex-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Rates are the quoted FX rates. DXY needs eurusd,usdjpy,gbpusd,usdcad,usdsek,usdchf. The index endpoint takes components=rate:weight; basket takes components=current:base:weight.",
"source": "Computed in-process from caller-supplied exchange rates (no upstream)",
"service": "currencyindex-api",
"endpoints": {
"GET /v1/dxy": "US Dollar Index from its 6 components (eurusd=1.08&usdjpy=150&gbpusd=1.27&usdcad=1.37&usdsek=10.5&usdchf=0.91).",
"GET /v1/meta": "This document.",
"GET /v1/index": "Custom weighted index, geometric or arithmetic (components=1.08:-0.576,150:0.136&method=geometric&constant=50.14).",
"GET /v1/basket": "Trade-weighted index normalised to 100 (components=1.08:1.10:0.5,150:148:0.5)."
},
"description": "Live currency-index maths computed on demand from exchange rates. The dxy endpoint computes the US Dollar Index from its six component rates using the official ICE weights; the index endpoint builds an arbitrary geometric or arithmetic weighted index from your components with a scaling constant; the basket endpoint computes a trade-weighted index normalised to 100, showing how a currency moved against a basket from reference rates. An index-construction engine, distinct from published effective-exchange-rate feeds and strength meters: you supply rates and weights, it returns the index. Computed locally, nothing stored.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-11T07:49:21.736Z",
"request_id": "6f248444-e495-44c7-8280-02c7882c0f37"
},
"status": "ok",
"message": "Meta",
"success": true
}