Ir al contenido
GET /v1/security

One auctioned security by CUSIP

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/treasuryauctions-api

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

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