# Token price candles (OHLCV)

`GET /v2/token/{chain_id}/{address}/ohlcv`

Operation id: `get-token-ohlcv`

Returns price candles for one token at one interval, oldest first.
Use it to draw a price chart or to read the price at a past time.
Without `pool`, the series follows the token's main pool.
A candle exists only for a bucket that had at least one trade; empty buckets are not filled.
To page back in time, send an earlier `to`.

Base URL: `https://api.chainmetric.io`. Send `Authorization: <key>` (the bare key, no `Bearer`).

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `undefined` | undefined | object | no | undefined |
| `undefined` | undefined | object | no | undefined |
| `interval` | query | string | no | Candle width. Example: `1h`. |
| `undefined` | undefined | object | no | undefined |
| `from` | query | integer (int64) | no | Earliest bucket start, Unix microseconds. Example: `1795887600000000`. |
| `to` | query | integer (int64) | no | Latest bucket start, Unix microseconds, inclusive. Example: `1796037600000000`. |
| `limit` | query | integer | no | Candles per answer. Example: `500`. |

## Responses

### 200

The candles.

Example `weth` (application/json):

```json

```

Example `solana` (application/json):

```json

```

### 400



### 401



### 429



### 503


