---
title: "Get profile-scoped performance history for a copy sub-wallet"
method: GET
path: "/v1/copy-trading/profiles/{profileId}/history"
tags: ["copy-trading"]
---

# Get profile-scoped performance history for a copy sub-wallet

`GET /v1/copy-trading/profiles/{profileId}/history`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/copy-trading/profiles/{profileId}/history`
- Auth: none declared

## Path parameters

- `profileId` string, uuid, required

## Query parameters

- `period` 'day' | 'week' | 'month' | 'allTime'
- `metricType` 'accountValue' | 'pnl'

## Response `200`

Successful response

- CopyProfileHistory
  - `history` CopyHistoryPoint[], required
    - `time` number, required
    - `value` number, required

## Other responses

- `400`: Invalid input data
- `404`: Not found
- `500`: Internal server error

---

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