Skip to main content

List Wallets

This endpoint returns a list of all wallets belonging to the authenticated user.

Request

GET /wallets

Query Parameters

ParameterTypeRequiredDescription
limitnumberNoMaximum number of wallets to return (default: 10)
offsetnumberNoPagination offset (default: 0)

Authentication

This endpoint requires authentication using one of the following methods:

  • API Key: X-API-Key header
  • OAuth 2.0: Authorization: Bearer {access_token} header

Example Request

curl -X GET "https://api.cryptofuse.io/wallets?limit=5&offset=0" \
-H "X-API-Key: your_api_key"

Response

A successful response returns a list of wallets and pagination information.

Example Response

{
"result": {
"wallets": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Trading Wallet",
"created_at": "2025-03-15T10:20:30.456Z"
},
{
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"name": "Savings Wallet",
"created_at": "2025-04-01T08:15:30.123Z"
}
],
"total": 2,
"limit": 5,
"offset": 0
}
}

Response Fields

FieldTypeDescription
result.walletsarrayList of wallet objects
result.totalnumberTotal number of wallets
result.limitnumberLimit used in the request
result.offsetnumberOffset used in the request

Each wallet object contains:

FieldTypeDescription
idstringUnique ID of the wallet (used in all API calls)
namestringCustom name of the wallet
created_atstringISO 8601 timestamp of wallet creation

Error Responses

Status CodeError CodeDescription
401unauthorizedAuthentication failed
403forbiddenUser doesn't have required permissions
500server_errorInternal server error

Notes

  • The wallet ID (id) is used in all API calls related to the wallet
  • Use this endpoint to retrieve the IDs of all your wallets when needed
  • Results are paginated; use the limit and offset parameters to navigate through the results
  • The total count of wallets is included in the response for pagination purposes