Open Positions

surf.hyperliquid.positionsRaw endpoint · live
Add to your agent

Returns a wallet's open perpetual positions with its cross-margin summary and derived risk (leverage, unrealized PnL, ROE, liquidation price, margin ratio, distance-to-liquidation).

Provider

Surfyour key

Runs on your own Surf key: add it under Provider keys in the app. Opentools doesn't charge for these runs.

Use it from your agent

View schema →

Raw endpoints take the provider's own request: body, queryParams and pathParams, as the provider documents them. Agents find it with search_tools once Opentools is connected.

curl
curl https://opentools.opentools.workers.dev/v1/jobs \
  -H "Authorization: Bearer $OPENTOOLS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"surf.hyperliquid.positions","input":{"body":{}}}'

More from Surf