{"uid":"cap_hPI_Blryp41qIZfRqM2N2","slug":"us-treasury-yield-curve-6417e2d5","name":"US Treasury Yield Curve","description":"US Treasury yield curve - 1 month to 30 year yields with 1d, 1w, 1m and 1y changes in basis points, 2s10s spread and inversion flag","url":"https://saylorinnovations.com/api/rates/treasury-yields?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["date","yields_pct"],"properties":{"date":{"type":"string","description":"Date (YYYY-MM-DD)"},"note":{"description":"Caveat or context for reading the result"},"source":{"type":["string","null"],"description":"Data source the values come from"},"checked_at":{"type":["string","null"],"description":"Time the check was run (UTC)"},"spreads_bp":{"type":"object","description":"Spreads bp"},"yields_pct":{"type":"object","description":"Yields, as a percentage"},"curve_shape":{"type":["string","null"],"description":"Curve shape"},"change_bp_1d":{"type":["object","null"],"description":"Change bp 1d"},"change_bp_1m":{"type":["object","null"],"description":"Change bp 1m"},"change_bp_1w":{"description":"Change bp 1w"},"change_bp_1y":{"type":["object","null"],"description":"Change bp 1y"},"previous_date":{"type":["string","null"],"description":"Previous date"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sxWHpgLwVnCVhW91WIXRx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current US Treasury yields from 1-month to 30-year maturities with 1d/1w/1m/1y basis-point changes, 2s10s spread, inversion flag, and curve shape classification","exampleAgentPrompt":"What does the US Treasury yield curve look like right now — give me all the maturities from 1-month to 30-year, how yields have shifted over the past day, week, month, and year in basis points, and tell me whether the curve is inverted.","exampleUseCases":[{"title":"Daily macro briefing for traders","prompt":"Pull the full US Treasury yield curve for me this morning — I want all maturities, the 1-day and 1-week basis point moves, and tell me if the 2s10s is inverted."},{"title":"Yield inversion alert monitoring","prompt":"Check the Treasury yield curve right now and tell me if it's inverted — specifically look at the 2s10s spread and the curve shape classification."},{"title":"Monthly rate environment recap","prompt":"Give me the current Treasury yields across all maturities and show me how much rates have moved over the last month and last year in basis points — I'm writing up a market summary."}],"resultDescription":"A JSON object containing: the date of the data, yield percentages for each maturity (1M, 2M, 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y), basis-point changes over 1-day, 1-week, 1-month, and 1-year periods, spreads in basis points (including 2s10s), an inversion flag, curve shape classification (e.g. normal, inverted, flat, humped), data source, and the timestamp the check was run.","failureModes":["Stale or missing data on weekends or market holidays when Treasury data is not published","Upstream data source unavailability returning null source field","Partial change data (e.g. 1y change null) when historical baseline is unavailable","Payment failure or 402 rejection if USDC balance is insufficient","Network timeout if the upstream data provider is slow to respond"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive snapshot of the entire US Treasury yield curve in a single call, including multi-timeframe basis-point change history and the 2s10s inversion flag. It is ideal for macro monitoring dashboards, daily rate briefings, and inversion alert workflows where you need structured, analysis-ready data rather than scraping raw Treasury pages. Prefer it over general financial data APIs when you specifically need the 2s10s spread, inversion flag, and multi-horizon change data pre-calculated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:07.584Z","isFirstParty":false,"canonicalSlug":"us-treasury-yield-curve-6417e2d5"}