Skip to Content
Scalar
Data APIs

List account activities

Returns paginated account activities (deposits and withdrawals), ordered by timestamp descending.

GET
/account/{user}/activities

Returns paginated account activities (deposits and withdrawals), ordered by timestamp descending.

Path Parameters

user*string

User address in hex format (0x prefix optional)

Query Parameters

page?number

Page number, 1-based. Defaults to 1.

Range1 <= value
limit?number

Items per page. Defaults to 25, max 100.

Range1 <= value <= 100

Response Body

Paginated account activities

application/json
  1. response

Paginated account activities

items*array<>
total*number

Total number of activities

page*number

Current page, 1-based

limit*number

Items per page

Example Request
curl -X GET 'https://data.scalar.market/account/string/activities'
Example Response
{
  "items": [
    {
      "tx_hash": "string",
      "log_index": 0,
      "type": "deposit",
      "user": "string",
      "amount": "string",
      "fee": "string",
      "comment": "string",
      "timestamp": 0
    }
  ],
  "total": 0,
  "page": 0,
  "limit": 0
}