2s Yield Curve API is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-10-10).
Returns the current US Treasury yield curve with yields across all maturities, inversion status, and key spreads (2s10s, 3m10y) sourced from FRED.
The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.
Returns a JSON object with an array of Treasury yield data points (yield %, maturity label, months, FRED series ID, as-of date) covering all standard maturities, plus meta fields: inversion boolean, 2s10s spread, 3m10y spread, and the as-of date. Includes source attribution to FRED/Federal Reserve Bank of St. Louis.
GEThttps://2s.io/api/econ/yield-curve?utm_source=zero.xyzUse this endpoint when you need a complete, current snapshot of the US Treasury yield curve with inversion status and key spread metrics in a single call, sourced authoritatively from FRED. Prefer over scraping Treasury.gov or building your own FRED integration. Ideal for macroeconomic analysis, recession signal detection, and fixed-income context in AI agent workflows.
{
"properties": ""
}| Field | Type | Description |
|---|---|---|
| properties | string |
{
"data": {
"ok": true,
"meta": {
"asOf": "2026-06-16",
"inverted": false,
"spread2s10s": 0.38,
"spread3m10y": 0.64
},
"items": [
{
"asOf": "2026-06-16",
"yield": 3.67,
"months": 1,
"maturity": "1M",
"seriesId": "DGS1MO"
},
{
"asOf": "2026-06-16",
"yield": 3.79,
"months": 3,
"maturity": "3M",
"seriesId": "DGS3MO"
},
{
"asOf": "2026-06-16",
"yield": 3.81,
"months": 6,
"maturity": "6M",
"seriesId": "DGS6MO"
},
{
"asOf": "2026-06-16",
"yield": 3.84,
"months": 12,
"maturity": "1Y",
"seriesId": "DGS1"
},
{
"asOf": "2026-06-16",
"yield": 4.05,
"months": 24,
"maturity": "2Y",
"seriesId": "DGS2"
},
{
"asOf": "2026-06-16",
"yield": 4.08,
"months": 36,
"maturity": "3Y",
"seriesId": "DGS3"
},
{
"asOf": "2026-06-16",
"yield": 4.16,
"months": 60,
"maturity": "5Y",
"seriesId": "DGS5"
},
{
"asOf": "2026-06-16",
"yield": 4.28,
"months": 84,
"maturity": "7Y",
"seriesId": "DGS7"
},
{
"asOf": "2026-06-16",
"yield": 4.43,
"months": 120,
"maturity": "10Y",
"seriesId": "DGS10"
},
{
"asOf": "2026-06-16",
"yield": 4.92,
"months": 240,
"maturity": "20Y",
"seriesId": "DGS20"
},
{
"asOf": "2026-06-16",
"yield": 4.93,
"months": 360,
"maturity": "30Y",
"seriesId": "DGS30"
}
],
"total": 11,
"source": {
"url": "https://fred.stlouisfed.org/",
"license": "FRED® data; many series are public domain (US govt). Attribution to FRED required for redistribution.",
"provider": "Federal Reserve Bank of St. Louis — FRED"
}
},
"meta": {
"cost": {
"usd": 0.00144,
"tier": 0
},
"caller": "x402",
"version": null,
"endpoint": "econ.yield-curve",
"settlement": {
"txHash": "0x70b297ec81b704aaecbb319c9232021edd65259613646f4e66dac5675f389bb5",
"network": "eip155:8453",
"success": true
}
}
}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"