/v1/meta
Datasets & source
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/treasury-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/treasury-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/treasury-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/treasury-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Live US Treasury fiscal data. Filter by date or date range (from/to, YYYY-MM-DD); exchange rates by country or currency; interest rates by security. Public-domain US Treasury data.",
"source": "US Treasury (api.fiscaldata.treasury.gov)",
"datasets": {
"debt": "US national debt to the penny (daily): total public debt, debt held by the public, intragovernmental holdings",
"exchange_rates": "Official US Treasury reporting exchange rates (quarterly), ~170 currencies — used to convert foreign currency to USD for US government reporting",
"interest_rates": "Average interest rates on US Treasury securities (monthly), by security type"
},
"endpoints": [
"/v1/debt",
"/v1/interest-rates",
"/v1/exchange-rates",
"/v1/meta"
]
},
"meta": {
"timestamp": "2026-05-31T08:24:39.855Z",
"request_id": "e658e0a3-5ab4-4160-b56e-dc34d0681b32"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}