Bonds API
Auto-generated from
openapi-snapshot.json. Do not edit by hand — changes are overwritten byscripts/docs/generate_api_reference.py.
2 endpoints in this group.
GET /api/bonds/treasuries/capabilities
Capabilities
Public capability matrix — what each tier can see.
Unlike /yield-curve this is callable by any authenticated user (no plan gate) so the FE upsell UI can render the comparison table.
Responses
| Code | Description |
|---|---|
200 | Successful Response |
GET /api/bonds/treasuries/yield-curve
Yield Curve
US Treasury yield curve placeholder for #2669 foundation.
Free callers are blocked by require_plan("pro", ...) (402). When the
bonds_treasuries runtime flag is OFF, returns a typed degraded
payload. When ON, returns an empty curve until the Phase 1 FRED
ingestion lands.
Responses
| Code | Description |
|---|---|
200 | Successful Response |