API · /yieldcurve-api

US Treasury Yield Curve API

healthy 4,915 Subscribers

Live US Treasury yield curve as an API — US government bond yields across the curve, served from Yahoo Finance. It returns the current yield (in percent) for the 3-month, 2-year, 5-year, 10-year and 30-year Treasuries with their daily change in basis points, the shape of the curve (steep, normal, flat or inverted), and the key spreads traders and economists watch — the 10y-2y and 10y-3m spreads, whose inversion has preceded every modern US recession — plus an inverted flag. Get the whole curve, a single maturity's yield, or the spread between any two maturities. The interest-rate and recession-signal layer for trading, macro-research and dashboard apps. Live, no key, no cache. Distinct from US Treasury fiscal-data APIs (which track national debt and issuance) — this is the live market yield curve.

api.oanor.com/yieldcurve-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/yieldcurve-api/openapi.json
/api/yieldcurve-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
175 ms
Server probes · 24h
Subscribers
4,915
active
Total calls
24
last 7 days
status Full status page → · 8 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 9,000 calls / month
  • 4 requests / second
  • Hard cap (429 above quota, no overage)
  • 9k calls/month
  • 4 req/sec
  • All endpoints
  • No credit card
Sign in to subscribe

Starter

€10.00 /month

  • 130,000 calls / month
  • 12 requests / second
  • Hard cap (429 above quota, no overage)
  • 130k calls/month
  • 12 req/sec
  • Email support
Sign in to subscribe

Pro

€26.00 /month

  • 650,000 calls / month
  • 35 requests / second
  • Hard cap (429 above quota, no overage)
  • 650k calls/month
  • 35 req/sec
  • Priority support
Sign in to subscribe

Desk

€63.00 /month

  • 3,300,000 calls / month
  • 100 requests / second
  • Hard cap (429 above quota, no overage)
  • 3.3M calls/month
  • 100 req/sec
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

European Central Bank API

Live official euro-area monetary data from the ECB Data Portal — no key, nothing cached. This is the money side of the euro, not exchange rates. The key-rates endpoint returns the ECB's three policy interest rates — the deposit facility rate, the main refinancing operations (MRO) rate and the marginal lending facility rate — the rates that set the price of money across the euro area, each with the date it took effect and recent history (deposit facility around 2.00%, MRO 2.15%). The estr endpoint returns €STR, the euro short-term rate, the overnight benchmark that replaced EONIA, with its recent path. The yield-curve endpoint returns the euro-area AAA-rated government bond spot-rate curve across maturities from 3 months to 30 years, with the 10-year-minus-1-year slope. Everything is the ECB's own published series. This is the euro-rates layer for any fixed-income, macro, forex or research app that needs authoritative European central-bank numbers. Live from the ECB, nothing stored. Distinct from exchange-rate APIs and from the Bank of Canada and US-Treasury APIs — this is the ECB's policy rates, €STR and euro yield curve. 4 endpoints.

api.oanor.com/ecb-api

Crypto Treasury API

Live data on the public companies that hold Bitcoin and Ethereum on their balance sheets, from the public CoinGecko feed. Rank every public company by how much of the coin it holds, with current and entry value, average entry price, country and share of total supply; get the aggregate corporate holdings, USD value and market-cap dominance; find a specific holder by name, ticker or country; and compare Bitcoin and Ethereum corporate treasuries side by side. The corporate crypto-treasury layer — distinct from price and exchange feeds: it answers who holds how much, and what they paid. Live, with a short 60-second upstream cache.

api.oanor.com/cryptotreasury-api

Fed SOMA Balance Sheet API

Live data on the Federal Reserve's balance sheet — the System Open Market Account (SOMA) — via the Federal Reserve Bank of New York's public markets API. SOMA is the portfolio of Treasury securities, agency debt and agency MBS the Fed holds, the asset side of the world's most important central-bank balance sheet, the thing that grows in QE and shrinks in QT. Get the latest weekly snapshot — total holdings and the breakdown across bills, notes and bonds, TIPS, FRNs, agency MBS, CMBS and agency debt. Pull the weekly time series back two decades to see every round of quantitative easing and tightening. Read the actual line-item securities the Fed owns — each CUSIP with its security type, maturity, coupon, par value held and share of the issue outstanding. Bucket the Treasury holdings by time to maturity, the profile that drives the pace of runoff. Live, no key, nothing stored. Distinct from money-market reference-rate, FX-rate, central-bank-policy and stock-index APIs — this is the size, composition and maturity of the Fed's actual securities portfolio. Perfect for rates, macro, fixed-income and analytics apps.

api.oanor.com/fedsoma-api

US Treasury Auctions API

Live results and schedule of US Treasury debt auctions, served from the US Treasury's FiscalData API — no key, nothing cached. Every Treasury bill, note, bond, TIPS and FRN is sold at auction, and the results are the market's clearest read on demand for US government debt. The auctions endpoint returns the most recent auctions — bills, notes, bonds and more — each with its CUSIP, security type and term, auction and issue dates and offering amount. The results endpoint returns the recently completed auctions with the numbers that matter: the high yield or discount rate, the bid-to-cover ratio (how many dollars were bid for each dollar offered — the headline demand gauge, around 2.5 for a healthy 20-year bond), the interest rate and the price. The security endpoint returns the full detail of one auctioned security by its CUSIP. Everything is the Treasury's own published auction data, live, nothing stored. This is the Treasury-auction layer for any fixed-income, rates, macro or research app. Distinct from debt-level and yield-curve APIs — this is the auction calendar and results: what the Treasury sold, at what yield, and how strong the demand was. 3 endpoints, no key on our side.

api.oanor.com/treasuryauctions-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for US Treasury Yield Curve API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call US Treasury Yield Curve API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for US Treasury Yield Curve API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does US Treasury Yield Curve API cost?
US Treasury Yield Curve API has a free tier with 100 calls / month. Paid plans start at €10.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is US Treasury Yield Curve API GDPR-compliant?
All requests to US Treasury Yield Curve API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/yieldcurve-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/yieldcurve-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/yieldcurve-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/yieldcurve-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.