Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/realyields-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/realyields-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/realyields-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/realyields-api/v1/meta");
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/realyields-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Yields are percent. Breakeven inflation = nominal yield - real yield (a 10-year breakeven of 2.3 means the market prices ~2.3% average inflation over 10 years). maturity is 5year, 7year, 10year, 20year or 30year. year defaults to the current year.",
        "source": "US Treasury daily yield-curve feeds (home.treasury.gov, real + nominal)",
        "service": "realyields-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/history": "Daily real/nominal/breakeven series for one maturity (maturity=10year, year=2026).",
            "GET /v1/breakeven": "Market-implied inflation by maturity = nominal - real (with components).",
            "GET /v1/realyields": "Latest TIPS real (inflation-protected) yield curve (year=2026 optional)."
        },
        "description": "The inflation-adjusted side of the US Treasury curve. realyields returns the latest TIPS real yield curve (inflation-protected yields at 5, 7, 10, 20 and 30 years); breakeven returns market-implied inflation — the nominal yield minus the real yield at each maturity, i.e. the inflation the bond market is pricing in — with the nominal and real components; history returns the daily real-yield, nominal-yield and breakeven time series for one maturity over a year. Live, no key, nothing stored. The real-yield / inflation-expectations data-cut — distinct from the nominal yield-curve, world-bond and central-bank-rate APIs.",
        "latest_date": "2026-06-11",
        "upstream_status": "ok",
        "breakeven_10y_pct": 2.29
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:31.526Z",
        "request_id": "fda1b1b3-d600-4d1a-9ed2-2a4d8fba1622"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}