{"uid":"cap_KswCYts2dm8JpWnY5THcY","slug":"foundry-treasury-yields-268511a5","name":"Foundry Treasury Yields","description":"US Treasury yields: the latest daily par yield curve from 1 month to 30 years, with the 10y-2y spread (U.S. Treasury, public domain). Input: any text.","url":"https://minty-sprout.onrender.com/v1/treasury-yields?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Any text"}}},"responseSchema":{"type":"json","example":{"date":"2026-10-30","source":"U.S. Department of the Treasury daily par yield curve (public domain)","spread_10y_2y":0.38,"yields_percent":{"1m":4.06,"1y":4.36,"2y":4.56,"3m":4.16,"5y":4.71,"6m":4.25,"10y":4.94,"20y":5.34,"30y":5.31}}},"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_e5fMAV8ykX9UDxYhX1vTp","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":"Returns the latest daily US Treasury par yield curve rates from 1-month to 30-year maturities, plus the 10y-2y spread","exampleAgentPrompt":"What are today's US Treasury yields across the full curve — from 1-month to 30-year — and what's the current 10y-2y spread?","exampleUseCases":[{"title":"Daily bond market briefing","prompt":"Pull today's full US Treasury yield curve and tell me whether the curve is inverted based on the 10y-2y spread."},{"title":"Macro research rate snapshot","prompt":"I'm writing a macro report — give me the latest Treasury par yields for the 2-year, 5-year, 10-year, and 30-year, plus the 10y-2y spread as of today."},{"title":"Automated portfolio rate monitor","prompt":"Check the current US Treasury yields and flag if the 10-year rate has moved above 5% or the yield curve is inverted."}],"resultDescription":"Returns a JSON object with the date of the yield curve, all Treasury par yields in percent across maturities (1m, 3m, 6m, 1y, 2y, 5y, 10y, 20y, 30y), the 10y-2y spread in percent, and the source attribution from the U.S. Department of the Treasury.","failureModes":["Stale data if Treasury has not published a new curve for the day (e.g. market holiday)","Service unavailable if the Render.com host is cold-starting or down","Upstream Treasury data source unavailable or delayed","Input validation error if request body is malformed"],"whenToPreferThis":"Use this endpoint when you need a quick, structured snapshot of the entire US Treasury par yield curve and the 10y-2y spread without needing to scrape the Treasury website directly. It is ideal for agents performing macro analysis, portfolio monitoring, or financial reporting where real-time government bond rates are needed in a machine-readable format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:41.080Z","isFirstParty":false,"canonicalSlug":"foundry-treasury-yields-268511a5"}