---
title: "Get Grouped Portfolio Positions"
method: GET
path: "/api/portfolio/positions/grouped"
tags: ["portfolio"]
---

# Get Grouped Portfolio Positions

`GET /api/portfolio/positions/grouped`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/portfolio/positions/grouped`
- Auth: HTTP bearer

Get portfolio positions grouped by instrument type

Args:
    portfolio_id: Optional portfolio ID filter. If None, returns all positions.

## Query parameters

- `portfolio_id` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
