GET
/
api
/
v1
/
fundings
curl --request GET \
  --url https://user-account.sandbox.rails.xyz/api/v1/fundings \
  --header 'Authorization: Bearer <token>'
{
  "fundings": [
    {
      "dataType": "FUNDING",
      "market": "ETH-USD",
      "value": "-1.51989368",
      "rate": "-0.04",
      "indexPrice": "3799.73421126312",
      "positionSize": "-1",
      "txCreated": 1716921945759
    }
  ],
  "last": "ETH-USD#FUNDING#01J4MD3R7N4HH4G76PT47VG3QC#1716921945759"
}

Formulas for the funding rate and value in the response can be found here.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

market
string

Example value: ETH-USD. To get all supported markets, call /api/v1/markets endpoint. Omit this parameter to get results across all markets.

start
string

This is an optional parameter to support pagination. Get the value from the last field if present in the previous response.

Response

200 - application/json

The response is of type object.