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
    • Current Funding Rate
      GET
    • Funding Rate History
      GET
    • Futures Portfolio Summary
      GET
    • Get Futures Open Positions
      GET
  1. Futures

Current Funding Rate

Developing
GET
https://api.onetrading.com/fast/v1/funding-rate
Retrieve the current funding rate for one or all futures instruments. The funding rate is calculated every minute but is settled every 4 hours.
An instrument code is the id property from the Instruments endpoint.
Funding rates are only available for futures markets.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.onetrading.com/fast/v1/funding-rate?instrument_code=BTC_EUR_P'
Response Response Example
Single Instrument Code
[
  {
    "instrument_code": "BTC_EUR_P",
    "funding_rate": "0.02500000",
    "mark_price": "92500",
    "time": 1733397081146
  }
]

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Query Params
instrument_code
string 
optional
The specific instrument code (e.g. BTC_EUR_P) to fetch the funding rate for. If not provided, returns funding rates for all futures instruments.
Example:
BTC_EUR_P

Responses

🟢200Success
application/json
Body
array of:
instrument_code
string 
required
The unique identifier for the instrument
funding_rate
string 
required
The current funding rate for the specified instrument in fractional form. Negative rates indicate shorts paying longs, and positive rates indicate longs paying shorts.
mark_price
string 
required
The current mark price of the instrument, used as the reference price for funding rate calculation.
time
integer 
required
Unix timestamp (in milliseconds) indicating when the funding rate was last calculated.
Previous
Funding Rate Methodology
Next
Funding Rate History
Built with