VOOZH about

URL: https://apify.com/vernacular_reservoir/coinmarketcap-crypto-scraper

โ‡ฑ CoinMarketCap Crypto Scraper - Prices & Stats ยท Apify


๐Ÿ‘ CoinMarketCap Crypto Scraper - Prices & Stats avatar

CoinMarketCap Crypto Scraper - Prices & Stats

Pricing

Pay per usage

Go to Apify Store

CoinMarketCap Crypto Scraper - Prices & Stats

Scrape real-time cryptocurrency prices, market cap, volume, and 24h changes from CoinMarketCap. Get top 100 or top 500 coins by market cap. Includes ATH, ATL, supply data and more. No API key required.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

๐Ÿ‘ Aleksandrs

Aleksandrs

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Categories

Share

JavaScript Crawlee & CheerioCrawler Actor Template

This template example was built with Crawlee to scrape data from a website using Cheerio wrapped into CheerioCrawler.

Quick Start

Once you've installed the dependencies, start the Actor:

$apify run

Once your Actor is ready, you can push it to the Apify Console:

apify login # first, you need to log in if you haven't already done so
apify push

Project Structure

.actor/
โ”œโ”€โ”€ actor.json # Actor config: name, version, env vars, runtime settings
โ”œโ”€โ”€ dataset_schema.json # Structure and representation of data produced by an Actor
โ”œโ”€โ”€ input_schema.json # Input validation & Console form definition
โ””โ”€โ”€ output_schema.json # Specifies where an Actor stores its output
src/
โ””โ”€โ”€ main.js # Actor entry point and orchestrator
storage/ # Local storage (mirrors Cloud during development)
โ”œโ”€โ”€ datasets/ # Output items (JSON objects)
โ”œโ”€โ”€ key_value_stores/ # Files, config, INPUT
โ””โ”€โ”€ request_queues/ # Pending crawl requests
Dockerfile # Container image definition

For more information, see the Actor definition documentation.

How it works

This code is a JavaScript script that uses Cheerio to scrape data from a website. It then stores the website titles in a dataset.

  • The crawler starts with URLs provided from the input startUrls field defined by the input schema. Number of scraped pages is limited by maxPagesPerCrawl field from the input schema.
  • The crawler uses requestHandler for each URL to extract the data from the page with the Cheerio library and to save the title and URL of each page to the dataset. It also logs out each result that is being saved.

What's included

  • Apify SDK - toolkit for building Actors
  • Crawlee - web scraping and browser automation library
  • Input schema - define and easily validate a schema for your Actor's input
  • Dataset - store structured data where each object stored has the same attributes
  • Cheerio - a fast, flexible & elegant library for parsing and manipulating HTML and XML
  • Proxy configuration - rotate IP addresses to prevent blocking

Resources

Creating Actors with templates

Getting started

For complete information see this article. In short, you will:

  1. Build the Actor
  2. Run the Actor

Pull the Actor for local development

If you would like to develop locally, you can pull the existing Actor from Apify console using Apify CLI:

  1. Install apify-cli

    Using Homebrew

    $brew install apify-cli

    Using NPM

    $npm-ginstall apify-cli
  2. Pull the Actor by its unique <ActorId>, which is one of the following:

    • unique name of the Actor to pull (e.g. "apify/hello-world")
    • or ID of the Actor to pull (e.g. "E2jjCZBezvAZnX8Rb")

    You can find both by clicking on the Actor title at the top of the page, which will open a modal containing both Actor unique name and Actor ID.

    This command will copy the Actor into the current directory on your local machine.

    $apify pull <ActorId>

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

You might also like

CoinMarketCap Crypto Scraper

crawlerbros/coinmarketcap-scraper

Scrape CoinMarketCap for cryptocurrency prices, market cap, supply, ATH/ATL, audits, and social links.

CoinMarketCap Scraper

automation-lab/coinmarketcap-scraper

Extract cryptocurrency data from CoinMarketCap โ€” prices, market caps, volumes, % changes (1h/24h/7d), supply, ATH/ATL. Scrape top coins, filter by sector, or look up specific coins. No API key needed.

๐Ÿ‘ User avatar

Stas Persiianenko

7

Cryptocurrency Market Data Scraper

gentle_cloud/cryptocurrency-market-data-scraper

Fetch real-time cryptocurrency market data from CoinGecko โ€” prices, market cap, volume, price changes, ATH/ATL, supply stats, and trending coins. No API key required.

CoinGecko Crypto Scraper - Prices & Market Data

fascinating_lentil/coingecko-crypto-scraper

Scrape cryptocurrency market data from CoinGecko: prices, market cap, rank, volume, 24h change, supply, ATH/ATL. By coin, search, or top by market cap. No API key needed.

๐Ÿ‘ User avatar

Md Jakaria Mirza

2

CoinMarketCap Crypto Scraper

rupom888/coinmarketcap-scraper

Scrape CoinMarketCap for real-time cryptocurrency prices, market data, rankings, and coin details. Extract price, market cap, volume, circulating supply, percentage changes, and historical data. Get top coins, trending coins, DeFi tokens, NFTs, and exchange data.

CoinGecko Crypto Market Scraper

dami_studio/coingecko-scraper

Scrape cryptocurrency market data from the public CoinGecko API โ€” no key, no login. Get the top coins by market cap, search by name/symbol, or pull specific coins by id, with price, market cap, volume, 24h/7d change, supply, ATH/ATL and the coin page URL.

3

5.0

CoinMarketCap Crypto Prices & Market Data Scraper

parseforge/coinmarketcap-scraper

Scrape real-time prices, market caps, volumes, supply, and 24h/7d/30d changes for 10,000+ cryptocurrencies from CoinMarketCap. No API key required.