{"uid":"cap_fBe2VcFIy-FycSP03ICFv","slug":"us-treasury-yield-curve-161bdb84","name":"US Treasury Yield Curve","description":"Latest US Treasury yield curve from 1 month to 30 years, with 2s10s and 3m10y spreads and an inverted/flat/normal verdict.","url":"https://treasury-macro.x402tookit.com/us-yield-curve?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"},"queryParams":{"type":"object","required":[],"properties":{"view":{"type":"string","description":"Optional label echoed back; no effect"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"date":{"type":["null","string"]},"source":{"type":["null","string"]},"yields":{"type":["null","object"],"properties":{"1M":{"type":["null","number"]},"1Y":{"type":["null","number"]},"2M":{"type":["null","number"]},"2Y":{"type":["null","number"]},"3M":{"type":["null","number"]},"3Y":{"type":["null","number"]},"4M":{"type":["null","number"]},"5Y":{"type":["null","number"]},"6M":{"type":["null","number"]},"7Y":{"type":["null","number"]},"10Y":{"type":["null","number"]},"20Y":{"type":["null","number"]},"30Y":{"type":["null","number"]}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"thresholds":{"type":["null","object"],"properties":{"flatBelowPoints":{"type":["null","number"]}}},"attribution":{"type":["null","string"]},"spread10Y2Y":{"type":["null","number"]},"spread10Y3M":{"type":["null","number"]},"previousDate":{"type":["null","string"]},"changeSincePrevious":{"type":["null","object"],"properties":{"1M":{"type":["null","number"]},"1Y":{"type":["null","number"]},"2M":{"type":["null","number"]},"2Y":{"type":["null","number"]},"3M":{"type":["null","number"]},"3Y":{"type":["null","number"]},"4M":{"type":["null","number"]},"5Y":{"type":["null","number"]},"6M":{"type":["null","number"]},"7Y":{"type":["null","number"]},"10Y":{"type":["null","number"]},"20Y":{"type":["null","number"]},"30Y":{"type":["null","number"]}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YISsnO-icmDIaycZab0rE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest US Treasury yield curve across all maturities (1M–30Y), plus 2s10s and 3m10y spreads and a normal/flat/inverted verdict.","exampleAgentPrompt":"What does the US Treasury yield curve look like right now — give me all the yields from 1 month to 30 years, the 2s10s and 3m10y spreads, and tell me whether it's inverted, flat, or normal.","exampleUseCases":[{"title":"Recession signal monitoring","prompt":"Is the US yield curve currently inverted? Give me the 2s10s and 3-month to 10-year spreads and the overall verdict — normal, flat, or inverted."},{"title":"Fixed income portfolio briefing","prompt":"Pull the latest Treasury yields for all maturities from 1 month through 30 years so I can see where rates are sitting across the curve today."},{"title":"Daily macro market snapshot","prompt":"What changed in the Treasury yield curve since yesterday? Show me today's yields and any day-over-day moves across maturities."}],"resultDescription":"A JSON object containing: the date and as-of timestamp of the data, yield values for each Treasury maturity (1M, 2M, 3M, 4M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y), the 2s10s spread, the 3m10y spread, a verdict string (normal/flat/inverted), an array of reasons supporting the verdict, a human-readable summary, day-over-day changes per maturity, previous date data, source URL, attribution, disclaimer, and a degraded flag if data is incomplete.","failureModes":["Treasury data source temporarily unavailable — degraded flag set to true with partial data","Treasury market closed or holiday — may return previous business day's data","Rate limiting or payment failure — 402 response requiring USDC payment","Null values for specific maturities if Treasury didn't publish that tenor","Schema truncation if upstream data feed is stale"],"whenToPreferThis":"Choose this endpoint when you need a complete, ready-interpreted US Treasury yield curve snapshot with pre-computed spreads and an explicit inversion verdict — saving you from fetching raw Treasury data and computing spreads yourself. Prefer it over building your own Treasury scraper or using a general financial data API when you specifically want the 2s10s and 3m10y spread analysis with a plain-English normal/flat/inverted classification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:29.151Z","isFirstParty":false,"canonicalSlug":"us-treasury-yield-curve-161bdb84"}