# Crypto Prices and OHLC History Export

> Crypto price history export: current price, market cap and 24h volume, or OHLC candles from Binance, Kraken or CoinGecko. No login or API key.

URL: https://cliqtomedia.com/actors/crypto-market-data/

Category: Finance, markets & sports · Status: live on Apify Store · Apify page: https://apify.com/cliqtomedia/crypto-market-data?fpr=cliqto

Choose coins and get their price, market cap and 24h volume. Or get candle history from Binance, Kraken or CoinGecko. No account or API key needed.

## How to use it: 3 steps

1. **Make a free Apify account.** Apify is the cloud platform where our tools run. The free plan gives you $5 of usage every month, no credit card needed. You pay Apify, not us.
2. **Paste your input and press Start.** No code needed: you fill in a form (the input). It already has a working example. For example: `bitcoin` in Coins. Each start is one run.
3. **Download the results.** When the run ends, the results are in a table (the dataset). Open Output, press Export and pick Excel or CSV. JSON and the API are there too.

## What it does

Export crypto prices for the coins you choose: current price, market cap, 24h volume and 24h change, or OHLC candle history from Binance, Kraken or CoinGecko. No login and no API key.

- `snapshot` — one row per coin with the current price, market cap, market cap rank, 24h volume, 24h change, 24h high and low, supply and all-time high. Data comes from the CoinGecko public API. You can list coins, take the top N coins by market cap, or both.
- `history` — price history for each coin. With `binance` or `kraken` you get OHLC candles (open, high, low, close, volume) for `1h`, `4h`, `1d` or `1w`. With `coingecko` you get daily or hourly price, market cap and volume.

### Good for

- Daily price and market cap table for a list of coins in a spreadsheet.
- OHLC candles for charts, back-tests or reports, back to 2017 on Binance.
- Top 100 coins by market cap, ready to export as CSV or Excel.

### Not a good fit

- Not real-time. Prices are as fresh as the public API at run time (CoinGecko updates about every minute). Do not use it for trading signals.
- Not investment advice. The Actor only copies public market data.
- No order books, trades, wallets, DEX pools or derivatives.
- Kraken keeps only about 720 recent candles per pair. Use `binance` for long history.

## Price

Pay per event. Apify bills you, not us.

| What you pay for | Price | When |
|---|---|---|
| Start fee | $0.0015 | Charged once per run. This tool uses 1 GB of memory or less by default; more memory costs more. |
| Coin snapshot | $0.0003 (from $0.000255 on paid Apify plans) | One saved coin row with current price, market cap, 24h volume and 24h change (snapshot mode). |
| History candle | $0.0001 (from $0.000085 on paid Apify plans) | One saved OHLC candle or history point for one coin (history mode). |
| Coin lookup with no match | $0.0002 | One requested coin that matched no coin or trading pair. Covers the lookup requests. |

- One coin snapshot: about $0.0018.
- 1,000 coin snapshots: about $0.30.
- Every day 100 coin snapshots, for 30 days: about $0.95 a month.

Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed.

Prices checked on 24 October 2026. Current price: https://apify.com/cliqtomedia/crypto-market-data?fpr=cliqto

## Questions

### Is the data live?

No. You get prices from the public API at run time. Do not use it for trading signals.

### Is this investment advice?

No. It only copies public market data.

### Does it include order books?

No. Order books, trades, wallets and DEX pools are not included.

### How many coins can I get?

Snapshot mode takes up to 250 coins plus the top 250. History mode takes up to 25 coins.

### Do I need an account or API key on CoinGecko, Binance or Kraken?

No. The Actor uses public endpoints. No login, no API key.

### Is the data real-time?

No. You get the values at run time. CoinGecko updates about every minute. The newest candle has `isClosed: false` and can still change.

### Why does my history have fewer rows than days × interval?

The coin may be newer than your period, the exchange may not have old data, or `maxRows` stopped the run. Check `RUN_SUMMARY` for each coin.

### Where does the data come from?

Data provided by CoinGecko, and public market data from Binance and Kraken. The Actor does not change the values; it only renames fields to one schema.

## Data fields

- `recordType` (string): Row type: snapshot (current market data), candle (one history bar) or status (not_found / error for one input).
- `status` (string): Row result: ok, partial (some values missing), not_found or error. See message.
- `query` (string): Your coin entry as typed (lowercased), or null for topN rows.
- `matchedBy` (string): How the coin was matched: id (CoinGecko ID), symbol (ticker, largest market cap wins), topN, or ticker (used as typed on the exchange).
- `coin` (string): CoinGecko coin ID, e.g. bitcoin.
- `symbol` (string): Ticker in upper case, e.g. BTC.
- `name` (string): Coin name, e.g. Bitcoin.
- `vsCurrency` (string): Quote currency you asked for, e.g. usd.
- `price` (number): Snapshot: current price. Candle: close price.
- `marketCap` (number): Market capitalisation in vsCurrency (snapshot; coingecko history at the close point).
- `marketCapRank` (number): CoinGecko market cap rank.
- `fullyDilutedValuation` (number): Fully diluted valuation in vsCurrency.
- `volume24h` (number): Trading volume over the last 24 hours in vsCurrency.
- `change24h` (number): Price change over 24 hours in vsCurrency.
- `change24hPct` (number): Price change over 24 hours, percent.
- `marketCapChange24hPct` (number): Market cap change over 24 hours, percent.
- `high24h` (number): 24-hour high price.
- `low24h` (number): 24-hour low price.
- `circulatingSupply` (number): Circulating supply.
- `totalSupply` (number): Total supply.
- `maxSupply` (number): Maximum supply, null if unlimited or unknown.
- `ath` (number): All-time high price.
- `athChangePct` (number): Distance from the all-time high, percent.
- `athDate` (string): All-time high date, ISO 8601.
- `atl` (number): All-time low price.
- `atlDate` (string): All-time low date, ISO 8601.
- `image` (string): Coin logo URL from CoinGecko.
- `exchange` (string): History source: binance, kraken or coingecko.
- `pair` (string): Trading pair, e.g. BTCUSDT (Binance), XXBTZUSD (Kraken), bitcoin/usd (CoinGecko).
- `quoteAsset` (string): Quote asset of the pair, e.g. USDT. Binance quotes usd in USDT.
- `interval` (string): Candle interval: 1h, 4h, 1d or 1w.
- `timestamp` (string): Snapshot: when CoinGecko last updated the price. Candle: candle open time. ISO 8601 UTC.
- `timestampMs` (number): Same time as Unix milliseconds.
- `open` (number): Candle open price. Coingecko history: CoinGecko price at the start of the interval.
- `high` (number): Candle high price (null for coingecko history).
- `low` (number): Candle low price (null for coingecko history).
- `close` (number): Candle close price. Coingecko history: CoinGecko price at the next interval boundary, or the live price while isClosed is false; null if CoinGecko has no point there.
- `volume` (number): Candle volume in the base coin (exchanges).
- `quoteVolume` (number): Volume in the quote asset. Binance: candle quote volume from the exchange. Kraken: volume × VWAP of the candle. Coingecko history: rolling 24h volume across all markets at the close point (not a per-candle volume).
- `trades` (number): Number of trades in the candle (exchanges).

## Input settings

- `mode` (string): snapshot: one row per coin with current price, market cap, 24h volume and change (CoinGecko). history: OHLC candles for each coin from Binance, Kraken or CoinGecko.
- `coins` (array): CoinGecko IDs (bitcoin, ethereum) or tickers (btc, eth, $sol). For a ticker shared by several coins the one with the largest market cap is used; check matchedBy and coin in the output. Up to 250 in snapshot mode, 25 in history mode. Duplicates are exported once.
- `topN` (integer): Snapshot mode only: also export the top N coins by market cap (0–250). 0 = off.
- `vsCurrency` (string): Currency for prices, e.g. usd, eur, gbp, jpy, btc. Snapshot and coingecko history accept 63 CoinGecko codes. Binance and Kraken history accept usd, eur, gbp, jpy, try, brl, aud, cad, chf, btc, eth, bnb, sol, xrp where the exchange lists the pair; Binance quotes usd in USDT.
- `exchange` (string): History mode only. binance: OHLC back to 2017 (up to 1825 days). kraken: OHLC, latest 720 candles only. coingecko: price, market cap and 24h volume (no open/high/low), up to 365 days.
- `interval` (string): History mode only: 1h, 4h, 1d or 1w. CoinGecko supports 1d, and 1h for up to 90 days.
- `days` (integer): History mode only: how many days back from now (1–1825 for Binance and Kraken, 1–365 for CoinGecko).
- `maxRows` (integer): History mode only: stop after this many candle rows in total (1–50000). Keeps cost predictable.

## Step by step on Apify

1. Open the Input tab.
2. Keep the prefilled `coins`: `bitcoin` and `ethereum`. Or add your own.
3. Keep `mode` = `snapshot`.
4. Click Start.
5. Open the Output tab and check the Prices (snapshot) view: `price`, `marketCap`, `volume24h`, `change24hPct`.

## Use cases

| Task | Input | You get | Key fields | Next step |
|---|---|---|---|---|
| Track prices of my coins every day | `coins`, `mode: snapshot` | coin snapshot | `price`, `marketCap`, `volume24h`, `change24hPct` | Google Sheets, CSV, scheduled run |
| Top coins by market cap | `topN: 100` | coin snapshot | `marketCapRank`, `price`, `marketCap` | Excel, BI tool |
| Candles for charts or back-tests | `mode: history`, `exchange: binance`, `interval`, `days` | OHLC candle | `timestamp`, `open`, `high`, `low`, `close`, `volume` | Python, pandas, database |
| Long price and market cap history | `mode: history`, `exchange: coingecko`, `interval: 1d`, `days: 365` | history point | `timestamp`, `price`, `marketCap`, `volume` | Spreadsheet, chart |

## Tips

- Use Binance for long history. It goes back to 2017.
- Avoid Kraken for long periods. It keeps about 720 recent candles.
- Schedule a daily snapshot run to build your own price table.

## Limits



- Snapshot: up to 250 coins plus `topN` up to 250 per run.
- History: up to 25 coins and 50,000 rows per run. Binance has data back to 2017, Kraken only about 720 recent candles, CoinGecko up to 365 days.
- A run stops source work after about 4 minutes and keeps what it saved.

## Sample result

```json
{
  "recordType": "snapshot",
  "status": "ok",
  "query": "bitcoin",
  "matchedBy": "id",
  "coin": "bitcoin",
  "symbol": "BTC",
  "name": "Bitcoin",
  "vsCurrency": "usd",
  "price": 82947,
  "marketCap": 1667051393162,
  "marketCapRank": 1,
  "volume24h": 32352326234,
  "change24h": 521.38,
  "change24hPct": 0.63249,
  "high24h": 84074,
  "low24h": 81018,
  "maxSupply": 21000000,
  "timestamp": "2026-10-13T17:53:53.000Z",
  "open": null,
  "close": null,
  "source": "coingecko",
  "sourceUrl": "https://www.coingecko.com/en/coins/bitcoin",
  "fetchedAt": "2026-10-13T17:55:08.988Z"
}
```

## Use it from code

Actor ID: `cliqtomedia/crypto-market-data`

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliqtomedia/crypto-market-data").call(run_input={
    "mode": "snapshot",
    "coins": [
        "bitcoin",
        "ethereum"
    ]
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

```bash
curl -X POST "https://api.apify.com/v2/acts/cliqtomedia~crypto-market-data/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "snapshot", "coins": ["bitcoin", "ethereum"]}'
```

```python
# pip install langchain-apify
# set APIFY_TOKEN in your environment
from langchain_apify import ApifyActorsTool

tool = ApifyActorsTool("cliqtomedia/crypto-market-data")
result = tool.invoke({"run_input": {"mode": "snapshot", "coins": ["bitcoin", "ethereum"]}})
print(result)
```

run-sync waits up to 300 seconds; for longer runs start a run and use a webhook. LlamaIndex and MCP: https://cliqtomedia.com/actors/ai-agents/

## Similar tools

- [SEC Form D Filing Monitor](https://cliqtomedia.com/actors/sec-edgar-form-d-funding-monitor/)
- [Historical Exchange Rates & Currency Converter](https://cliqtomedia.com/actors/historical-fx-rates-converter/)
- [Polymarket & Kalshi Prediction Market Data, No Login](https://cliqtomedia.com/actors/prediction-markets-data/)
- [Tennis Scraper: ATP & WTA Matches, Players & Rankings](https://cliqtomedia.com/actors/tennis-stats-scraper/)
