# Crypto Scraper — Prices, Market Caps & Trends (`glitchbound/crypto-scraper`) Actor

Live crypto market data for 17,000+ coins: price, market cap, volume, supply, ATH, 1h/24h/7d/30d change, plus Binance 24h ticker, daily OHLC history and trending coins. Any quote currency.

- **URL**: https://apify.com/glitchbound/crypto-scraper.md
- **Developed by:** [Daniel Meshulam](https://apify.com/glitchbound) (community)
- **Categories:** E-commerce, AI, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.25 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Crypto Scraper — Prices, Market Caps & Trends

Live market data for **17,000+ cryptocurrencies** in one clean table: price, market cap, volume, supply, all-time high, and 1h / 24h / 7d / 30d change — priced in any currency you like.

Built on CoinGecko's public API with **Binance's live 24h ticker layered on top**, so listed coins also carry real exchange volume, bid/ask spread and trade count. No API key, no login.

### What you get

| Field | Example |
|---|---|
| `name`, `symbol`, `coinId` | `Bitcoin`, `BTC`, `bitcoin` |
| `price`, `vsCurrency` | `67421.33`, `USD` |
| `marketCap`, `marketCapRank` | `1329841002311`, `1` |
| `volume24h`, `high24h`, `low24h` | |
| `priceChangePct1h/24h/7d/30d` | `-0.42`, `2.11`, `8.90`, `-3.15` |
| `circulatingSupply`, `totalSupply`, `maxSupply` | |
| `ath`, `athChangePct`, `athDate` | `73737`, `-8.6`, `2024-03-14` |
| `atl`, `atlDate`, `fullyDilutedValuation` | |
| `binanceLastPrice`, `binanceQuoteVolume24h`, `binanceBidPrice`, `binanceAskPrice`, `binanceTradeCount24h` | |

### Four ways to use it

**Leaderboard** — `topCoins: 100`
The market-cap top 100 (or top 1000). The default. One request covers 250 coins, so it is fast and cheap.

**Specific coins** — `coinIds: ["bitcoin", "ethereum", "solana"]`
Track a fixed watchlist. Schedule it hourly and you have your own price database.

**Search** — `searchTerms: ["doge", "restaking"]`
Don't know the exact ID? Search by name or symbol and the Actor resolves it for you.

**Trending** — `includeTrending: true`
The coins people are searching for most right now, ranked. Good early signal.

Add `historyDays: 30` to also get daily OHLC candles for your watchlist.

### Example input

```json
{
  "topCoins": 100,
  "coinIds": ["bitcoin", "ethereum"],
  "vsCurrency": "usd",
  "includeTrending": true,
  "includeBinance": true,
  "historyDays": 0
}
```

### Any currency

`vsCurrency` accepts `usd`, `eur`, `gbp`, `jpy`, `ils`, `brl`, `inr`, `try`, `krw` and more — plus `btc` and `eth` if you want everything denominated in crypto.

### Category filter

Set `category` to slice the leaderboard: `layer-1`, `meme-token`, `artificial-intelligence`, `real-world-assets`, `gaming`. Useful for sector rotation analysis.

### Who this is for

- **Traders & quants** — build a price/volume history without paying for a data feed
- **Portfolio & tax tools** — reliable reference prices in the user's own currency
- **Researchers** — sector performance via the category filter
- **AI / dataset builders** — clean structured market data, no HTML parsing

### Pricing

Pay per result. One row = one coin (or one candle, or one trending entry). Failed lookups come back as `error` rows and are **not** charged.

### Notes

- The upstream free API rate-limits per IP. This Actor batches aggressively — a 250-coin request is a *single* call — and rotates proxy IPs on rejection. Leave the Apify proxy on.
- `historyDays` costs one request per coin, so it only applies to coins listed in `coinIds`, capped at 50.
- Coins not listed on Binance simply come back without the `binance*` fields rather than failing.
- Set a **max charge per run** in the run options for a hard spend ceiling — the Actor honors it and stops cleanly.

### FAQ

#### Do I need a CoinGecko or Binance API key?

No. Both are read through public endpoints with no key and no login.

#### Can I get prices in a currency other than USD?

Yes. `vsCurrency` accepts `usd`, `eur`, `gbp`, `jpy`, `ils`, `brl`, `inr`, `try`,
`krw` and more, plus `btc` and `eth` if you want everything denominated in
crypto.

#### What is the difference between `price` and `binanceLastPrice`?

`price` is CoinGecko's cross-exchange market price; `binanceLastPrice` is the last
trade on Binance specifically, alongside its bid, ask and 24h trade count. The two
disagree, and the spread between them is often the thing you actually wanted.
Coins not listed on Binance simply come back without the `binance*` fields rather
than failing.

#### I don't know a coin's ID. Can I search by name or ticker?

Yes. `searchTerms: ["doge", "restaking"]` resolves names and symbols to IDs for
you, so you do not have to look up CoinGecko's slug first.

#### Can I get historical prices?

Set `historyDays` for daily OHLC candles. It costs one request per coin, so it
applies only to coins listed in `coinIds` and is capped at 50 of them. For a
running history of the leaderboard, schedule the Actor instead, since each run
timestamps its own snapshot.

#### Can I filter to a sector?

Set `category` to `layer-1`, `meme-token`, `artificial-intelligence`,
`real-world-assets` or `gaming` to slice the leaderboard for sector-rotation
analysis.

#### How do I build my own price database?

Put your watchlist in `coinIds` and run it on an hourly schedule. Every run
appends to a dataset, which is a price history you own, without a paid data feed.

#### Does the upstream rate limit break large runs?

The free API limits per IP. This batches hard, so a 250-coin request is a single
call, and it rotates proxy IPs on rejection. Leave the Apify proxy on.

# Actor input Schema

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

Return the top N coins ranked by market cap. Set to 100 for the standard leaderboard, up to 1000.

## `coinIds` (type: `array`):

Specific CoinGecko coin IDs to fetch, e.g. "bitcoin", "ethereum", "solana". Lowercase full names, not ticker symbols.

## `searchTerms` (type: `array`):

Search for coins by name or symbol when you don't know the exact ID, e.g. "doge", "layer 2".

## `vsCurrency` (type: `string`):

Currency to price everything in: usd, eur, gbp, jpy, ils, btc, eth and more.

## `includeTrending` (type: `boolean`):

Also return the coins people are searching for most right now, with a trending rank.

## `includeBinance` (type: `boolean`):

Enrich each coin with Binance's live 24h volume, bid/ask and trade count where the coin is listed. Costs one extra request for the whole run.

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

Also return daily OHLC candles for the coins in Coin IDs. 0 = no history. Costs one request per coin, so keep the list short.

## `category` (type: `string`):

Restrict Top coins to a CoinGecko category, e.g. "layer-1", "meme-token", "artificial-intelligence".

## `proxyConfiguration` (type: `object`):

Proxy settings. Leave the Apify proxy on — it rotates IPs when the upstream API rate-limits.

## Actor input object example

```json
{
  "topCoins": 100,
  "vsCurrency": "usd",
  "includeTrending": false,
  "includeBinance": true,
  "historyDays": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Crypto market data, OHLC candles and trending coins.

# 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,
    "vsCurrency": "usd"
};

// Run the Actor and wait for it to finish
const run = await client.actor("glitchbound/crypto-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,
    "vsCurrency": "usd",
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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,
  "vsCurrency": "usd"
}' |
apify call glitchbound/crypto-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=glitchbound/crypto-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/qTO1G8QKWocFPELHX/builds/axCoVAd6Nvb6ZErgM/openapi.json
