{"uid":"cap_c22I-YgcFJUCJR8SlezYf","slug":"us-treasury-yield-curve-dffdd494","name":"US Treasury Yield Curve","description":"US Treasury par yield curve from 1 month to 30 years (percent) for the latest day or any date since 1990, with 10y-2y and 10y-3m spreads, inversion flag and up to 60 days of history. Use for risk-free rates, discounting, macro analysis or answering where 10-year yields are.","url":"https://bess-x402.onrender.com/v1/finance/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"date":{"type":"string","description":"YYYY-MM-DD (default latest)"},"days":{"type":"integer","description":"Days of history 1-60, default 1"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZtLQi907LGm6j-Uei3mE5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the US Treasury par yield curve (1-month to 30-year maturities) with spreads, inversion flag, and up to 60 days of history for any date since 1990.","exampleAgentPrompt":"What does the US Treasury yield curve look like today — give me all the maturities from 1-month to 30-year, the 10y-2y spread, and whether it's inverted.","exampleUseCases":[{"title":"DCF discount rate lookup","prompt":"I need the current US Treasury 10-year yield to use as my risk-free rate for a DCF model — can you pull the latest figure?"},{"title":"Yield curve inversion alert","prompt":"Check the Treasury yield curve right now and tell me if it's inverted based on the 10y-2y spread, and show me how that spread has changed over the last 30 days."},{"title":"Historical rate research","prompt":"What did the full US Treasury yield curve look like on March 15, 2023 — I need all the maturities from 1-month to 30-year for that specific date."}],"resultDescription":"Returns the full par yield curve across standard maturities (1m, 2m, 3m, 6m, 1y, 2y, 3y, 5y, 7y, 10y, 20y, 30y) in percent, along with the 10y-2y and 10y-3m spreads, a boolean inversion flag, and optionally up to 60 days of historical yield data.","failureModes":["Date before 1990 returns an error or empty data","Non-trading days (weekends, holidays) may return no data or prior trading day data","days parameter outside 1-60 range may be rejected","Network/server unavailability on the hosted Render instance","Malformed date format returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need authoritative US Treasury yield data across the full maturity spectrum, especially when you need the inversion flag and spreads pre-computed, or need historical yield curve snapshots going back to 1990. Prefer this over generic financial data APIs when you specifically need the par yield curve with macro analysis signals like the 10y-2y and 10y-3m spreads already calculated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:44:50.978Z","isFirstParty":false,"canonicalSlug":"us-treasury-yield-curve-dffdd494"}