# CoinMarketCap Scraper - Prices, Market Cap & Volume (`goat255/coinmarketcap-scraper`) Actor

Collect the ranked coin listing with one clean row each: price, movement over seven windows, market cap, 24 hour volume, market dominance, supply and tags. Price in any of ten currencies.

- **URL**: https://apify.com/goat255/coinmarketcap-scraper.md
- **Developed by:** [Goutam Soni](https://apify.com/goat255) (community)
- **Categories:** Business, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 coin scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

## CoinMarketCap Scraper

Collect the ranked coin listing with one clean row each: price, movement, market cap, volume, dominance and supply. No login and no API key.

### What it does

- **Movement over seven windows** - 1 hour, 24 hours, 7 days, 30 days, 90 days, 1 year and year to date, each its own column.
- **Full size picture** - market cap, fully diluted market cap, 24 hour volume, how much volume changed, and market dominance.
- **Supply** - circulating and total, plus the ratio between them worked out for you, which is the number that shows how much is still to be released.
- **Ten pricing currencies** including the Singapore dollar, Indian rupee, and pricing in Bitcoin or Ether.
- **Filters** for minimum market cap, minimum volume and tag, so you can pull just one sector.
- **Trending, gainers and losers** lists on request.
- **Turnover and market pair count** on every row, both useful for judging liquidity.

Prices move constantly, so schedule the run to build your own time series.

Common uses: building a price history, sector and tag research, screening for liquidity, portfolio tracking, and adding market data to a dashboard.

### Input

| Field | Type | Description |
|---|---|---|
| `sort` | string | `market_cap`, `volume`, `price`, `change_1h`, `change_24h`, `change_7d`, `supply`, `newest`, `name`. |
| `ascending` | boolean | Sort smallest first. |
| `currency` | string | Currency to price in. Ten supported. |
| `maxResults` | integer | Total cap. Default 500, up to 20000. |
| `minMarketCap` | integer | Only coins at or above this market cap. |
| `minVolume24h` | integer | Only coins with at least this much 24 hour volume. |
| `tags` | array | Only coins carrying one of these tags. |
| `lists` | array | `trending`, `gainers`, `losers`. |
| `proxyConfiguration` | object | Optional. Enable to spread requests across IPs. |

#### Example input

```json
{
  "sort": "market_cap",
  "currency": "USD",
  "maxResults": 1000,
  "minMarketCap": 100000000,
  "minVolume24h": 5000000,
  "lists": ["trending"]
}
````

### Output

Each item is one coin.

```json
{
  "id": 1000001,
  "name": "Example Coin",
  "symbol": "EXMPL",
  "slug": "example-coin",
  "price": 64796.7767103,
  "currency": "USD",
  "change1h": 0.1448,
  "change24h": 1.3955,
  "change7d": 1.4391,
  "change30d": 3.1738,
  "change90d": -12.308,
  "change1y": -45.0467,
  "changeYtd": -26.9747,
  "marketCap": 1299705086691.06,
  "fullyDilutedMarketCap": 1360732310916.23,
  "volume24h": 14206414908.93,
  "volumeChange24h": -48.0372,
  "marketDominance": 52.4193,
  "turnover": 0.010930,
  "circulatingSupply": 19811356.0,
  "totalSupply": 19811356.0,
  "supplyRatio": 1.0,
  "marketPairs": 12374,
  "tags": ["example-tag", "store-of-value"],
  "platform": null,
  "isActive": true,
  "isAudited": false,
  "dateAdded": "2010-07-13T00:00:00Z",
  "lastUpdated": "2026-07-19T04:55:02Z",
  "url": "https://coinmarketcap.com/currencies/example-coin/"
}
```

### Notes

- No login and no API key. Pick a sort and run.
- `platform` is filled for tokens issued on another chain and is `null` for coins with their own chain.
- `supplyRatio` is `null` when a coin has no fixed total supply, rather than a made up figure.
- Coins are deduplicated, so one reached through both the listing and a trending list is delivered once and charged once.
- Every figure is priced in the currency you asked for, and that currency is stated on each row.

# Actor input Schema

## `sort` (type: `string`):

How to order the listing.

## `ascending` (type: `boolean`):

Turn on to sort smallest first.

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

Currency to price everything in.

## `maxResults` (type: `integer`):

Total cap for the run.

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

Only coins at or above this market cap.

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

Only coins that traded at least this much in the last 24 hours.

## `tags` (type: `array`):

Optional. Only coins carrying one of these tags, for example defi, memes or gaming.

## `lists` (type: `array`):

Also pull the current trending, gaining or losing lists.

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

Optional. Enable to spread requests across IP addresses.

## Actor input object example

```json
{
  "sort": "market_cap",
  "ascending": false,
  "currency": "USD",
  "maxResults": 500,
  "tags": [
    "defi"
  ]
}
```

# Actor output Schema

## `coins` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("goat255/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 = {}

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "CoinMarketCap Scraper - Prices, Market Cap & Volume",
        "description": "Collect the ranked coin listing with one clean row each: price, movement over seven windows, market cap, 24 hour volume, market dominance, supply and tags. Price in any of ten currencies.",
        "version": "0.0",
        "x-build-id": "n9RgUHeIvaN1CPhhh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/goat255~coinmarketcap-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-goat255-coinmarketcap-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/goat255~coinmarketcap-scraper/runs": {
            "post": {
                "operationId": "runs-sync-goat255-coinmarketcap-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/goat255~coinmarketcap-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-goat255-coinmarketcap-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "sort": {
                        "title": "Sort",
                        "enum": [
                            "market_cap",
                            "volume",
                            "price",
                            "change_1h",
                            "change_24h",
                            "change_7d",
                            "supply",
                            "newest",
                            "name"
                        ],
                        "type": "string",
                        "description": "How to order the listing.",
                        "default": "market_cap"
                    },
                    "ascending": {
                        "title": "Sort ascending",
                        "type": "boolean",
                        "description": "Turn on to sort smallest first.",
                        "default": false
                    },
                    "currency": {
                        "title": "Price currency",
                        "enum": [
                            "USD",
                            "EUR",
                            "GBP",
                            "JPY",
                            "INR",
                            "SGD",
                            "AUD",
                            "CAD",
                            "BTC",
                            "ETH"
                        ],
                        "type": "string",
                        "description": "Currency to price everything in.",
                        "default": "USD"
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 20000,
                        "type": "integer",
                        "description": "Total cap for the run.",
                        "default": 500
                    },
                    "minMarketCap": {
                        "title": "Minimum market cap",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only coins at or above this market cap."
                    },
                    "minVolume24h": {
                        "title": "Minimum 24h volume",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only coins that traded at least this much in the last 24 hours."
                    },
                    "tags": {
                        "title": "Tags",
                        "type": "array",
                        "description": "Optional. Only coins carrying one of these tags, for example defi, memes or gaming.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "lists": {
                        "title": "Trending lists",
                        "type": "array",
                        "description": "Also pull the current trending, gaining or losing lists.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "trending",
                                "gainers",
                                "losers"
                            ],
                            "enumTitles": [
                                "Trending",
                                "Top gainers",
                                "Top losers"
                            ]
                        }
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional. Enable to spread requests across IP addresses."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
