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 Payments

Developing
GET
https://api.onetrading.com/fast/v1/account/futures/funding-payments
Returns a paginated list of funding payments, grouped by instrument code and sorted in descending order by timestamp. If no instrument code is provided, funding payments are fetched for all markets.
Default Behavior for from and to parameters
Parameters ProvidedBehavior
Neither from nor toReturns last 7 days from UTC midnight to current time
Only fromReturns 7 days starting from the provided from date
Only toReturns 7 days ending at the provided to date (starting from UTC midnight 7 days prior)
Both from and toReturns funding payments within the specified date range (max 90 days)

Parameter Specification#

ParameterAccepted FormatsExample Values
fromISO 86012025-09-25T13:45:30Z (s), 2025-09-25T13:45:30.123Z (ms), 2025-09-25T13:45:30.123456Z (us)
Epoch1695647130 (s), 1695647130123 (ms), 1695647130123456 (us)
Date2025-09-25
toISO 86012025-09-26T18:00:00Z (s), 2025-09-26T18:00:00.456Z (ms), 2025-09-26T18:00:00.456789Z (us)
Epoch1695734400 (s), 1695734400456 (ms), 1695734400456789 (us)
Date2025-09-26
instrument_codeStringBTC_EUR_P (single)
ListBTC_EUR_P,ETH_EUR_P (comma-separated list)
max_page_sizeInteger3
cursorStringeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Parameter Limits#

ParameterConstraints / Range
fromDate between 2024-01-01 and present
toDate not earlier than from; the period between from and to must not exceed 30 days
max_page_sizeInteger between 0 and 10
instrument_codeOptional; must be valid market code(s)
cursorOptional; string returned by previous response

Parameter Defaults#

Parameter(s)Default Behavior
from / toNeither provided: from = 7 days ago at midnight UTC, to = present time
from / toOnly from provided: to = 7 days later or present time, whichever is smaller
from / toOnly to provided: from = 7 days earlier
instrument_codeDefaults to all perpetual markets
max_page_sizeDefaults to 3

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200OK
application/json
Body

🟠400Bad Request
🟠403Forbidden
🔴500ServerError
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.onetrading.com/fast/v1/account/futures/funding-payments?from=2025-01-15T10:30:00Z&to=2025-01-16T10:30:00Z&instrument_code=BTC_EUR_P&cursor=1754395201021329&max_page_size=100' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - With Cursor
{
    "account_id": "abc12345-6789-abcd-efgh-ijklmnopqrst",
    "funding_payments": {
        "ETH_EUR_P": [
            {
                "timestamp": "2025-08-05T12:00:16.011Z",
                "funding_payment": 0.1727217,
                "cash_balance": 9380.49600963
            }
        ],
        "BTC_EUR_P": [
            {
                "timestamp": "2025-08-05T12:00:01.021Z",
                "funding_payment": -0.02739235,
                "cash_balance": 9383.89391196
            }
        ]
    },
    "max_page_size": 2,
    "cursor": "1754395201021329"
}
Previous
Funding Rate Methodology
Next
Current Funding Rate
Built with