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.

US Treasury Yield Curve API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
159 ms
Server probes · 24h
Subscribers
4,915
active
Total calls
80
last 7 days
status Full status page → · 16 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 — oanor API marketplace

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

Decred Politeia Governance API — oanor API marketplace

Decred Politeia Governance API

Decred Politeia — Decred's on-chain treasury governance — live from the public Politeia API, no key, nothing cached. Politeia is Decred's proposal system: contributors submit funding and policy proposals, and DCR stakeholders vote on them with their tickets, with on-chain quorum and approval thresholds. The base Decred reader covers the chain and staking, but not Politeia; this opens it. List treasury proposals by vote status — approved, rejected, started, authorized — each with its title, author and yes / no ticket-vote tally and approval percentage. Read a single proposal in full with its complete vote result, the quorum and pass thresholds and the eligible-ticket count. And get a live governance overview: how many vetted proposals currently sit in each vote status. The treasury-governance layer for Decred wallets, stakeholder dashboards, voters and analytics. Live from proposals.decred.org.

api.oanor.com/politeia-api

Cardano Chain API — oanor API marketplace

Cardano Chain API

Read live Cardano chain economics and epoch data from the public Koios indexer — no key — focused on the network-wide view that stake-account and asset readers miss. The tip endpoint returns the chain head: the current epoch, block height and slot. The epoch endpoint returns any epoch's activity — blocks produced, total transactions, total output and fees (in ADA) and the active stake securing it, with its start and end. And the supply endpoint returns Cardano's ADA monetary breakdown: total supply, circulating, reserves (still to be issued), treasury (the on-chain governance fund) and the reward pot, against the fixed 45-billion-ADA cap. The chain-economics layer every Cardano wallet, explorer, staker and analytics tool needs. Live from the indexer; short cache only.

api.oanor.com/cardanochain-api

DAO Treasury API — oanor API marketplace

DAO Treasury API

Live treasury composition for DeFi protocols and DAOs, keyless. For any protocol it returns the value its DAO holds in its treasury, split into the protocol OWN governance token versus real diversified reserves (stablecoins, ETH, BTC and other assets) — the single most-watched measure of treasury health and runway — broken down per chain, plus the treasury value over time. Live, nothing stored. The DAO-treasury layer for DeFi research, governance, risk and dashboard apps — this is treasury composition (own-token vs real reserves), not protocol TVL.

api.oanor.com/daotreasury-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.