Data APIs
List account trades
Returns paginated trades for the account, with side, price, quantity, fee and maker flag.
GET
Returns paginated trades for the account, with side, price, quantity, fee and maker flag.
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 account trades
application/json- response
Paginated account trades
items*array<>total*numberTotal number of trades
page*numberCurrent page, 1-based
limit*numberItems per page
curl -X GET 'https://data.scalar.market/account/string/trades'Example Response
{
"items": [
{
"tx_hash": "string",
"instrument": "string",
"side": "bid",
"price": "string",
"quantity": "string",
"fee": "string",
"is_maker": true,
"timestamp": 0
}
],
"total": 0,
"page": 0,
"limit": 0
}