---
title: "Get all positions"
method: GET
path: "/v1/positions"
tags: ["Account"]
---

# Get all positions

`GET /v1/positions`

Get all open positions

## Query parameters

- `market_id` string, int64
- `account` string
- `page` integer
- `page_size` integer

## Response `200`

A successful response.

- ApiGetAllBuilderPositionsResponse
  - `positions` ApiBuilderPosition[]
    - `account` string
    - `market_id` string, int64
    - `block_number` string, int64
    - `log_index` string, int64
    - `worker_timestamp` string, int64
    - `size` string
    - `quote_amount` string
    - `margin_mode` integer
    - `side` 'BUY' | 'SELL'
    - `isolated_usdc_balance` string
    - `last_funding_payment` string
    - `leverage` string
    - `avg_entry_price` string
    - `unsettled_funding` string
  - `total_count` integer
  - `page` integer — Current page number
  - `page_size` integer
  - `has_next_page` boolean

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rise/apis/risex-rest-api.md) · [All operations](https://skmtc.net/rise/apis/risex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rise/risex-rest-api/versions/194af8339c0d/schema)
