List Custody Fee Transfers POST https://api.gemini.com/v1/custodyaccountfees
Returns Custody fee records in the supported currencies.
Note Under the terms of the Gemini API Agreement , polling this endpoint may be subject to rate limiting . This endpoint is currently restricted further than standard rate limiting to a rate of 1 request per 5 seconds per subaccount — the same limit as the List Past Transfers endpoint. One call to one affects the other.
POST v1/custodyaccountfees
curl --request POST \
--url https://api.gemini.com/v1/custodyaccountfees \
--header 'Content-Type: application/json' \
--header 'X-GEMINI-APIKEY: <string>' \
--header 'X-GEMINI-PAYLOAD: <string>' \
--header 'X-GEMINI-SIGNATURE: <string>' \
--data '
{
"request": "/v1/custodyaccountfees",
"nonce": "<nonce>"
}
'Roles The API key you use to access this endpoint must have the Trader, Fund Manager, or Auditor role assigned. See Roles for more information.
The OAuth scope must have history:read assigned to access this endpoint. See OAuth Scopes for more information.
Headers X-GEMINI-APIKEY string · required
Your API key X-GEMINI-SIGNATURE string · required
HEX-encoded HMAC-SHA384 of payload signed with API secret X-GEMINI-PAYLOAD string · required
Base64-encoded JSON payload Content-Type string
Default: text/plain Content-Length string
Default: 0 Cache-Control string
Default: no-cache Request Body request string · required
The literal string "/v1/custodyaccountfees" nonce TimestampType | integer · required
timestamp Example: 1495127793000 timestamp string | integer
Gemini strongly recommends using milliseconds instead of seconds for timestamps. Timestamp format
Example
Supported request type
string (seconds)
1495127793
POST only
string (milliseconds)
1495127793000
POST only
whole number (seconds)
1495127793
GET , POST
whole number (milliseconds)
1495127793000
GET , POST
Example: 1495127793000 limit_transfers integer
The maximum number of Custody fee records to return. The default is 10 and the maximum is 50. account string
Required for Master API keys. The name of the account within the subaccount group. {
"request": "/v1/custodyaccountfees",
"nonce": "<nonce>"
}Responses Properties Example
Successful operation
txTime integer
Time of Custody fee record in milliseconds feeAmount string
The fee amount charged feeCurrency string
Currency that the fee was paid in eid integer
Custody fee event id eventType string
Custody fee event type [
{
"txTime": 1657236174056,
"feeAmount": "10",
"feeCurrency": "BTC",
"eid": 256627,
"eventType": "Withdrawal"
},
{
"txTime": 1652279045196,
"feeAmount": "10000000",
"feeCurrency": "ETH",
"eid": 15364,
"eventType": "CustodyFeeDebit"
},
{
"txTime": 1652279025196,
"feeAmount": "1850",
"feeCurrency": "WFIL",
"eid": 9016,
"eventType": "RiaFeeDebit"
},
{
"txTime": 1652279025196,
"feeAmount": "1850",
"feeCurrency": "WFIL",
"eid": 9016,
"eventType": "RiaFeeCredit"
}
]