Skip to main content
POST
/
market-data
/
funding-info
Get Funding Info
curl --request POST \
  --url http://localhost:8000/market-data/funding-info \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connector_name": "<string>",
  "trading_pair": "<string>"
}
'
{
  "trading_pair": "<string>",
  "funding_rate": 123,
  "next_funding_time": 123,
  "mark_price": 123,
  "index_price": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request model for getting funding info

connector_name
string
required

Name of the connector

trading_pair
string
required

Trading pair to get funding info for

Response

Successful Response

Response for funding info

trading_pair
string
required

Trading pair

funding_rate
number | null
required

Current funding rate

next_funding_time
number | null
required

Next funding time timestamp

mark_price
number | null
required

Mark price

index_price
number | null
required

Index price