Skip to main content

Funding Rate

Funding rate stream.

Connect

websocat wss://api.datamaxiplus.com/ws/v1/funding-rate -H 'X-DTMX-APIKEY: $YOUR_API_KEY'

Subscribe

  • method specifies the type of request.
  • params list represents of symbols on exchanges that user wants to subscribe. The format of parameter is {base}-{quote}@{exchange} (e.g. "ETH-USDT@binance"). You can request the list of supported exchanges with /api/v1/funding-rate/exchanges symbols with /api/v1/funding-rate/symbols endpoint.
  • The id uniquely identifies the subscription request.
{
"method": "SUBSCRIBE",
"params": [
string
],
"id": int32
}

Response

Schema
    fnumber

    Funding rate.

    iinteger

    Interval in hours.

    estring

    Exchange name.

    idstring

    Token unique ID.

    sstring

    Symbol (base-quote).

    bstring

    Base token.

    qstring

    Quote token.

    dinteger

    Timestamp in UTC milliseconds.