{"uid":"cap_dts6vFm7Se5qEKqNW-pfk","slug":"gloom-yield-curves-api-d3fbb087","name":"Gloom Yield Curves API","description":"Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.","url":"https://api.gloom.sh/v1/yield-curves?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":[{"asOf":"2026-09-29","curve":{"id":"us","basis":"par","label":"US Treasury","country":"US","couponsPerYear":2},"points":[{"tenor":"1M","years":0.0833333333333,"yield":4.04}],"previous":null,"checkedAt":"2026-09-30T12:00:00.000Z"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9eAtOh0e-88IjGBKpDgwl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current and historical yield curve data (par yields by tenor) for sovereign bond markets such as US Treasuries.","exampleAgentPrompt":"Can you pull the current US Treasury par yield curve from Gloom, including all available tenor points like 1-month through 30-year, so I can see where rates are sitting today?","exampleUseCases":[{"title":"Daily Treasury yield snapshot","prompt":"Fetch today's US Treasury par yield curve from Gloom and show me all the tenor points — I want to see yields from 1-month out to 30 years."},{"title":"Fixed income portfolio risk check","prompt":"Pull the current yield curve data from Gloom so I can check how much my bond portfolio duration has shifted relative to where rates are now across the short and long end."},{"title":"Macro research on yield curve shape","prompt":"Get me the latest US Treasury yield curve data from Gloom — I'm trying to see if the curve is inverted or steepening between the 2-year and 10-year tenors."}],"resultDescription":"Returns an array of yield curve objects, each containing a curve ID (e.g. 'us'), basis type (e.g. 'par'), label, country, coupons-per-year, an as-of date, and an array of tenor/yield point pairs (e.g. 1M at 4.04%). Also includes a previous curve snapshot and a checkedAt timestamp.","failureModes":["Invalid or unsupported curve ID returns empty data array","Network timeout or upstream data unavailability returns 5xx error","Payment not received results in 402 Payment Required response","Malformed query parameters may return 400 Bad Request","Data may lag real-time by up to 24 hours depending on source refresh"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable sovereign yield curve data with multiple tenor points in a single call. It is ideal for fixed income analysis, macro research, or any use case requiring par yield data across maturities. Prefer this over scraping Treasury websites or using general financial data APIs when you want a simple, pay-per-call REST interface with no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.621Z","isFirstParty":false,"canonicalSlug":"gloom-yield-curves-api-d3fbb087"}