---
title: "Returns stats associated with a specific MerQube index"
method: GET
path: "/index/{uuid}/stats2"
tags: ["index"]
---

# Returns stats associated with a specific MerQube index

`GET /index/{uuid}/stats2`

## Request

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

Returns stats associated with a specific MerQube index

## Request body

- StatsRequest
  - `benchmark` object
    - `benchmark_type` 'MERQUBE_INDEX' | 'EQUITY'
    - `identifier` string, required
    - `identifier_type` 'TICKER' | 'FSYM_ID', required
    - `metric` string
  - `end_date` string, date
  - `index_metric` string
  - `return_period` 'D' | 'W' | 'M' | 'Y', required
  - `start_date` string, date
  - `target_return` number, float

## Response `200`

200 response

- StatsResponse
  - `metrics` object: A dictionary of computed metrics and their results or errors.

## Other responses

- `403`: not authorized to see this namespace
- `404`: index 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)
