# CoinMarketCap Scraper — Crypto Prices & Market Cap (`moneygain/coinmarketcap-scraper`) Actor

Extract live cryptocurrency data from CoinMarketCap: price, market cap, 24h volume, 1h/24h/7d changes, supply and tags. Built for portfolio trackers and market dashboards.

- **URL**: https://apify.com/moneygain/coinmarketcap-scraper.md
- **Developed by:** [Artem Drozhdei](https://apify.com/moneygain) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 cryptocurrency market & token records

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

## CoinMarketCap Crypto Prices, Market Cap & Token Intelligence Scraper

Extract real-time cryptocurrency prices, market capitalization, 24-hour trading volume, multi-timeframe price fluctuations (1h, 24h, 7d, 30d), circulating and max supply, and category tags directly from [CoinMarketCap](https://coinmarketcap.com/) into clean JSON, CSV, or Excel in milliseconds.

Powered by a lightweight HTTP/REST engine running on just **128 MB RAM** with zero browser overhead.

***

### ⚡ Speed & Efficiency Comparison

Traditional cryptocurrency scrapers rely on heavy headless browsers (Puppeteer or Playwright), consuming 2–4 GB RAM, spinning up complex browser tabs, and charging expensive monthly subscriptions. Our CoinMarketCap Scraper connects directly to live data feeds with TLS fingerprint impersonation, delivering extreme speed at a fraction of the cost.

| Metric | Traditional Puppeteer / Playwright | CoinMarketCap Scraper (This Actor) |
| :--- | :--- | :--- |
| **Memory Requirement** | 2,048 MB – 4,096 MB RAM | **128 MB RAM** |
| **Speed per 50 Tokens** | 15 – 35 seconds | **0.3 – 1.2 seconds** |
| **Compute Overhead** | ~$0.08 per run | **$0.0001 per run** |
| **Pricing Model** | $20 – $50 / month subscription | **Pay-Per-Event ($0.005 / item)** |
| **Cloud Reliability** | 82% (timeouts, DOM crashes) | **99.9% (zero browser dependencies)** |
| **AI / MCP Compatibility**| ❌ Complex DOM output | ✅ **100% Typed Clean JSON** |

***

### 📋 Sample JSON Output

Every extracted cryptocurrency token includes verified market metrics, volume, price changes, supply data, and category tags:

```json
{
  "id": 1,
  "name": "Bitcoin",
  "symbol": "BTC",
  "slug": "bitcoin",
  "cmcRank": 1,
  "priceUsd": 60006.23,
  "marketCapUsd": 1207048517404.0,
  "volume24hUsd": 67328059684.0,
  "percentChange1h": 0.12,
  "percentChange24h": -1.45,
  "percentChange7d": 3.21,
  "percentChange30d": 8.5,
  "circulatingSupply": 19750000.0,
  "totalSupply": 19750000.0,
  "maxSupply": 21000000.0,
  "marketCapDominance": 54.3,
  "tags": [
    "mineable",
    "pow",
    "sha-256",
    "store-of-value",
    "state-channel",
    "coinbase-ventures-portfolio"
  ],
  "coinmarketcapUrl": "https://coinmarketcap.com/currencies/bitcoin/",
  "lastUpdated": "2026-11-21T18:10:00.000Z"
}
```

***

### 🎯 Key Use Cases

1. **Quantitative Trading & Algorithmic Bots**: Feed real-time price feeds, volume spikes, and 24h percentage swings directly into your automated trading algorithms.
2. **Top Gainers & Losers Tracking**: Rank tokens by `percent_change_24h` or `percent_change_7d` to identify trending momentum breakout coins, meme tokens, or oversold dips.
3. **Ecosystem & Sector Intelligence**: Filter tokens by sector tags (such as `ai-big-data`, `memes`, `solana-ecosystem`, `layer-1`, `defi`) to analyze sector rotation and relative strength.
4. **Portfolio Trackers & Analytics Dashboards**: Automatically sync live prices, circulating supply, and market cap rankings to Google Sheets, Notion, or internal dashboards via n8n.
5. **AI Market Agents & MCP**: Power LLM trading assistants (Claude, Cursor, OpenAI Agents) with structured crypto token intelligence in under 2 seconds.

***

### ⚙️ Input Parameters

| Field | Type | Description | Default | Prefill |
| :--- | :--- | :--- | :--- | :--- |
| `search` | String | Case-insensitive filter for token name or ticker symbol (e.g. `btc`, `sol`, `pepe`). | `""` | `""` |
| `tag` | String | Filter tokens belonging to specific categories or ecosystems (e.g. `memes`, `ai-big-data`, `solana-ecosystem`). | `""` | `""` |
| `sortBy` | String | Metric to sort tokens: `market_cap`, `volume_24h`, `percent_change_24h`, `percent_change_7d`, `price`. | `"market_cap"` | `"market_cap"` |
| `sortOrder` | String | Sort direction: `desc` (highest first) or `asc` (lowest first / top losers). | `"desc"` | `"desc"` |
| `minMarketCap` | Integer | Minimum market cap in USD (e.g., `10000000` for $10M+). | `0` | `0` |
| `minVolume24h` | Integer | Minimum 24h trading volume in USD (e.g., `500000` for $500k+). | `0` | `0` |
| `maxItems` | Integer | Maximum number of cryptocurrency tokens to extract. | `10` | `5` |

***

### 🤖 AI Agents & Apify MCP Server Integration

This Actor produces pure typed JSON ideal for AI agents running on Cursor, Claude Desktop, or LangChain via the **Apify MCP Server**.

#### Claude Desktop / Cursor Config (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

#### Prompt Example for AI Agent:

> *"Fetch the top 10 cryptocurrency tokens by 24-hour price change in the AI & Big Data ecosystem from CoinMarketCap and summarize the biggest gainers with their trading volume."*

***

### 🔄 Automated No-Code Sync (n8n & Make)

Included inside `workflows/n8n_template.json` is a ready-to-import workflow template that triggers hourly, extracts market data via Apify, and upserts rows into Google Sheets or PostgreSQL.

***

### ❓ Frequently Asked Questions (FAQ)

#### Is scraping CoinMarketCap data legal?

Yes. The data extracted by this Actor consists strictly of publicly available market prices, volumes, and cryptocurrency metadata. It does not access private accounts or confidential user information.

#### How much does it cost to extract 1,000 tokens?

With our Pay-Per-Event pricing of **$0.005 per token**, extracting 1,000 tokens costs just **$5.00** (with automatic volume discounts for Bronze, Silver, and Gold tiers). There are zero monthly commitments or recurring platform subscriptions.

#### Can I track meme coins and new ecosystem tokens?

Yes. You can filter by tags such as `memes`, `solana-ecosystem`, or `base-ecosystem` to extract newly listed and high-momentum tokens.

#### Can I export the data to Excel or CSV?

Yes. After running the Actor, you can download the entire dataset in 1 click as JSON, CSV, Excel (XLSX), XML, or HTML table directly from the Apify Console.

#### Does this scraper require proxies?

No manual proxy configuration is required. The Actor runs seamlessly with built-in zero-configuration proxy routing on the Apify platform.

***

### 🔗 Explore More High-Speed B2B Scrapers & Enrichers by Our Team

| Actor Name | Best Use Case | Pricing Model | Link |
| :--- | :--- | :--- | :--- |
| **Peerlist Tech Jobs & Salaries** | Tech & AI Career Feeds, Verified Salaries | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/peerlist-jobs-scraper) |
| **Hacker News Posts & Startups** | Tech Trends, Show HN Startups, Hiring Threads | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/hackernews-posts-scraper) |
| **Substack Newsletter Scraper** | Top Newsletters, Posts, Authors & Intel | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/substack-newsletter-scraper) |
| **RemoteOK Tech Jobs Scraper** | Global Remote Engineering & AI Roles | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/remoteok-jobs-scraper) |
| **Y Combinator Startups Scraper** | 6,400+ YC Companies, Founders, Socials | Pay-Per-Event ($0.008) | [Apify Store](https://apify.com/archibald322/ycombinator-startups-scraper) |
| **TrustMRR SaaS Revenue Scraper** | Verified Micro-SaaS ARR, Multiples & Deals | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/trustmrr-startups-scraper) |
| **Hugging Face AI Models Scraper** | 1M+ Open-Source LLMs, Weights & Datasets | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/huggingface-models-scraper) |
| **Ashby ATS Tech Jobs Scraper** | High-growth Tech & AI Startup Vacancies | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/ashby-jobs-scraper) |
| **Greenhouse ATS Jobs Scraper** | Enterprise Careers & Tech Vacancies | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/greenhouse-jobs-scraper) |
| **Lever ATS Jobs Scraper** | Enterprise Tech & AI Talent Recruitment | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/lever-jobs-scraper) |
| **Clutch B2B Agencies Scraper** | Software Agencies, Verified B2B Reviews | Pay-Per-Event ($0.008) | [Apify Store](https://apify.com/archibald322/clutch-agencies-scraper) |
| **Wellfound Startups & Jobs** | AngelList Startup Ecosystem & Jobs | Pay-Per-Event ($0.008) | [Apify Store](https://apify.com/archibald322/wellfound-jobs-scraper) |
| **Bulldogjob Tech Jobs Scraper** | European IT Careers & Verified Salaries | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/bulldogjob-scraper) |
| **TheProtocol Tech Jobs Scraper** | IT Job Postings, Salaries & Tech Stacks | Pay-Per-Event ($0.005) | [Apify Store](https://apify.com/archibald322/theprotocol-scraper) |

# Actor input Schema

## `search` (type: `string`):

Filter by token name or ticker symbol (e.g. 'bitcoin', 'sol', 'pepe'). Case-insensitive.

## `tag` (type: `string`):

Filter by category or ecosystem tag (e.g. 'memes', 'ai-big-data', 'solana-ecosystem', 'defi', 'layer-1', 'gaming').

## `sortBy` (type: `string`):

Metric to rank cryptocurrencies by.

## `sortOrder` (type: `string`):

Sort direction: Descending (highest first) or Ascending (lowest first, e.g. biggest losers).

## `minMarketCap` (type: `integer`):

Filter tokens with Market Cap >= this amount in USD.

## `minVolume24h` (type: `integer`):

Filter tokens with 24h Trading Volume >= this amount in USD.

## `maxItems` (type: `integer`):

Maximum number of cryptocurrency tokens to extract.

## Actor input object example

```json
{
  "search": "",
  "tag": "",
  "sortBy": "market_cap",
  "sortOrder": "desc",
  "minMarketCap": 0,
  "minVolume24h": 0,
  "maxItems": 5
}
```

# Actor output Schema

## `results` (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 = {
    "search": "",
    "tag": "",
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("moneygain/coinmarketcap-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 = {
    "search": "",
    "tag": "",
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("moneygain/coinmarketcap-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 '{
  "search": "",
  "tag": "",
  "maxItems": 5
}' |
apify call moneygain/coinmarketcap-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moneygain/coinmarketcap-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/7ZTuiJIcIVzi7kZoQ/builds/2ddaoNIvVu9fx9DmT/openapi.json
