get market positions
account detail
Account Data Decoded
account transfer
account transfer total
account defi activities
account balance change activities
account transactions
account transactions enhanced
account portfolio
account token-accounts
account stake
account stake rewards
account stake rewards export
account transfer export
account metadata
account metadata multi
account funded by
account leaderboard
account defi activities export
token transfer
token transfer count
token defi activities
token markets
token meta
token meta multi
token latest price data
token historical price data
token holders
token list
token top
token trending
token latest
token defi activities export
token historical data
token search
token price
token price multi
https://pro-api-dev.solscan.io/v2.0/market/positions
Get market positions
QUERY PARAMS
address
string
required
Market address/Pool address
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
boolean
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
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
401
Authentication failed
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
429
Too Many Requests
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error
500
Internal Server Error
Response Body
success
boolean
Status of Api
code
number
Error Code for API
message
string
Message to describe error