{"uid":"cap_KcazenYvqtKiElOn5uBDc","slug":"treasury-yield-curve-signal-071b798b","name":"Treasury Yield Curve Signal","description":"US Treasury yield curve in one call: 1mo/3mo/6mo/1yr/2yr/5yr/10yr/30yr yields, the 10y-2y and 10y-3mo spreads, and a boolean inversion flag on each -- a classic recession/risk-off signal every macro trader watches. Live from FRED's daily constant-maturity Treasury series. Not ticker-specific. $0.01/call.","url":"https://www.x402financialdata.com/yield-curve","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_EUK8wk1yUeyaFOFhcg9dq","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 the full US Treasury yield curve (1mo–30yr maturities), key spread indicators (10y-2y, 10y-3mo), and inversion flags for each — sourced live from FRED daily constant-maturity series.","exampleAgentPrompt":"Pull the current US Treasury yield curve — I want to see all maturities from 1-month to 30-year, the 10y-2y and 10y-3mo spreads, and whether the curve is inverted right now.","exampleUseCases":[{"title":"Daily macro dashboard yield check","prompt":"What does the Treasury yield curve look like today? Show me all the maturities and tell me if the curve is inverted."},{"title":"Recession signal monitoring for portfolio","prompt":"Check the yield curve inversion flags right now — I need to know if the 10y-2y or 10y-3mo spread has flipped negative so I can adjust my portfolio positioning."},{"title":"Automated macro briefing for hedge fund","prompt":"Give me this morning's full yield curve data including all spreads and inversion booleans so I can include it in our morning macro brief."}],"resultDescription":"A single JSON response containing: yields for 8 maturities (1mo, 3mo, 6mo, 1yr, 2yr, 5yr, 10yr, 30yr), computed spreads for 10y-2y and 10y-3mo, and a boolean inversion flag on each spread — all sourced from FRED's daily constant-maturity Treasury series.","failureModes":["FRED data unavailable or delayed — stale or missing yields returned","Payment failure — 402 response if USDC payment not processed","FRED series not yet published for current trading day — returns prior business day data","Network timeout — retry required"],"whenToPreferThis":"Choose this endpoint when you need a complete, pre-computed yield curve snapshot in a single call — including spreads and inversion booleans — rather than fetching individual FRED series and computing spreads yourself. Ideal for macro dashboards, recession signal monitoring, and risk-off alerting workflows where the inversion flag needs no additional calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:08.391Z","isFirstParty":false}