---
title: "Bulk Fetch All Accounts Positions"
method: GET
path: "/v1/accounts/positions"
tags: ["Trading"]
deprecated: true
---

# Bulk Fetch All Accounts Positions

`GET /v1/accounts/positions`

## Request

- Base URL: `https://broker-api.giftcity.sandbox.in.alpaca.markets`
- URL: `https://broker-api.giftcity.sandbox.in.alpaca.markets/v1/accounts/positions`
- Auth: HTTP basic

> **Deprecated.**

Retrieves a list of the account's open positions.
This endpoint is deprecated and will be removed in the future. Please use the [GET /v1/reporting/eod/positions endpoint](https://docs.alpaca.markets/reference/get-v1-reporting-eod-positions) instead.

## Query parameters

- `page` integer

## Response `200`

The response contains two fields:

asof: the timestamp for which the positions are returned. It is always the last market close

positions: an account-id to position list map, contains the requested page's accounts
The positions map is empty for the last page.

Note: when fetching bulk positions, which can take multiple minutes depending on the number of accounts managed have, a market close can happen, and after that a new set of results might be returned. To make sure results are consistent, please always check that the as_of field didn't change during the whole fetching process.

- object
  - `as_of` string, date-time
  - `positions` object

---

[API](https://skmtc.dev/alpacahq/apis/broker-api.md) - [All operations](https://skmtc.dev/alpacahq/apis/broker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alpacahq/apis/broker-api/revisions/381b1ecb3ccc?raw)
