# 30-day crypto OHLC price history

**Use case:** 

Pull 30-day OHLC candles plus price and volume history for Bitcoin, Ethereum & Solana: high, low, first, last and % change. Export to CSV.

## Input

```json
{
  "mode": "coinHistory",
  "searchQueries": [
    "bitcoin",
    "ethereum",
    "solana"
  ],
  "coinIds": [
    "bitcoin",
    "ethereum",
    "solana"
  ],
  "vsCurrency": "usd",
  "order": "market_cap_desc",
  "historyDays": "30",
  "treasuryCoins": [
    "bitcoin",
    "ethereum"
  ],
  "enrichCoinDetails": false,
  "enrichExchangeDetails": false,
  "includeSparkline": false,
  "maxResults": 10,
  "deduplicateResults": true,
  "monitorMode": false,
  "monitorKey": "default",
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "name": {
    "label": "Coin",
    "format": "text"
  },
  "symbol": {
    "label": "Symbol",
    "format": "text"
  },
  "vsCurrency": {
    "label": "Currency",
    "format": "text"
  },
  "days": {
    "label": "Window",
    "format": "text"
  },
  "candleCount": {
    "label": "# Candles",
    "format": "number"
  },
  "firstPrice": {
    "label": "First",
    "format": "number"
  },
  "lastPrice": {
    "label": "Last",
    "format": "number"
  },
  "changePercentage": {
    "label": "Change %",
    "format": "number"
  },
  "highestPrice": {
    "label": "High",
    "format": "number"
  },
  "lowestPrice": {
    "label": "Low",
    "format": "number"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [CoinGecko Scraper - Crypto Prices, Markets, NFTs & Exchanges](https://apify.com/scrapesage/coingecko-crypto-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapesage/coingecko-crypto-scraper) to learn more, explore other use cases, and run it yourself.