Skip to main content
GET
/
api
/
v1
/
accounts
List accounts
curl --request GET \
  --url https://api.paratro.com/api/v1/accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "account_id": "acc_m1n2o3p4q5",
      "wallet_id": "wal_a1b2c3d4e5f6",
      "client_id": "cli_x1y2z3",
      "address": "0x1234567890abcdef1234567890abcdef12345678",
      "network": "mainnet",
      "address_type": "INBOUND",
      "status": "ACTIVE",
      "created_at": "2026-01-15T10:35:00Z",
      "label": "Main ETH Account"
    }
  ],
  "total": 123,
  "has_more": true
}

List Accounts

Returns a paginated list of accounts, optionally filtered by wallet.
wallet_id
string
Filter by wallet ID (omit for all accounts).
page
integer
default:1
Page number (min 1).
page_size
integer
default:10
Items per page (1-100).

Response

{
  "data": [
    {
      "account_id": "acc_01HXYZ...",
      "wallet_id": "w_01HXYZ...",
      "client_id": "c_01HXYZ...",
      "address": "0x1a2b3c4d5e6f...",
      "network": "mainnet",
      "address_type": "INBOUND",
      "label": "",
      "status": "ACTIVE",
      "created_at": "2025-01-15T10:30:45+08:00"
    }
  ],
  "total": 12,
  "has_more": true
}

Authorizations

Authorization
string
header
required

JWT access token obtained from the /api/v1/auth/token endpoint.

Query Parameters

wallet_id
string

Filter accounts by wallet ID.

page
integer
default:1

Page number for pagination.

Required range: x >= 1
page_size
integer
default:10

Number of items per page.

Required range: 1 <= x <= 100

Response

List of accounts retrieved successfully.

data
object[]
required
total
integer
required

Total number of accounts.

has_more
boolean
required

Whether there are more results beyond the current page.