Zum Inhalt springen
GET /v1/security

One auctioned security by CUSIP

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/treasuryauctions-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "term": "29-Year 11-Month",
        "cusip": "912810UU0",
        "source": "US Treasury (FiscalData)",
        "reopening": true,
        "issue_date": "2026-06-15",
        "auction_date": "2026-06-11",
        "maturity_date": "2056-05-15",
        "price_per_100": null,
        "security_type": "Bond",
        "high_yield_pct": null,
        "total_accepted": null,
        "offering_amount": 22000000000,
        "auctions_of_cusip": 2,
        "interest_rate_pct": 5,
        "bid_to_cover_ratio": null,
        "high_discount_rate_pct": null
    },
    "meta": {
        "timestamp": "2026-06-09T20:24:42.500Z",
        "request_id": "c4000cb5-a8bf-42f0-aed5-5ddd6a938242"
    },
    "status": "ok",
    "message": "Security retrieved successfully",
    "success": true
}