{"uid":"cap_q_EIzxFjxGLTi49b1S8oM","slug":"us-treasury-yield-curve-2c3bcf03","name":"US Treasury Yield Curve","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/treasury-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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"date":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"10/23/2026","curve":{"1 Mo":4.11,"10 Yr":5,"30 Yr":5.33}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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_Cnrw-I5YRc1qMHXZjHko3","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":"Fetches the current or historical US Treasury yield curve with rates for multiple maturities (1-month through 30-year)","exampleAgentPrompt":"Pull today's US Treasury yield curve for me — I want to see the rates from the 1-month bill all the way out to the 30-year bond.","exampleUseCases":[{"title":"Daily yield curve snapshot for macro research","prompt":"What does the US Treasury yield curve look like today? Give me all the rates from 1-month to 30-year."},{"title":"Historical yield curve for bond valuation","prompt":"I need the Treasury yield curve for October 23, 2026 — specifically the 1-month, 10-year, and 30-year rates — to discount some cash flows."},{"title":"Yield curve inversion monitoring for trading strategy","prompt":"Is the Treasury yield curve currently inverted? Fetch the latest curve and tell me if short-term rates are above long-term rates."}],"resultDescription":"A JSON object with the date of the yield curve and a 'curve' object mapping maturity labels (e.g. '1 Mo', '10 Yr', '30 Yr') to their corresponding yield rates as decimal percentages.","failureModes":["Invalid or future date requested — may return empty or error","Date with no treasury data (e.g. weekend/holiday) — may return null or nearest available date","Service unavailable — HTTP 5xx from upstream data source","Payment failure — x402 payment not processed correctly, returns 402"],"whenToPreferThis":"Choose this endpoint when you need US Treasury yield curve data across multiple maturities in a single call without setting up accounts or API keys. Ideal for AI agents needing risk-free rate data for financial modeling, bond pricing, or macro analysis, paid per-call in USDC with no subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:16.382Z","isFirstParty":false,"canonicalSlug":"us-treasury-yield-curve-2c3bcf03"}