Skip to content
GET /v1/funding

Perpetual funding rate + APR

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "inst": "BTC-USDT-SWAP",
        "note": "funding paid every 8 hours; APR = rate x 3 x 365",
        "type": "SWAP",
        "source": "OKX",
        "funding_rate": 2.73005677008e-5,
        "funding_time": "2026-06-10T00:00:00.000Z",
        "funding_apr_pct": 2.9894,
        "funding_rate_pct": 0.00273,
        "next_funding_rate": null,
        "next_funding_time": "2026-06-10T08:00:00.000Z"
    },
    "meta": {
        "timestamp": "2026-06-09T20:24:47.832Z",
        "request_id": "f2758386-5b38-4c85-87b7-dc4978bdceaf"
    },
    "status": "ok",
    "message": "Funding rate retrieved successfully",
    "success": true
}