Aller au contenu
GET /v1/funding

Latest funding rate with mark/oracle/index price

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/edgex-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/edgex-api/v1/funding" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/edgex-api/v1/funding", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/edgex-api/v1/funding");
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/edgex-api/v1/funding",
    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": {
        "name": "BTCUSD",
        "mark_price": 65951.95000059903,
        "contract_id": "10000001",
        "index_price": 65934.268332833,
        "funding_rate": 5.0e-5,
        "funding_time": "1781510400000",
        "oracle_price": 65951.95000059903,
        "funding_timestamp": "1781522100000"
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:59.647Z",
        "request_id": "d9115afc-8b6d-424c-9207-ab1e48359cfb"
    },
    "status": "ok",
    "message": "Funding retrieved successfully",
    "success": true
}