Skip to content
GET /v1/rates

Current SOFR Averages, Index, term-slope and overnight SOFR

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/sofraverages-api

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "note": "The New York Fed's published SOFR Averages (compounded backward-looking term rates over 30/90/180 calendar days) and the SOFR Index (the cumulative compounding factor used to derive a compounded rate between any two dates). These are the rates SOFR-linked loans and FRNs reference — not the overnight fixing, which is shown for context. Read fresh per call, lightly cached.",
        "source": "Federal Reserve Bank of New York, SOFR Averages & Index (SOFRAI)",
        "sofr_index": 1.2467126,
        "term_slope": "term averages slope down (180d 3.68053 > 30d 3.59301, spread +0.088%): the overnight rate has been falling, so longer look-backs still carry older, higher fixings",
        "average_30day": 3.59301,
        "average_90day": 3.63674,
        "average_180day": 3.68053,
        "effective_date": "2026-06-11",
        "overnight_sofr": {
            "rate": 3.59,
            "effective_date": "2026-06-10",
            "volume_billions": 3023
        }
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:31.693Z",
        "request_id": "9a1242f7-c569-4b83-981a-464a4195c76e"
    },
    "status": "ok",
    "message": "SOFR averages retrieved successfully",
    "success": true
}