/v1/security
One auctioned security by CUSIP
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}