Ir al contenido
GET /v1/maturity

Holdings by time to maturity

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/fedsoma-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}