> For the complete documentation index, see [llms.txt](https://sway-technologies.gitbook.io/sway-charts-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sway-technologies.gitbook.io/sway-charts-api-documentation/rest-api-specification/users-and-accounts/get-list-open-positions.md).

# GET List Open Positions

```
GET https://api.swaycharts.io/dxsca-web/accounts/{account code}/positions
GET https://api.swaycharts.io/dxsca-web/accounts/positions?accounts={account codes}
```

Retrieve all open positions on a single account or on several accounts at once.

```
// Request

Empty request

Authorization header should be included in case of basic authentication

// Path Parameters

account code - unique code assigned to an account (see Account Code)

// Query Parameters

The following parameters are supported to query positions for multiple accounts:

account codes (optional) - comma-separated list of unique codes assigned to an account (see Account Code)

// Response

A list of open positions that match the request

The ETag header is sent.

// Errors

Common errors

API is not permitted for the user

Status code: 404 Not Found
Error code: 2
Description: Entity not found at server
```
