Address Perp Positions
Common Scenarios
Usecase
Required Parameters
Optional Filters
Expected Output
Authorizations
apiKeystringRequired
API key for authentication
Body
Request model for Perp Positions endpoint.
addressstring · min: 42 · max: 42RequiredExample:
User's Hyperliquid address in 42-character hexadecimal format
0xa312114b5795dff9b8db50474dd57701aa78ad1efiltersany ofOptionalExample:
Additional filters to apply to the query.
{"position_value_usd":{"min":1000},"unrealized_pnl_usd":{"max":0}}order_byany ofOptionalExample:
Custom sort order to override the endpoint's default ordering.
Examples:
- [{"field": "position_value_usd", "direction": "DESC"}] - Sort by position value descending
- [{"field": "unrealized_pnl_usd", "direction": "ASC"}] - Sort by unrealized PnL ascending
If not provided, positions are sorted by position value descending.
[{"direction":"DESC","field":"position_value_usd"}]Responses
200
Perpetual positions data for the user
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Unprocessable Content
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
post
/api/v1/profiler/perp-positionsLast updated
Was this helpful?