Hercle
REST
GET/api/v1/withdrawals/{startDate}/{endDate}/{page}/{pageSize}

Get Withdrawals Paginated

Retrieve a paginated list of withdrawals filtered by date range. Maximum date range is 30 days.

Auth:Bearer <api_key>
Tags:Withdrawals

Request

cURL
curl -G https://publicapi.sandbox.hercle.financial/api/v1/withdrawals/{startDate}/{endDate}/{page}/{pageSize} \
  -H "Authorization: Bearer eyJhb..." \
  

Path Parameters

NameTypeRequiredDescription
startDatestringYesStart date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from end date.
Example: 2025-12-01T00:00:00Z
endDatestringYesEnd date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from start date.
Example: 2025-12-30T23:59:59Z
pagenumberYesPage number for pagination (starting from 0)
Example: 0
pageSizenumberYesNumber of items per page (min: 5, max: 50)
Example: 5

Headers

NameTypeRequiredDescription
AuthorizationstringYesBearer token for authentication

Response

Success Response Schema

FieldTypeDescription
idstringUnique identifier for the withdrawal
userIdstringUser identifier who initiated the withdrawal
clientIdstringClient identifier associated with the withdrawal
namestringFirst name of the user
surnamestringLast name of the user
companystringCompany name if applicable
descriptionstringDescription or note for the withdrawal
destinationstringDestination address for the withdrawal
destinationParamsobjectAdditional destination parameters
networkstringNetwork name (e.g., Bitcoin, Ethereum)
amountnumberWithdrawal amount
feenumberFee charged for the withdrawal
assetstringAsset code (e.g., BTC, ETH, USD)
statusstring
Current status of the withdrawal
Allowed values:
CREATED
CONFIRMING
CONFIRMED
refIdstringReference ID for the withdrawal
isInstantbooleanWhether this is an instant withdrawal
timestampstringISO 8601 timestamp of withdrawal creation

Responses

List of withdrawals retrieved successfully

200 application/json
[
  {
    "id": "987e6543-e21b-12d3-a456-426614174000",
    "userId": "987e6543-e21b-12d3-a456-426614174999",
    "clientId": "client_001",
    "name": "John",
    "surname": "Doe",
    "company": "Acme Corp",
    "description": "Withdrawal to personal wallet",
    "destination": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
    "destinationParams": {},
    "network": "Bitcoin",
    "amount": 0.01,
    "fee": 0.0005,
    "asset": "BTC",
    "status": "CREATED",
    "refId": "withdrawal_ref_001",
    "isInstant": false,
    "timestamp": "2024-06-01T12:00:00Z"
  }
]

API Tester

Test this endpoint directly against the sandbox environment

Get your API key from Hercle Sandbox

Start date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from end date.

End date for filtering historical trades (ISO 8601 format). Maximum range: 30 days from start date.

Page number for pagination (starting from 0)

Number of items per page (min: 5, max: 50)

https://publicapi.sandbox.hercle.financial/api/v1/withdrawals/{startDate}/{endDate}/{page}/{pageSize}