/v1/maturity
Holdings by time to maturity
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/fedsoma-api/v1/maturity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fedsoma-api/v1/maturity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fedsoma-api/v1/maturity");
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/fedsoma-api/v1/maturity",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"type": "treasury",
"source": "Federal Reserve (NY Fed SOMA)",
"buckets": [
{
"bucket": "0-1y",
"positions": 106,
"share_pct": 21.3935,
"par_value_usd": 933585979800
},
{
"bucket": "1-5y",
"positions": 154,
"share_pct": 31.6017,
"par_value_usd": 1379060541100
},
{
"bucket": "5-10y",
"positions": 56,
"share_pct": 10.9965,
"par_value_usd": 479874786600
},
{
"bucket": "10-20y",
"positions": 66,
"share_pct": 23.9303,
"par_value_usd": 1044290267800
},
{
"bucket": "20y+",
"positions": 49,
"share_pct": 12.078,
"par_value_usd": 527070005600
}
],
"as_of_date": "2026-06-03",
"total_par_usd": 4363881580900
},
"meta": {
"timestamp": "2026-06-09T20:24:29.944Z",
"request_id": "222e042f-6a19-4caf-9ae7-b78cade3a3da"
},
"status": "ok",
"message": "Maturity profile retrieved successfully",
"success": true
}