x402stock.xyz Treasury Yields API is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.01/call, status healthy (last checked 2026-09-14, last successful call 2026-09-02).
Returns the US Treasury par yield curve (CMT rates) for all maturities from 1-month to 30-year, for one or more recent trading days
The daily US Treasury par yield curve (Constant Maturity Treasury rates) for every maturity from 1 month to 30 years, in percent. Defaults to the latest published day; pass `?limit=` for more recent days (max 250) and `?year=YYYY`. No ticker needed. Use for the risk-free rate, rate-sensitivity context, and yield-curve inversion in macro-aware analysis. From x402stock
A JSON object containing an array of daily yield curve snapshots, each with a date and a map of maturity labels (e.g. '1M', '3M', '1Y', '2Y', '5Y', '10Y', '30Y') to their respective par yield rates in percent. Also includes metadata: source ('us_treasury'), series name, unit, as_of date, available maturities list, and count of returned records.
GEThttps://x402stock.xyz/api/v1/treasury-yieldsUse this endpoint when you need the full US Treasury par yield curve across all standard maturities in a single call without needing a ticker symbol. Ideal for macro-aware financial analysis, computing the risk-free rate for valuation models, detecting yield-curve inversion (e.g. 2Y vs 10Y spread), or providing interest rate context for equity or bond analysis. Prefer over manually scraping Treasury.gov or separate per-maturity lookups.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"limit": 5
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"unit": "percent",
"as_of": "2026-06-10T00:00:00.000Z",
"count": 5,
"rates": [
{
"date": "2026-06-10",
"rates": {
"1mo": 3.69,
"1yr": 3.9,
"2mo": 3.72,
"2yr": 4.13,
"3mo": 3.79,
"3yr": 4.17,
"4mo": 3.8,
"5yr": 4.27,
"6mo": 3.82,
"7yr": 4.4,
"10yr": 4.55,
"20yr": 5.04,
"30yr": 5.03,
"1.5mo": 3.7
}
},
{
"date": "2026-06-09",
"rates": {
"1mo": 3.69,
"1yr": 3.9,
"2mo": 3.71,
"2yr": 4.13,
"3mo": 3.79,
"3yr": 4.16,
"4mo": 3.79,
"5yr": 4.26,
"6mo": 3.82,
"7yr": 4.39,
"10yr": 4.53,
"20yr": 5.02,
"30yr": 5.01,
"1.5mo": 3.69
}
},
{
"date": "2026-06-08",
"rates": {
"1mo": 3.7,
"1yr": 3.85,
"2mo": 3.71,
"2yr": 4.15,
"3mo": 3.8,
"3yr": 4.21,
"4mo": 3.79,
"5yr": 4.29,
"6mo": 3.83,
"7yr": 4.42,
"10yr": 4.56,
"20yr": 5.05,
"30yr": 5.03,
"1.5mo": 3.7
}
},
{
"date": "2026-06-05",
"rates": {
"1mo": 3.71,
"1yr": 3.88,
"2mo": 3.71,
"2yr": 4.17,
"3mo": 3.78,
"3yr": 4.22,
"4mo": 3.78,
"5yr": 4.29,
"6mo": 3.81,
"7yr": 4.41,
"10yr": 4.55,
"20yr": 5.03,
"30yr": 5.01,
"1.5mo": 3.71
}
},
{
"date": "2026-06-04",
"rates": {
"1mo": 3.71,
"1yr": 3.82,
"2mo": 3.7,
"2yr": 4.05,
"3mo": 3.78,
"3yr": 4.1,
"4mo": 3.76,
"5yr": 4.18,
"6mo": 3.78,
"7yr": 4.32,
"10yr": 4.47,
"20yr": 4.98,
"30yr": 4.97,
"1.5mo": 3.7
}
}
],
"series": "daily_treasury_par_yield_curve",
"source": "us_treasury",
"maturities": [
"1mo",
"1.5mo",
"2mo",
"3mo",
"4mo",
"6mo",
"1yr",
"2yr",
"3yr",
"5yr",
"7yr",
"10yr",
"20yr",
"30yr"
]
}{
"type": "json",
"example": {
"unit": "percent",
"as_of": "2026-05-29T00:00:00.000Z",
"count": 1,
"rates": [
{
"date": "2026-05-29",
"rates": {
"1mo": 3.72,
"1yr": 3.47,
"2mo": 3.66,
"2yr": 3.47,
"3mo": 3.65,
"3yr": 3.55,
"4mo": 3.62,
"5yr": 3.74,
"6mo": 3.58,
"7yr": 3.95,
"10yr": 4.19,
"20yr": 4.81,
"30yr": 4.86,
"1.5mo": 3.71
}
}
],
"series": "daily_treasury_par_yield_curve",
"source": "us_treasury",
"maturities": [
"1mo",
"1.5mo",
"2mo",
"3mo",
"4mo",
"6mo",
"1yr",
"2yr",
"3yr",
"5yr",
"7yr",
"10yr",
"20yr",
"30yr"
]
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"