---
title: "Historical metrics for the chain"
method: GET
path: "/v2/metrics/chain/history"
tags: ["Metrics V2"]
---

# Historical metrics for the chain

`GET /v2/metrics/chain/history`

Get chain metrics history.

## Query parameters

- `metric_id` string, required
- `chain_id` string, required
- `time_start` string, date-time
- `time_end` string, date-time
- `time_format` string
- `period_id` string
- `limit` integer

## Response `200`

successful operation

- ModelsBaseCsvModel[]

## Other responses

- `400` — Invalid input, e.g., missing required parameters, invalid chain_id.
- `500` — Internal server error.

---

[API](https://skmtc.net/coinapi/apis/coinapi-market-data-rest-api.md) · [All operations](https://skmtc.net/coinapi/apis/coinapi-market-data-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coinapi/coinapi-market-data-rest-api/revisions/e3243d888e2d/schema)
