---
title: "Historical metrics for symbol"
method: GET
path: "/v1/metrics/symbol/history"
tags: ["Metrics V1"]
---

# Historical metrics for symbol

`GET /v1/metrics/symbol/history`

## Request

- Base URL: `https://rest.coinapi.io`
- URL: `https://rest.coinapi.io/v1/metrics/symbol/history`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/coinapi/apis/coinapi-market-data-rest-api/docs/v1/metrics/symbol/history/get.ts> (a function with typed inputs; its response is checked against the schema)

Get symbol metrics history.

## Query parameters

- `metric_id` string, required
- `symbol_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

- V1MetricData[]
  - `symbol_id` string, nullable: Gets or sets the symbol id.
  - `time` string, date-time: Gets or sets the time at which the value is recorded.
  - `value` number, double: Gets or sets the value of the metric.

---

[API](https://skmtc.dev/coinapi/apis/coinapi-market-data-rest-api.md) - [All operations](https://skmtc.dev/coinapi/apis/coinapi-market-data-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/coinapi/apis/coinapi-market-data-rest-api/revisions/8e2d7b7d9f23?raw)
