/
LE
legend
/
Legend API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 20h ago · Updated 20h ago
View markdown
legend
Legend API
get
Get a shareable position by id
v5
latest
OpenAPI 3.1.0
2026-08-08
241
232
1010.2 KB
app
1
arena
36
attachments
6
bug-reports
1
capital
1
chat
37
clans
29
copy-trading
14
deposits
1
favorites
3
fills
1
following
13
friends
1
notifications
2
paper
1
portfolio
9
positions
8
get
Get my open position for a symbol
get
Get position history for a wallet or copy profile
get
Get per-asset performance aggregates for a wallet
get
Get recent trade outcomes (closed + open) for a wallet
get
Top trending open positions across the network
get
Positioning stats for a symbol (Legend users)
get
Get PnL sparkline for a position
get
Get a shareable position by id
posts
14
price-alerts
3
pusher
2
reports
1
search
4
season
2
telegram-account
2
tokens
3
trade-protection
2
trading
2
trailing-stops
4
transfers
1
user
31
users
1
withdrawals
1
x-account
4
positions
Get a shareable position by id
get
/v1/positions/{positionId}
Path parameters
positionId
string
uuid
required
Response
Successful response
PositionGetOutput
required
id
string
required
isOpen
boolean
required
user
PublicPositionUser
required
symbol
string
required
side
'LONG'
|
'SHORT'
required
size
number
required
entryPrice
number
required
closedPrice
number
nullable
required
walletAddress
string
required
leverageValue
integer
required
unrealizedPnl
number
required
realizedPnl
number
required
openedAt
string
required
closedAt
string
nullable
required
totalFees
number
required
totalFunding
number
required
fills
HistoryFill[]
required
pnlSparkline
SparklinePoint[]
required