PUBLISH Get Funding Info

PUB wss://test-api.synquote.com/ws

Returns information about latest funding rates.

REQUEST

HEADER PARAMS

msg_type string required
Message type: get_funding_info

id number required
The ID of the request. This is returned in the response header.

version integer required
Version number: 1

Example
[
  {
    "msg_type":"get_funding_info",
    "id": 1002,
    "version": 1
  }
]

RESPONSE

array of objects
object

instrument_id string
The instrument of the funding rate.

last_funding_rate string
The last funding rate.

last_update_time integer
The last update time in UNIX epoch seconds.

funding_interval_hours integer
The funding interval in hours.

Example
[
  {
    "msg_type":"get_funding_info",
    "id": 1002,
    "version": 1
  },
  [
    {
      "instrument_id": "1000SHIB-PERPETUAL",
      "last_funding_rate": "0.001265",
      "last_update_time": 1714446000,
      "funding_interval_hours": 1
    },
    {
      "instrument_id": "ETH-PERPETUAL",
      "last_funding_rate": "0.000016",
      "last_update_time": 1714446000,
      "funding_interval_hours": 1
    }
  ]
]