A US 2-year Treasury yield API returns one tenor, not the full curve. On Bonds-API the key is US_2Y. Call GET https://bonds-api.com/api/v1/latest?countries=US&maturities=2Y with query api_key (not Bearer). Official curve sibling dated 2026-04-14 prints 2Y 3.80.
Starter is $19/mo (1,000 requests) with a 7-day trial. This is not Fed Funds / SOFR. MCP: https://mcp.bonds-api.com. Docs: bonds-api.com/docs.
Request: latest 2Y
curl "https://bonds-api.com/api/v1/latest?countries=US&maturities=2Y&api_key=YOUR_API_KEY"
Do not invent a live US_2Y tick. The published numeric fixture is the US curve for 2026-04-14 (2Y row selected):
{
"success": true,
"data": {
"country": "US",
"date": "2026-04-14",
"curve": [
{"maturity": "2Y", "yield": 3.80},
{"maturity": "10Y", "yield": 4.25}
],
"spread_2y_10y": 45.0,
"inverted": false
}
}
That envelope is GET /api/v1/curve?country=US. Latest returns {CC}_{TENOR} keys such as US_2Y. Copy the latest curl for today’s print.