---
title: "Get Master Account Portfolio History"
method: GET
path: "/v1/kraken_embed/master_account/history"
tags: ["Kraken Embed"]
---

# Get Master Account Portfolio History

`GET /v1/kraken_embed/master_account/history`

Get historical balances and valuations over time for the master account's portfolio with optional filtering by assets and date range.

## Query parameters

- `include[assets]` union
  - string[]
  - string
- `include[total_balance]` 'true' | 'false'
- `include[total_pnl]` 'true' | 'false'
- `start_date` string, date, nullable
- `end_date` string, date, nullable
- `interval` 'hourly' | 'daily'
- `resolution` integer, nullable
- `quote` string, nullable
- `cursor` string, nullable

## Headers

- `privy-app-id` string, required — ID of your Privy app.

## Response `200`

Portfolio history retrieved successfully.

- object
  - `error` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown
  - `result` object, nullable, required
    - `currency` string, nullable
    - `end_date` string, date, required
    - `history` object[], required
      - `assets` object, nullable
      - `date` string, date, required
      - `timestamp` string, date-time
      - `total_balance` string, nullable
      - `total_pnl` string, nullable
      - `total_pnl_pct` string, nullable
    - `next_cursor` string, nullable
    - `start_date` string, date, required
    - `total_pnl` string, nullable
    - `total_pnl_pct` string, nullable

---

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