Skip to main content

Historical Funding Rate

GET 

/api/v1/funding-rate

Fetch historical funding rate data for a given exchange and symbol.

Request

Query Parameters

    exchange stringrequired

    Specifes exchange

    Example: binance
    symbol stringrequired

    Specifies symbol

    Example: BTC-USDT
    page string

    Specifies page

    Default value: 1
    Example: 1
    limit string

    Specifies limit

    Default value: 1000
    Example: 1000
    from string

    Specifies from

    Example: 2021-01-01
    to string

    Specifies to

    Example: 2021-01-01
    sort string

    Possible values: [asc, desc]

    Specifies sort

    Default value: asc
    Example: asc

Header Parameters

    X-DTMX-APIKEY stringrequired

    Your DataMaxi+ API key

Responses

OK

Schema

  • Array [

  • data

    object[]

    data specifies an array of funding rate data

  • Array [

  • d string

    specifies the date and time

    Example: 2021-01-01 00:00:00
    f string

    specifies the funding rate

    Example: 0.0000782
    m string

    specifies the mark price

    Example: 58813.19
  • ]

  • from string

    specifies the start date of the requested data (either from or to can be used, but not both)

    limit integer

    specifies the number of records per page

    page integer

    specifies the current page of the response

    sort string

    specifies the order of the records

    to string

    specifies the end date of the requested data (either from or to can be used, but not both)

  • ]

Loading...