{"uid":"cap_ZF54C6UWTEJUyu_7l8gjY","slug":"us-treasury-yield-curve-interest-rates-656bf320","name":"US Treasury Yield Curve & Interest Rates","description":"US Treasury interest rates: the Daily Treasury Par Yield Curve fused with the average interest rates on the outstanding debt by security type. Computes the 2s10s spread and an inversion flag. The yield curve is a resilient partial grain that degrades to the average rates if its upstream is unreachable.","url":"https://api.agentstools.dev/treasury/rates","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":{"year":{"type":"integer","maximum":2100,"minimum":1990,"description":"Calendar year of the par yield curve (default current)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J3Tbc8QsUpSIz3W92ScmR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the Daily Treasury Par Yield Curve fused with average outstanding debt interest rates, including the 2s10s spread and a yield-curve inversion flag, for a given calendar year.","exampleAgentPrompt":"Pull today's US Treasury par yield curve data, including the 2s10s spread and whether the curve is currently inverted.","exampleUseCases":null,"resultDescription":"A JSON object containing the Daily Treasury Par Yield Curve rates fused with average interest rates on outstanding US debt by security type, the computed 2s10s spread, and a boolean inversion flag. Falls back gracefully to average debt rates if the par yield curve upstream is unavailable.","failureModes":["Requested year is outside the supported range (1990–2100) — 400 error","Treasury upstream temporarily unreachable — partial response using average debt rates only (degraded mode)","Year has no data yet (future year) — empty or partial dataset","x402 payment not included or insufficient — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need authoritative US Treasury yield curve data enriched with average outstanding debt rates and pre-computed spread/inversion signals in a single call, especially when building macroeconomic dashboards, recession monitors, or fixed-income analysis tools. Prefer over raw Treasury scraping when you need the 2s10s spread and inversion flag pre-computed and a resilient fallback to average rates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:14:00.007Z","isFirstParty":false}