{"uid":"cap_0Lw16SEf497rDHl3SBWeb","slug":"treasury-yield-curve-signal-be9f9dee","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://x402-stock-indicators.vercel.app/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_nOeZCTnPSXd0O4x_tx4R4","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 (8 maturities), 10y-2y and 10y-3mo spreads, and inversion flags — live from FRED's daily constant-maturity series.","exampleAgentPrompt":"Pull the current US Treasury yield curve — I need all the maturities from 1-month to 30-year, the 10y-2y and 10y-3mo spreads, and whether the curve is inverted right now.","exampleUseCases":[{"title":"Recession signal check for macro dashboard","prompt":"Is the US yield curve currently inverted? Give me the full curve from 1-month to 30-year and flag the 10y-2y and 10y-3mo spreads so I can update my macro dashboard."},{"title":"Risk-off alert for portfolio rebalancing","prompt":"I'm running a daily macro check — pull the latest Treasury yield curve data and tell me if either the 10y-2y or 10y-3mo spread is inverted so I can flag a risk-off condition for my portfolio."},{"title":"Bond market briefing for morning report","prompt":"Give me today's US Treasury yields across all maturities and highlight whether the curve is inverted — I need this for a morning macro briefing on fixed income conditions."}],"resultDescription":"Returns all 8 constant-maturity Treasury yields (1mo, 3mo, 6mo, 1yr, 2yr, 5yr, 10yr, 30yr) sourced from FRED's daily series, along with computed 10y-2y and 10y-3mo spread values, and a boolean inversion flag on each spread indicating whether the curve is currently inverted at that tenor pair.","failureModes":["FRED data unavailable or delayed — endpoint may return stale or missing yields during Federal holidays or data publication delays","Network timeout from the FRED upstream API","x402 payment failure if USDC balance is insufficient or payment header is malformed","No query parameters accepted — wrong input schema yields a 400 error"],"whenToPreferThis":"Use this endpoint when you need a complete, pre-computed snapshot of the US yield curve with inversion flags already calculated, rather than fetching individual Treasury yields from FRED yourself. Ideal for macro dashboards, recession monitoring agents, or risk-off signal detection where the 10y-2y and 10y-3mo spreads are the key metrics. Prefer this over the US Macro Indicators Dashboard sibling endpoint when you specifically need full yield curve granularity across all 8 maturities rather than a broader set of macro indicators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:54.246Z","isFirstParty":false}