Crypto funding rate (OKX, perps)
crypto_funding_rateRetrieve current funding rate and next funding time for a perpetual swap. Optionally fetch recent historical funding rates with a specified limit.
Instructions
Current funding rate + next funding time for a perpetual swap. Set history: true for recent historical funding rates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Only with history | |
| instId | Yes | Perpetual swap id, e.g. BTC-USDT-SWAP | |
| history | No |