Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/usrates-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "source": "Federal Reserve Bank of New York markets API (live)",
        "service": "usrates-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/sofr": "SOFR in detail: rate, percentile distribution and recent trend.",
            "GET /v1/rates": "All latest reference rates (SOFR, EFFR, OBFR, TGCR, BGCR) with volume and date.",
            "GET /v1/history": "Recent daily history of one rate (type=sofr|effr|obfr|tgcr|bgcr, count up to 250)."
        },
        "rate_types": [
            "sofr",
            "bgcr",
            "tgcr",
            "effr",
            "obfr"
        ],
        "description": "Live US money-market benchmark rates from the Federal Reserve Bank of New York: SOFR (the headline Secured Overnight Financing Rate), the Effective Federal Funds Rate (EFFR), the Overnight Bank Funding Rate (OBFR) and the Treasury and Broad General Collateral Rates (TGCR, BGCR), each with rate, daily volume and date; SOFR in detail with its percentile distribution and recent trend; and the recent daily history of any one rate. Live, no key, nothing stored. Distinct from the ECB and central-bank-policy APIs — these are the US secured and unsecured money-market reference rates.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-09T11:39:26.923Z",
        "request_id": "833e4278-c5bd-425e-aaa4-7c66f7c0cdbc"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}