# CoinMarketCap Scraped (`apificasion/coinmarketcap-scraped`) Actor

Coin market cap scraping

- **URL**: https://apify.com/apificasion/coinmarketcap-scraped.md
- **Developed by:** [Nalintha Alwis](https://apify.com/apificasion) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Scraper Full Option

A production-grade, high-performance **Apify Actor** designed to extract real-time cryptocurrency rankings, deep token metadata, multi-chain smart contracts, social links, trending coins, exchanges, and global market metrics directly from **CoinMarketCap**.

***

### ✨ Features

- **Rankings & Market Listings**:
  - Live top cryptocurrencies sorted by market cap, 24h volume, price changes, or circulating supply.
  - Multi-currency quote conversion (USD, EUR, GBP, BTC, ETH, etc.).
  - Asset class filtering: native coins, smart contract tokens, or all crypto assets.
- **Deep Coin Profiles & Token Contracts**:
  - Full project descriptions, launch date, tags, and category classifications.
  - Smart contract addresses across all deployed chains (Ethereum, Solana, BNB Chain, Arbitrum, Base, Polygon, etc.) with direct block explorer URLs.
  - Official links: websites, whitepapers, GitHub source repositories, and block explorers.
  - Social profiles: Twitter / X, Telegram groups, Discord servers, and Reddit.
  - Third-party security audit reports (CertiK, Fairyproof, etc.).
- **Market Spotlight & Trending Intelligence**:
  - Real-time trending tokens on CoinMarketCap.
  - Top 24h gainers and biggest market losers.
  - Most visited and searched coins over the last 24 hours.
  - Newly listed microcap coins and tokens with launch timestamps.
- **Crypto Exchanges & Proof of Reserves**:
  - Spot and derivatives exchange rankings.
  - Exchange trust score, traffic score, liquidity, and 24h/7d/30d trading volume.
  - Financial transparency: Proof of Reserves (PoR) status and audit availability.
- **Global Metrics & Sentiment**:
  - Total crypto market cap, 24h market volume, and BTC & ETH dominance percentages.
  - DeFi, stablecoin, and derivatives sector volumes.
  - **Crypto Fear & Greed Index**: Real-time score, sentiment classification, and 7-day historical trend.
- **Historical Price Charts & Custom URLs**:
  - Chronological price, volume, and market cap time series points across custom intervals (`1D`, `7D`, `1M`, `1Y`, `ALL`).
  - Targeted scraping by directly passing specific CoinMarketCap currency or exchange URLs.
- **Advanced Scraping Mechanics**:
  - Zero API keys or expensive subscriptions required.
  - High-speed HTTP client engine powered by Crawlee with automated retry handling.
  - Full Apify Proxy integration (Datacenter and Residential) for high-frequency or large-scale data pipelines.

***

### 💰 Pricing (Pay Per Event - PPE)

This Actor uses Apify's transparent **Pay Per Event (PPE)** pricing model. You only pay for the exact cryptocurrency records and data successfully extracted and delivered to your dataset—**never** for compute run time, idle proxies, or retries.

#### Event Pricing Breakdown

| Event Name | Price (USD) | What's Included |
|---|---|---|
| **`listing-coin`** | **$0.001** / coin<br>*($1.00 per 1,000 coins)* | Basic cryptocurrency listing record: Rank, name, symbol, slug, real-time price, 1h/24h/7d/30d price change %, 24h volume, market cap, and circulating/total supply. |
| **`coin-deep-details`** | **$0.005** / coin<br>*($5.00 per 1,000 coins)* | Comprehensive coin profile: Full description, date launched, multi-chain smart contracts with explorer links, official websites, whitepaper, GitHub, socials (Twitter/X, Telegram, Discord), and security audits. |
| **`spotlight-item`** | **$0.002** / token<br>*($2.00 per 1,000 tokens)* | Trending tokens, top 24h gainers, top 24h losers, most visited coins, or newly listed microcap tokens. |
| **`exchange-scraped`** | **$0.003** / exchange<br>*($3.00 per 1,000 exchanges)* | Spot or derivatives exchange profile: Rank, score, traffic score, trading volume, monthly visits, number of markets/pairs, and Proof of Reserves status. |
| **`global-metrics-report`** | **$0.010** / report | Comprehensive global market metrics snapshot: Total market cap, 24h volume, BTC/ETH dominance %, sector volumes (DeFi, Stablecoins), and Fear & Greed index score with 7-day history. |
| **`historical-chart-series`** | **$0.020** / series | Complete chronological price chart dataset (1D, 7D, 1M, 1Y, ALL) containing all historical price, volume, and market cap time series data points. |

> 💡 **Tip**: If you only need top cryptocurrency market rankings (`mode: "top_coins"`, `includeDetails: false`), your total cost is just **$0.001 per coin ($1.00 per 1,000 coins)**!

#### 📊 Cost Estimation Table

| Number of Items | Market Listings (`listing-coin`) | Deep Coin Profiles (`coin-deep-details`) | Trending / Spotlight (`spotlight-item`) | Exchanges (`exchange-scraped`) |
|---|---|---|---|---|
| **100 items** | **$0.10** | **$0.50** | **$0.20** | **$0.30** |
| **500 items** | **$0.50** | **$2.50** | **$1.00** | **$1.50** |
| **1,000 items** | **$1.00** | **$5.00** | **$2.00** | **$3.00** |
| **5,000 items** | **$5.00** | **$25.00** | **$10.00** | **$15.00** |
| **10,000 items** | **$10.00** | **$50.00** | **$20.00** | **$30.00** |
| **50,000 items** | **$50.00** | **$250.00** | **$100.00** | **$150.00** |

#### Why Pay Per Event is Better Than Traditional Compute (CU) Billing

- 🎯 **100% Predictable Budget**: You know the exact cost before starting your run.
- 🚫 **No Charge for Failures or Timeouts**: If a request fails or a network issue occurs, you pay $0.
- ⚡ **No Idle Time Fees**: You don't pay for container startup, proxy initialization, or network latency.
- 🎁 **Free Monthly Allowance**: Apify provides all users with **$5 free monthly usage credit**, meaning you can scrape up to **5,000 cryptocurrency listings or 1,000 deep coin profiles completely free** every month!

***

### 📖 How to Use

#### 1. Running via Apify Console

1. Navigate to the Actor on the Apify Console.
2. Select your desired **Scraping Mode** (e.g. `top_coins`, `coin_details`, `trending`, `exchanges`, etc.).
3. Configure your input settings (e.g., set `maxItems`, choose `sortBy`, enter coin symbols).
4. Click **Start** to run the Actor.
5. Download your extracted data in **JSON**, **CSV**, **Excel**, or **XML** from the **Dataset** tab.

***

### 📄 License

Licensed under the **ISC License**.

# Actor input Schema

## `mode` (type: `string`):

Select the type of CoinMarketCap data you want to scrape.

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

Specify coin symbols (e.g. BTC, ETH, SOL, PEPE, DOGE) or slugs (e.g. bitcoin, ethereum, solana). Required for 'Specific Coin Details' and 'Historical Price Chart' modes.

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

Maximum number of coins, exchanges, or records to collect. Set to 0 or leave empty for no limit.

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

Attribute to sort listings by.

## `sortType` (type: `string`):

Ascending or Descending sort order.

## `convert` (type: `string`):

Fiat or crypto currency to quote prices in (e.g. USD, EUR, GBP, BTC, ETH, JPY, CAD, AUD).

## `cryptoType` (type: `string`):

Filter by asset class: all, coins (own blockchain), or tokens (smart contract).

## `includeDetails` (type: `boolean`):

If enabled in 'Top Cryptocurrencies' or 'Trending' mode, fetches deep metadata (smart contracts on all chains, social links, website, whitepaper, GitHub, audits) for every coin.

## `chartRange` (type: `string`):

Time range for 'Historical Price Chart Data' mode.

## `urls` (type: `array`):

Specific CoinMarketCap URLs to scrape when in 'Custom CoinMarketCap URLs' mode (e.g. https://coinmarketcap.com/currencies/solana/).

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

Apify Proxy settings to avoid rate limits or IP bans. Recommended for high-volume scrapes.

## `debugLog` (type: `boolean`):

Enable verbose console logging for troubleshooting and development.

## Actor input object example

```json
{
  "mode": "top_coins",
  "coins": [
    "BTC",
    "ETH",
    "SOL"
  ],
  "maxItems": 100,
  "sortBy": "market_cap",
  "sortType": "desc",
  "convert": "USD",
  "cryptoType": "all",
  "includeDetails": false,
  "chartRange": "7D",
  "urls": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "debugLog": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

Default dataset containing scraped cryptocurrencies, market metrics, smart contract platforms, exchanges, or historical chart points.

# 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 = {
    "coins": [
        "BTC",
        "ETH",
        "SOL"
    ],
    "urls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("apificasion/coinmarketcap-scraped").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 = {
    "coins": [
        "BTC",
        "ETH",
        "SOL",
    ],
    "urls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("apificasion/coinmarketcap-scraped").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 '{
  "coins": [
    "BTC",
    "ETH",
    "SOL"
  ],
  "urls": []
}' |
apify call apificasion/coinmarketcap-scraped --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apificasion/coinmarketcap-scraped"
        }
    }
}
```

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/634XAMf48aWAyald6/builds/lJIoryWr4FvYkIfL7/openapi.json
