---
title: "Query Positions"
method: GET
path: "/info/position/list"
tags: ["Positions"]
---

# Query Positions

`GET /info/position/list`

## Query parameters

- `userAddr` string, required
- `symbol` integer
- `posMode` integer
- `includeZero` boolean

## Response `200`

Position list

- object
  - `code` integer
  - `data` Position[]
    - `userAddr` string
    - `symbolCode` integer
    - `leverage` string
    - `longSize` string
    - `shortSize` string
    - `longEntryValue` string
    - `shortEntryValue` string
    - `positionMode` string — ONE_WAY, HEDGE
    - `positionMarginMode` string — CROSS, ISOLATED
    - `assignedPosBalance` string
    - `unrealizedPnl` string
    - `cumRealizedPnl` string
    - `curMarkPx` string
    - `cumTransactionFee` string
    - `createTime` integer
    - `blockTime` integer

---

[API](https://skmtc.dev/afx/apis/afx-dex-exchange-api.md) · [All operations](https://skmtc.dev/afx/apis/afx-dex-exchange-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/afx/afx-dex-exchange-api/revisions/7153776e5985/schema)
