← Back to directory

Use when an agent needs the official US Treasury par yield curve for a day or a ...

https://1gateway.dev/v1/macro/treasury-curve

Overview

Use when an agent needs the official US Treasury par yield curve for a day or a recent stretch. Input: optional date (YYYY-MM-DD, default latest), days (1-366 history ending at date). Output: JSON yields per tenor (1m to 30y, percent), 2s10s and 3m10y spreads in bp, inversion flags, change over the range, history. Weekend or holiday dates fall back to the prior business day. Example: ?days=5

Protocol x402
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider US Treasury Yield Curve
Source bazaar
Indexed 2026-11-06 06:02:21

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "date": "2026-11-04", "days": 5 }, "type": "http" }

Output Schema

{ "example": { "asOf": "2026-11-04", "attribution": "Source: U.S. Department of the Treasury, Daily Treasury Par Yield Curve Rates (home.treasury.gov), U.S. government data. 1gateway is not affiliated with the Tr…", "cached": false, "change": { "2s10sBp": -5, "from": "2026-10-29", "tenYearBp": -8, "to": "2026-11-04", "twoYearBp": -3 }, "exactDate": null, "history": [ { "date": "2026-10-29", "spreads": { "2s10s_bp": 37, "3m10y_bp": 80 }, "yields": { "10y": 4.98, "1m": 4.06, "1y": 4.42, "20y": 5.35, "2m": 4.17, "2y": 4.61, "30y": 5.32, "3m": 4.18, "3y": 4.73, "4m": 4.21, "5y": 4.78, "6m": 4.28, "6w": 4.08, "7y": 4.87 } } ], "inverted": { "2s10s": false, "3m10y": false }, "latest": { "date": "2026-11-04", "spreads": { "2s10s_bp": 32, "3m10y_bp": 69 }, "yields": { "10y": 4.9, "1m": 4.01, "1y": 4.39, "20y": 5.3, "2m": 4.15, "2y": 4.58, "30y": 5.28, "3m": 4.21, "3y": 4.64, "4m": 4.2, "5y": 4.69, "6m": 4.25, "6w": 4.08, "7y": 4.77 } }, "notes": [], "query": { "date": null, "days": 5 }, "unit": "percent (par yield, bond-equivalent basis); spreads in basis points" }, "type": "json" }