Wallet Data
Accounts, positions, trades, etc.
0x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$List of accounts
Bad request
Internal server error
GET /v2/wallet/{address}/accounts HTTP/1.1
Host: api.reya.xyz
Accept: */*
[
{
"accountId": 1747927089946,
"name": "Margin Account 1",
"lastUpdateAt": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]Returns up to 100 perp executions for a given wallet.
0x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$Return results after this sequence number (for pagination)
1747927089946Return results before this sequence number (for pagination)
1747927089946List of perpetual executions
Bad request
Internal server error
GET /v2/wallet/{address}/perpExecutions HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"data": [
{
"exchangeId": 1747927089946,
"symbol": "BTCRUSDPERP",
"accountId": 1747927089946,
"qty": "1.0",
"side": "B",
"price": "43000.00",
"fee": "43000.00",
"type": "ORDER_MATCH",
"timestamp": 1747927089946,
"sequenceNumber": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"meta": {
"limit": 1747927089946,
"count": 1747927089946,
"endTime": 1747927089946,
"startTime": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}Returns up to 100 spot executions for a given wallet.
0x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$Return results after this sequence number (for pagination)
1747927089946Return results before this sequence number (for pagination)
1747927089946List of spot executions
Bad request
Internal server error
GET /v2/wallet/{address}/spotExecutions HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"data": [
{
"exchangeId": 1747927089946,
"symbol": "BTCRUSDPERP",
"accountId": 1747927089946,
"side": "B",
"qty": "1.0",
"price": "43000.00",
"fee": "43000.00",
"type": "ORDER_MATCH",
"timestamp": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"meta": {
"limit": 1747927089946,
"count": 1747927089946,
"endTime": 1747927089946,
"startTime": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}0x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$List of positions
Bad request
Internal server error
GET /v2/wallet/{address}/positions HTTP/1.1
Host: api.reya.xyz
Accept: */*
[
{
"exchangeId": 1747927089946,
"symbol": "BTCRUSDPERP",
"accountId": 1747927089946,
"qty": "1.0",
"side": "B",
"avgEntryPrice": "43000.00",
"avgEntryFundingValue": "43000.00",
"lastTradeSequenceNumber": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]Returns all account real balances for a wallet.
0x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$List of account balances
Bad request
Internal server error
GET /v2/wallet/{address}/accountBalances HTTP/1.1
Host: api.reya.xyz
Accept: */*
[
{
"accountId": 1747927089946,
"asset": "BTCRUSDPERP",
"realBalance": "1.0",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]Returns all pending orders for a wallet.
0x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$List of open orders
Bad request
Internal server error
GET /v2/wallet/{address}/openOrders HTTP/1.1
Host: api.reya.xyz
Accept: */*
[
{
"exchangeId": 1747927089946,
"symbol": "BTCRUSDPERP",
"accountId": 1747927089946,
"orderId": "123456789-123123123",
"qty": "1.0",
"execQty": "1.0",
"side": "B",
"limitPx": "43000.00",
"orderType": "TP",
"triggerPx": "43000.00",
"timeInForce": "GTC",
"reduceOnly": false,
"status": "OPEN",
"createdAt": 1747927089946,
"lastUpdateAt": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]Returns trading configuration for a wallet
0x6c51275fd01d5dbd2da194e92f920f8598306df2Pattern: ^0x[a-fA-F0-9]{40}$Wallet configuration
Bad request
Internal server error
GET /v2/wallet/{address}/configuration HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"feeTierId": 1747927089946,
"ogStatus": true,
"affiliateStatus": false,
"refereeStatus": false,
"ANY_ADDITIONAL_PROPERTY": "anything"
}