Skip to content
GET /v1/yields

All countries' latest long-term yields, ranked

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/worldbonds-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/worldbonds-api/v1/yields" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/worldbonds-api/v1/yields", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/worldbonds-api/v1/yields");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/worldbonds-api/v1/yields",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "as_of": "2026-05",
        "count": 44,
        "source": "OECD",
        "yields": [
            {
                "code": "COL",
                "period": "2026-04",
                "country": "Colombia",
                "yield_pct": 13.16,
                "spread_vs_bund_bps": 1011
            },
            {
                "code": "MEX",
                "period": "2026-05",
                "country": "Mexico",
                "yield_pct": 9.45,
                "spread_vs_bund_bps": 640
            },
            {
                "code": "BRA",
                "period": "2026-05",
                "country": "Brazil",
                "yield_pct": 9.13,
                "spread_vs_bund_bps": 608
            },
            {
                "code": "ZAF",
                "period": "2026-05",
                "country": "South Africa",
                "yield_pct": 8.995,
                "spread_vs_bund_bps": 595
            },
            {
                "code": "IND",
                "period": "2026-03",
                "country": "India",
                "yield_pct": 6.84,
                "spread_vs_bund_bps": 379
            },
            {
                "code": "CRI",
                "period": "2026-04",
                "country": "Costa Rica",
                "yield_pct": 6.6325,
                "spread_vs_bund_bps": 359
            },
            {
                "code": "ROU",
                "period": "2026-04",
                "country": "Romania",
                "yield_pct": 6.15,
                "spread_vs_bund_bps": 310
            },
            {
                "code": "POL",
                "period": "2026-05",
                "country": "Poland",
                "yield_pct": 5.74,
                "spread_vs_bund_bps": 269
            },
            {
                "code": "HUN",
                "period": "2026-05",
                "country": "Hungary",
                "yield_pct": 5.65,
                "spread_vs_bund_bps": 260
            },
            {
                "code": "CHL",
                "period": "2026-04",
                "country": "Chile",
                "yield_pct": 5.4647,
                "spread_vs_bund_bps": 242
            },
            {
                "code": "AUS",
                "period": "2026-05",
                "country": "Australia",
                "yield_pct": 4.99,
                "spread_vs_bund_bps": 194
            },
            {
                "code": "GBR",
                "period": "2026-05",
                "country": "United Kingdom",
                "yield_pct": 4.9416,
                "spread_vs_bund_bps": 190
            },
            {
                "code": "CZE",
                "period": "2026-04",
                "country": "Czechia",
                "yield_pct": 4.7383,
                "spread_vs_bund_bps": 169
            },
            {
                "code": "NZL",
                "period": "2026-05",
                "country": "N
…