One country's long-term yield + history
API · /worldbonds-api
World Government Bond Yields API
Live long-term (about 10-year) government bond interest rates for around 44 countries, side by side, served from the OECD's official statistics in a single live call. The long-term government bond yield is the benchmark cost of money for an economy, and this puts the whole developed world on one screen — the United States, Germany, the United Kingdom, Japan, Canada, Australia, Brazil, Switzerland, Mexico, Colombia and dozens more — each with its latest published rate and the month it covers. The yields endpoint returns every country ranked by yield together with its spread over the German Bund, the euro-area safe-asset benchmark: in mid-2026 Colombia near 13.2%, Mexico 9.5% and Brazil 9.1% sit at the top while Switzerland near 0.5% sits at the bottom, with the US around 4.5% and the German Bund around 3.0%. The country endpoint returns one country's long-term yield with two years of recent monthly history. The spreads endpoint ranks every country by its yield spread over a chosen benchmark — Germany or the United States — the risk-and-rate-differential picture fixed-income and macro desks watch. This is the international-rates comparison layer for any fixed-income, forex, macro or research app. Live from the OECD, nothing stored. Distinct from single-country central-bank and yield-curve APIs — this is the cross-country sovereign-yield comparison across the developed world. Monthly OECD series; 4 endpoints. No key, no cache.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 2210 ms
- Server probes · 24h
- Subscribers
- 3,265
- active
- Total calls
- 20
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 800 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 800 calls/month
- 2 req/sec
- All 44 countries + spreads
- No credit card
Starter
€11.00 /month
- 15,000 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 15,000 calls/month
- 6 req/sec
- Country history + benchmark spreads
- Email support
Pro
€29.00 /month
- 90,000 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- 90,000 calls/month
- 15 req/sec
- Fixed-income & macro pipelines
- Priority support
Mega
€69.00 /month
- 500,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 500,000 calls/month
- 40 req/sec
- Desk & platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
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
US Treasury Yield Curve API
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
Crypto Yields API
Live DeFi yield-farming APYs across the whole decentralised-finance ecosystem as an API, streamed from the DefiLlama yields feed. For thousands of liquidity pools across every chain and protocol: the current APY split into base and reward, the pool's TVL, its chain, project and token symbol, whether it is a stablecoin pool and its impermanent-loss risk. Rank the top yields with a sensible TVL floor (so dust-pool noise is filtered out), drill into any single protocol or chain, filter to stablecoin pools, or search. Built for DeFi, yield-aggregator and dashboard apps. Distinct from TVL and price APIs — this is the live yield surface. Note: very high APYs are reward-driven and transient; use a TVL floor, the stablecoin filter, or sort by TVL for durable yields.
api.oanor.com/cryptoyields-api
US Federal Fiscal API
Live US federal fiscal data from the US Treasury's official FiscalData API — the cost-and-flow side of US public finance. Get the federal budget deficit or surplus by month for the current fiscal year (receipts, outlays and the net) from the Monthly Treasury Statement; the interest the United States pays to service its national debt, by month and fiscal-year-to-date, broken down by security type; and the average interest rate the Treasury pays on each class of its debt (Bills, Notes, Bonds, TIPS) plus the weighted overall rate. Live, no key, nothing cached. Distinct from debt-level (debt-to-the-penny) and auction feeds — this is the deficit, the interest bill and the average rate on the debt.
api.oanor.com/usfiscal-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for World Government Bond Yields API?
What's the rate limit for World Government Bond Yields API?
How much does World Government Bond Yields API cost?
Can I cancel my subscription anytime?
Is World Government Bond Yields API GDPR-compliant?
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/worldbonds-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/worldbonds-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/worldbonds-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/worldbonds-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 inNew thread
·
-
Provider answer
🔒 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 inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.