# Crypto Historical Price Data

**Use case:** 

Download a cryptocurrency's historical price chart from CoinGecko: daily price, market cap and volume over your chosen window. JSON, CSV or Excel.

## Input

```json
{
  "apiKey": "***",
  "mode": "history",
  "coinIds": [
    "bitcoin"
  ],
  "vsCurrency": "usd",
  "days": "90",
  "maxResults": 100
}
```

## Output

```json
{
  "coinId": {
    "label": "Coin ID",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "marketCap": {
    "label": "Market Cap",
    "format": "number"
  },
  "volume": {
    "label": "Volume",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [CoinGecko Crypto — Data, Signals & Market Events](https://apify.com/ryanclinton/coingecko-crypto-data) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ryanclinton/coingecko-crypto-data) to learn more, explore other use cases, and run it yourself.