Skip to Content
Scalar
Data APIs

List user instruments

Returns paginated instruments the user has traded, with realized profit and last update time.

GET
/account/{user}/instruments

Returns paginated instruments the user has traded, with realized profit and last update time.

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 user instruments

application/json
  1. response

Paginated user instruments

items*array<>
total*number

Total number of instruments

page*number

Current page, 1-based

limit*number

Items per page

Example Request
curl -X GET 'https://data.scalar.market/account/string/instruments'
Example Response
{
  "items": [
    {
      "instrument": "string",
      "realized_profit": "string",
      "average_price": "string",
      "exit_price": "string",
      "last_updated": 0
    }
  ],
  "total": 0,
  "page": 0,
  "limit": 0
}