Data APIs
List user instruments
Returns paginated instruments the user has traded, with realized profit and last update time.
GET
Returns paginated instruments the user has traded, with realized profit and last update time.
user*stringUser address in hex format (0x prefix optional)
page?numberPage number, 1-based. Defaults to 1.
Range
1 <= valuelimit?numberItems per page. Defaults to 25, max 100.
Range
1 <= value <= 100Paginated user instruments
application/json- response
Paginated user instruments
items*array<>total*numberTotal number of instruments
page*numberCurrent page, 1-based
limit*numberItems per page
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
}