Naar de inhoud
GET /v1/marketable

Tradable securities (Bills/Notes/Bonds/TIPS/FRN)

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/debtcomposition-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "date": "2026-05-31",
        "count": 6,
        "source": "US Treasury (MSPD)",
        "securities": [
            {
                "amount_busd": 15942.7,
                "amount_musd": 15942721.4171,
                "security_class": "Notes",
                "share_of_marketable_pct": 51.57
            },
            {
                "amount_busd": 6758.8,
                "amount_musd": 6758778.5857,
                "security_class": "Bills",
                "share_of_marketable_pct": 21.86
            },
            {
                "amount_busd": 5412.1,
                "amount_musd": 5412096.5247,
                "security_class": "Bonds",
                "share_of_marketable_pct": 17.51
            },
            {
                "amount_busd": 2118,
                "amount_musd": 2118028.27552178,
                "security_class": "TIPS",
                "share_of_marketable_pct": 6.85
            },
            {
                "amount_busd": 678.3,
                "amount_musd": 678316.5054,
                "security_class": "Floating Rate Notes",
                "share_of_marketable_pct": 2.19
            },
            {
                "amount_busd": 4.1,
                "amount_musd": 4092.6753,
                "security_class": "Federal Financing Bank",
                "share_of_marketable_pct": 0.01
            }
        ],
        "total_marketable_busd": 30914
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:19.787Z",
        "request_id": "af84c4eb-351f-43a0-bf85-a473b415c5de"
    },
    "status": "ok",
    "message": "Marketable securities retrieved successfully",
    "success": true
}