Zum Inhalt springen
GET /v1/history

Recent history of one rate

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/usrates-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "name": "Secured Overnight Financing Rate",
        "type": "sofr",
        "count": 30,
        "history": [
            {
                "date": "2026-06-05",
                "name": "Secured Overnight Financing Rate",
                "type": "SOFR",
                "rate_pct": 3.63,
                "percentiles": {
                    "p1": 3.58,
                    "p25": 3.61,
                    "p75": 3.68,
                    "p99": 3.71
                },
                "volume_billions": 3131
            },
            {
                "date": "2026-06-04",
                "name": "Secured Overnight Financing Rate",
                "type": "SOFR",
                "rate_pct": 3.62,
                "percentiles": {
                    "p1": 3.58,
                    "p25": 3.59,
                    "p75": 3.67,
                    "p99": 3.7
                },
                "volume_billions": 3147
            },
            {
                "date": "2026-06-03",
                "name": "Secured Overnight Financing Rate",
                "type": "SOFR",
                "rate_pct": 3.61,
                "percentiles": {
                    "p1": 3.58,
                    "p25": 3.59,
                    "p75": 3.67,
                    "p99": 3.7
                },
                "volume_billions": 3098
            },
            {
                "date": "2026-06-02",
                "name": "Secured Overnight Financing Rate",
                "type": "SOFR",
                "rate_pct": 3.63,
                "percentiles": {
                    "p1": 3.59,
                    "p25": 3.61,
                    "p75": 3.68,
                    "p99": 3.71
                },
                "volume_billions": 3148
            },
            {
                "date": "2026-06-01",
                "name": "Secured Overnight Financing Rate",
                "type": "SOFR",
                "rate_pct": 3.65,
                "percentiles": {
                    "p1": 3.6,
                    "p25": 3.63,
                    "p75": 3.71,
                    "p99": 3.74
                },
                "volume_billions": 3224
            },
            {
                "date": "2026-05-29",
                "name": "Secured Overnight Financing Rate",
                "type": "SOFR",
                "rate_pct": 3.63,
                "percentiles": {
                    "p1": 3.58,
                    "p25": 3.61,
                    "p75": 3.69,
                    "p99": 3.72
                },
                "volume_billions": 3201
            },
            {
                "date": "2026-05-28",
                "name": "Secured Overnight Financing Rate",
                "type": "SOFR",
                "rate_pct": 3.62,
                "percentiles": {
                    "p1": 3.58,
                    "p25": 3.6,
                    "p75": 3.68,
                    "p99": 3.72
                },
                "vol
…