---
title: "Get portfolio history for a clan (DEPRECATED — use /clan/combined)"
method: GET
path: "/v1/portfolio/history/clan"
tags: ["portfolio"]
deprecated: true
---

# Get portfolio history for a clan (DEPRECATED — use /clan/combined)

`GET /v1/portfolio/history/clan`

> **Deprecated.**

## Query parameters

- `clanId` string, uuid, required
- `days` integer
- `metricType` 'accountValue' | 'pnl'

## Response `200`

Successful response

- object
  - `history` object[], required
    - `time` number, required
    - `value` number, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/legend/apis/legend-api.md) · [All operations](https://skmtc.net/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/legend/legend-api/revisions/6ac390b7bb0b/schema)
