---
title: "Get the portfolio of a MerQube index over time"
method: GET
path: "/index/{uuid}/portfolio"
tags: ["index"]
---

# Get the portfolio of a MerQube index over time

`GET /index/{uuid}/portfolio`

## Request

- Base URL: `https://api.merqube.com`
- URL: `https://api.merqube.com/index/{uuid}/portfolio`
- Auth: none declared
- TypeScript: <https://skmtc.dev/merqube/apis/merqube-api/docs/index/:uuid/portfolio/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the portfolio of a MerQube index over time

## Path parameters

- `uuid` string, required

## Query parameters

- `dates_only` 'true'
- `start_date` union
  - string, date-time
  - string, date
  - string
- `end_date` union
  - string, date-time
  - string, date
  - string
- `time` string, date-time
- `download` string: either true or false

## Response `200`

200 response

- object
  - `results` object[]
    - `date` string: date
    - `id` string: currently, the date
    - `portfolio` object: object where each key is a holding

## Other responses

- `400`: illegal query arg value (e.g., time is not a date-time)
- `403`: not authorized
- `404`: index or portfolio does not exist

---

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