Get market positions
QUERY PARAMS
address
string
required
Market Id
page
number
Page number for pagination
page_size
number
Number items per page
sort_by
string
The parameter allows you to specify the field by which the returned list of programs will be sorted
sort_order
string
The parameter allows you to specify the sort order
in_range
Filter positions that are in range or out of range. In range means the current price is between the price range of position, otherwise is out of range
RESPONSES
200
OK
Response Body
success
boolean
Status of Api
position_id
string
The position id
pool_id
string
The market id
created_time
number
Timestamp of the position creation
program
string
The program owner
token_address
string
The token address of position
position_owner
string
The owner of the position
position_value
number
The value of the position
position_type
string
The type of the position
is_pos_in_range
boolean
Position is in or out of range
token_info
price_info
400
Bad Request
Response Body
401
Authentication failed
Response Body
429
Too Many Requests
Response Body
500
Internal Server Error
Response Body