Coingecko scraper

ExtractHub extractors are versioned web scrapers: each one is a saved scraper for one kind of page that returns structured JSON through an API. For Coingecko (coingecko.com) there are 2 public extractors: CoinGecko - coins by market cap and CoinGecko - coin page. Together they return fields such as coins, nextPageUrl, name, symbol, apiId, coinId, rank, image and 29 more fields. Call one with your API key and a pinned extractor_id, from the REST API, the Batch API or an AI agent over MCP.

Coingecko scrapers on ExtractHub

  • coingecko.com · @extracthub1/coingecko-coins@1 (v1.0.0)

    The CoinGecko coins table (www.coingecko.com, ?page=2, ...): 100 coins per page with rank, name, symbol, link, logo, price in USD, 1h / 24h / 7d / 30d change in percent, 24h volume, market cap and fully diluted valuation. Plain fetch through a US proxy. Pairs with @extracthub1/coingecko-coin.

    Fields: coins , nextPageUrl

    CoinGecko - coins by market cap scraper: fields, versions and examples →
  • coingecko.com · @extracthub1/coingecko-coin@1 (v1.0.0)

    Price and market data of one cryptocurrency from its CoinGecko page (coingecko.com/en/coins/<id>): name, symbol, rank, USD and BTC price, 24h range, 1h / 24h / 7d / 14d / 30d / 1y change, market cap, the statistics table (FDV, volume, supply rows), all-time high and low with dates, website / explorer / wallet / community / source code links, categories, description and community sentiment. Plain fetch.

    Fields: name , symbol , apiId , coinId , rank , image , priceUsd , priceText , priceBtc , low24hUsd and 25 more

    CoinGecko - coin page scraper: fields, versions and examples →

How to call the Coingecko scraper API

Every call needs your API key (X-API-Key) and a pinned extractor_id. This example uses @extracthub1/coingecko-coins@1 (CoinGecko - coins by market cap); open an extractor's page for its batch, Python and Node examples.

REST: realtime extract
curl -X POST "https://api.extracthub.io/api/extractor/extract" \
  -H "X-API-Key: $EXTRACTHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "extractor_id": "@extracthub1/coingecko-coins@1",
    "target": { "url": "https://coingecko.com/..." }
  }'
MCP: ask your agent (server https://api.extracthub.io/mcp), which calls the extract tool
Use ExtractHub to extract https://coingecko.com/... with @extracthub1/coingecko-coins@1
{
  "tool": "extract",
  "arguments": {
    "extractor_id": "@extracthub1/coingecko-coins@1",
    "url": "https://coingecko.com/..."
  }
}

See the web scraping API reference and the web scraping MCP server setup.

Need another Coingecko page type?

Build your own Coingecko scraper with an AI agent and the extractor builder skill, or in ExtractHub Studio. It stays private until you release it.

Coingecko scraper: frequently asked questions

Is there a ready-made Coingecko scraper?

Yes. ExtractHub lists 2 public extractors for coingecko.com. An extractor is a versioned web scraper for one kind of page: its owner released it as an immutable version with an output schema, and you call that version with your own API key.

What data can I scrape from Coingecko?

CoinGecko - coins by market cap returns coins and nextPageUrl. CoinGecko - coin page returns name, symbol, apiId, coinId, rank, image and 29 more. Every field is listed on the extractor's page with a sample response.

How do I call the Coingecko scraper API?

Send GET or POST https://api.extracthub.io/api/extractor/extract with your API key in the X-API-Key header, extractor_id=@extracthub1/coingecko-coins@1 and the URL of a coingecko.com page as the target. For many URLs use POST https://api.extracthub.io/api/extractor/batch. AI agents call the same extractor through the extract tool of the ExtractHub MCP server at https://api.extracthub.io/mcp.

Can I build my own Coingecko scraper?

Yes. Build an extractor for any Coingecko page type in ExtractHub Studio, or let an AI agent such as Claude Code build, test and release it with the open-source extractor builder skill. New extractors are private until you release them.