Derivatives

Get Funding Payment Report JSON

This endpoint retrieves funding payment report in JSON format.

Examples

  • &fromDate=2024-04-10&toDate=2024-04-25&numRows=1000 </br> Compare and obtain the minimum records between (2024-04-10 to 2024-04-25) and 1000. If (2024-04-10 to 2024-04-25) contains 360 records. Then fetch the minimum between 360 and 1000 records only.

  • &numRows=2024-04-10&toDate=2024-04-25 </br> If (2024-04-10 to 2024-04-25) contains 360 records. Then fetch 360 records only.

  • &numRows=1000 </br> Fetch maximum 1000 records starting from Now to a historical date

  • <blank> </br> Fetch maximum 8760 records starting from Now to a historical date

post/v1/perpetuals/fundingpaymentreport/records.json

Request

  • Base URL
    https://api.gemini.com
  • URL
    https://api.gemini.com/v1/perpetuals/fundingpaymentreport/records.json
  • Auth
    API key in header X-GEMINI-APIKEY and API key in header X-GEMINI-SIGNATURE and API key in header X-GEMINI-PAYLOAD

Query parameters

fromDatestring date

If empty, will only fetch records by numRows value.

toDatestring date

If empty, will only fetch records by numRows value.

numRowsinteger

If empty, default value '8760'

Headers

X-GEMINI-APIKEYstring required

Your API key

X-GEMINI-SIGNATUREstring required

HEX-encoded HMAC-SHA384 of payload signed with API secret

X-GEMINI-PAYLOADstring required

Base64-encoded JSON payload

Content-Typestring
Content-Lengthstring
Cache-Controlstring

Request body

requeststring required

The API endpoint path

accountstring

Required for Master API keys as described in Private API Invocation. The name of the account within the subaccount group. Specifies the account on which you intend to place the order. Only available for exchange accounts.

Example request

{
  "request": "/v1/perpetuals/fundingpaymentreport/records.json?fromDate=2024-04-10&toDate=2024-04-25&numRows=1000",
  "nonce": "1495127793000",
  "account": "primary"
}

Response

JSON response containing funding payment report.

eventType'Hourly Funding Transfer' required

Event type

assetCodestring required

Asset symbol

action'Credit' | 'Debit' required

Credit or Debit

instrumentSymbolstring

Symbol of the underlying instrument. Note that this is only attached to requests from 16th April 2024 onwards.

Example response

[
  {
    "timestamp": "1495127793000"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.