# Crypto Prices Scraper — 2,000 Coins, Market Cap, History (`chorelet/crypto-prices-scraper`) Actor

Crypto market data from CoinGecko: top coins by market cap or specific coins — price, market cap, volume, 1h/24h/7d/30d change, supply, ATH/ATL — plus optional daily price history, in any quote currency. CSV/JSON export and API.

- **URL**: https://apify.com/chorelet/crypto-prices-scraper.md
- **Developed by:** [Chorelet](https://apify.com/chorelet) (community)
- **Categories:** Business, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 coins

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Crypto Prices Scraper — 2,000 Coins, Market Cap, History

Live market data for the **top N cryptocurrencies by market cap** or for **your own watchlist** (ids, tickers, names or coin URLs): price, market cap, 24h volume, changes over 15 minutes, 1, 6, 12 and 24 hours and 7 days, total and max supply, all-time high with the date and how far below it the coin trades — in any quote currency. Add **daily price history** for up to a year, and yesterday's **open, high, low and close** when you need the range.

No API key, no account, no proxy: the data comes from CoinPaprika's open API, which serves the whole top list in a single request — a 2,000-coin snapshot is one call and a few seconds.

### Why this Actor

- **One request for the whole market.** The top list arrives in a single call, so a 2,000-coin snapshot takes seconds instead of a page-by-page crawl — and costs one charged row per coin, nothing else.
- **Six change windows per coin.** 15m, 1h, 6h, 12h, 24h and 7d come with every row, which is what a screener or an alert actually needs.
- **No key, no account, no proxy.** CoinPaprika's open API answers from any server, so the Actor runs on a schedule without a credential to rotate or a rate limit to buy.
- **Tickers resolve honestly.** A meme token whose symbol is `BITCOIN` outranks nothing: among exact matches the highest market rank wins, so a watchlist by ticker returns the coin you meant.

### Sample output

One item of the dataset (long values shortened):

```json
{
  "rank": 1,
  "symbol": "BTC",
  "name": "Bitcoin",
  "price": 73848.04272699,
  "marketCap": 1483675266280.3245,
  "volume24h": 24253005339.466385,
  "change24hPct": 1.2,
  "change7dPct": -0.83,
  "ath": 111070.12243945,
  "url": "https://coinpaprika.com/coin/btc-bitcoin/"
}
```

### What you get

- **The whole market in one run**: up to 2,000 coins by market cap, each with rank, price, market cap, 24h volume and the change in both
- **Six change windows** — 15m, 1h, 6h, 12h, 24h and 7d — so a screener does not need six requests
- **Your watchlist by ticker, name or id.** A ticker resolves to the highest-ranked coin with that symbol, so a meme token called `BITCOIN` cannot hijack `bitcoin`
- **Daily history**: one row per day per coin with price, market cap and volume, up to a year back (quoted in USD or BTC — every row says which currency it is in)
- **Yesterday's candle** on request: open, high, low, close and volume of the last completed day (USD or BTC)
- **All-time high** with its date and the percentage below it, plus the coin's beta and the date its data begins
- Any quote currency — `usd`, `eur`, `gbp`, `jpy`, `btc`, `eth`
- JSON, CSV, Excel or the API, and an MCP server so an agent can ask for prices directly

### Input example

```json
{
  "topCoins": 100,
  "currency": "usd",
  "historyDays": 0,
  "includeDailyOhlc": false
}
```

### How much does it cost?

Pay per coin — no subscription, no minimum, no charge for platform usage.

| Volume | Price |
|---|---|
| 1,000 coins | $1.00 (+ $0.20 with `historyDay`) |
| 10,000 coins | $10.00 (+ $2.00 with `historyDay`) |
| 100,000 coins | $100.00 (+ $20.00 with `historyDay`) |

The Apify **free plan includes $5 of usage every month** — about 5,000 coins with this Actor, no card needed. Nothing else is charged: platform usage is included in the price, and Apify Bronze, Silver and Gold subscribers get 10%, 20% and 30% off these prices.

### Use it from code, n8n, Make, Zapier or an AI agent

Run the Actor and download the dataset in one call (JSON by default; add `&format=csv` or `xlsx`):

```bash
curl -X POST "https://api.apify.com/v2/acts/chorelet~crypto-prices-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"topCoins": 100, "currency": "usd", "historyDays": 0, "includeDailyOhlc": false}'
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("chorelet/crypto-prices-scraper").call(run_input={"topCoins": 100, "currency": "usd", "historyDays": 0, "includeDailyOhlc": false})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

- **n8n, Make, Zapier** — use the Apify node/module: run the Actor, then "get dataset items".
- **Google Sheets, Slack, webhooks** — add an integration on the run's *Integrations* tab.
- **AI agents** — the Actor is available as a tool through the Apify MCP server; the dataset schema describes every field for the model.
- **Schedules** — run it hourly, daily or weekly from the *Schedules* tab.

### FAQ

**Do I need an API key?**

No. The Actor uses CoinPaprika's open API — no key, no account, no proxy, and nothing to renew.

**How many coins can I get?**

Up to 2,000, ranked by market cap, in one request. Ask for more and the run returns those 2,000 and says so in the log.

**How far back does the daily history go?**

One year. Ask for more days and the Actor clamps the range and tells you in the log, rather than failing halfway through.

**Can I get the price history in euros?**

No — the source publishes daily history and candles in USD and BTC only. Ask for EUR and the live rows come back in EUR while the history rows say `USD` in their currency column, so nothing is silently mislabelled.

**Can I get prices in euros or in BTC?**

Yes — set the quote currency to `eur`, `gbp`, `jpy`, `btc`, `eth` or `usd`, and every price, market cap and volume in the run is quoted in it.

**Why are the open/high/low/close columns empty?**

They are filled only when "Add yesterday's open/high/low/close" is on, because each coin's candle is one extra request — cheap for a watchlist, slow for a 2,000-coin sweep.

**Didn't this Actor use CoinGecko?**

It did, until September 2026, when CoinGecko put its keyless market endpoints behind a block that returns 403 to every server. The Actor now reads CoinPaprika's open API instead; input and output kept the same shape, minus the fields CoinPaprika does not publish (circulating supply and the all-time low).

**Is there a 30-day or 1-year change?**

No. CoinPaprika's open API returns 0 for those two windows, so the Actor leaves them out instead of shipping a column of zeros — use the daily history to compute any window you need.

### Support

Questions, missing fields or a source that changed? Open an issue on the *Issues* tab or write to support@chorelet.app — problems are usually fixed within a day, and the Actor is checked every morning by an automated test run. If the Actor saved you time, a short review on its Store page helps other people find it.

# Actor input Schema

## `topCoins` (type: `integer`):

How many of the largest coins by market cap to fetch (0 = none). The whole list arrives in a single request; the open API tops out at 2,000 coins.

## `coins` (type: `array`):

CoinPaprika ids (`btc-bitcoin`), ticker symbols (`BTC`, `SOL`), names (`Bitcoin Cash`) or coin URLs. A symbol resolves to the highest-ranked coin with that ticker, so `BITCOIN` meme tokens cannot hijack `bitcoin`.

## `currency` (type: `string`):

`usd`, `eur`, `gbp`, `jpy`, `btc`, `eth` — the currency every price, market cap and volume is quoted in.

## `historyDays` (type: `integer`):

0 = no history. Otherwise one row per day per coin with price, market cap and volume (for the coins you listed; or the first 25 of the top list). The open API serves one year back.

## `includeDailyOhlc` (type: `boolean`):

Fills the open, high, low, close and volume columns from the last completed day. Costs one extra request per coin, so leave it off for large top-N sweeps.

## Actor input object example

```json
{
  "topCoins": 100,
  "coins": [],
  "currency": "usd",
  "historyDays": 0,
  "includeDailyOhlc": false
}
```

# Actor output Schema

## `coins` (type: `string`):

Items of the default dataset. Use ?format=csv or xlsx on this URL for spreadsheets.

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "topCoins": 100,
    "coins": [],
    "currency": "usd",
    "historyDays": 0,
    "includeDailyOhlc": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("chorelet/crypto-prices-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "topCoins": 100,
    "coins": [],
    "currency": "usd",
    "historyDays": 0,
    "includeDailyOhlc": False,
}

# Run the Actor and wait for it to finish
run = client.actor("chorelet/crypto-prices-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "topCoins": 100,
  "coins": [],
  "currency": "usd",
  "historyDays": 0,
  "includeDailyOhlc": false
}' |
apify call chorelet/crypto-prices-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,chorelet/crypto-prices-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/EjS3VpOmJaCE6apXO/builds/c7rR5VrGKx5N4pGL2/openapi.json
