> For the complete documentation index, see [llms.txt](https://docs.blokiments.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blokiments.com/features/blokiments-api/get-historical-price-data.md).

# Get historical price data

Learn how to use the [token historic OHLCV and Market Cap data endpoint](https://api.blokiments.com/documentation#tag/Historic-Data/operation/get_historic_ohlcvm_data_api_v1_historic_ohlcvm_get).

{% hint style="success" %}
**Are more requests needed? A subscription can be made via the RapidAPI platform:** [**https://rapidapi.com/blokiments/api/blokiments-data-api**](https://rapidapi.com/blokiments/api/blokiments-data-api)
{% endhint %}

This API provides historical OHLCV (Open, High, Low, Close, Volume) and Market Cap data for a selected token on various blockchain networks. If no activity is detected within a given interval, that interval is skipped.

The API requires an API key to be included in the request header for authorization.

Example Response:

```json
{
  "network": "ethereum",
  "pair_address": "0x123456789abcdef",
  "token_address": "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce",
  "token_name": "Sample Token",
  "token_symbol": "STK",
  "from_datetime": "2024-05-05T00:00:00",
  "number_of_intervals": 120,
  "time_bucket": "1d",
  "circulating_supply": 1000000000,
  "data": [
    {
      "timestamp": "2024-05-05T00:00:00",
      "open": 0.05,
      "high": 0.06,
      "low": 0.04,
      "close": 0.055,
      "volume": 1000000,
      "market_cap": 55000000
    }
  ]
}
```
