One Trading API
REST APIWebSocket API
REST APIWebSocket API
  1. Futures
  • Public
    • Currencies
      GET
    • Instruments
      GET
    • Candlesticks
      GET
    • Fee Groups
      GET
    • Order Book
      GET
    • Market Ticker
      GET
    • Market Ticker For Instrument
      GET
    • Time
      GET
  • Trading
    • Balances
      GET
    • Fees
      GET
    • Get Orders
      GET
    • Create Order
      POST
    • Get Order by Order ID
      GET
    • Get Order by Client ID
      GET
    • Cancel All Orders
      DELETE
    • Cancel Order by Order ID
      DELETE
    • Cancel Order by Client ID
      DELETE
    • Get Trades for Order
      GET
    • Get Trades
      GET
    • Get Trade by Trade ID
      GET
  • Futures
    • Introduction
    • Funding Rate Methodology
    • Funding Payments
      GET
    • Current Funding Rate
      GET
    • Funding Rate History
      GET
    • Futures Portfolio Summary
      GET
    • Get Futures Open Positions
      GET
  1. Futures

Funding Rate History

Developing
GET
https://api.onetrading.com/fast/v1/funding-rate/history
Retrieve the historical funding rates for a specific instrument. This endpoint provides the settled funding rates, updated every 4 hours.
An instrument code is the id property from the Instruments endpoint.
Funding rates are only available for futures markets.

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.onetrading.com/fast/v1/funding-rate/history?instrument_code=BTC_EUR_P&from=1733397387858&to=1733411787858&limit=1000' \
--header 'Authorization: Bearer <token>'
Response Response Example
[
    {
        "instrument_code": "BTC_EUR_P",
        "funding_rate": "0.00002221799",
        "mark_price": "92525.35",
        "time": 1733397387858
    },
    {
        "instrument_code": "BTC_EUR_P",
        "funding_rate": "0.00002311127",
        "mark_price": "92812.40",
        "time": 1733411787858
    },
    {
        "instrument_code": "BTC_EUR_P",
        "funding_rate": "0.00002329418",
        "mark_price": "92955.98",
        "time": 1733411787858
    }
]
Previous
Current Funding Rate
Next
Futures Portfolio Summary
Built with