# CoinGecko Scraper - Crypto Prices, Markets, NFTs & Exchanges (`scrapesage/coingecko-crypto-scraper`) Actor

Scrape CoinGecko crypto data: coin prices & markets (caps, volume, 1h/24h/7d/30d change, ATH/ATL, supply, sparkline), full coin profiles, historical OHLC, exchanges, derivatives, NFT collections, categories, trending, global market data & public-company treasuries. Monitoring mode. JSON, CSV, Excel.

- **URL**: https://apify.com/scrapesage/coingecko-crypto-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** Other, Automation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 coin / price records

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## CoinGecko Scraper — Crypto Prices, Markets, NFTs & Exchanges

Extract **complete crypto market data from [CoinGecko](https://www.coingecko.com)** — live **coin prices & markets** (market cap, volume, 1h/24h/7d/30d change, ATH/ATL, supply, sparkline), full **coin profiles** (description, contract addresses, project links & socials, developer + community stats), **historical OHLC & charts**, **exchanges** and **derivatives** venues, **NFT collections** (floor price, volume, holders), **categories/sectors**, **trending** coins, **global** market data, and **public-company BTC/ETH treasuries**.

No browser, no login — fast, direct-to-API extraction, keyless out of the box (add a free CoinGecko Demo key for higher limits). Built for **price feeds, dashboards, alerts, research and trading bots** you can run on a schedule.

### Why this CoinGecko scraper?

Most crypto scrapers grab a single thin list of prices and stop there. This actor reads CoinGecko's full public API and ships the **richest dataset in the category** — markets, deep coin profiles, history, exchanges, NFTs, sectors and macro data — all from **one actor**, with a **monitoring mode** that returns only what's new.

| Data | Thin price scrapers | This actor |
|---|---|---|
| Coin price, market cap, rank, volume | ✅ | ✅ |
| 1h / 24h / 7d / 30d change + ATH/ATL + supply | partial | ✅ |
| 7-day price **sparkline** | ❌ | ✅ (optional) |
| Full **coin profile**: description, contract addresses, categories | ❌ | ✅ |
| Project **links & socials** (site, whitepaper, X, Telegram, Reddit, GitHub) | ❌ | ✅ |
| **Developer & community** stats (commits, stars, followers, subs) | ❌ | ✅ |
| **Historical OHLC** candles + price/volume time series | ❌ | ✅ |
| **Exchanges** & **derivatives** venues (trust score, volume, OI) | ❌ | ✅ |
| **NFT collections** (floor, volume, holders, supply) | ❌ | ✅ |
| **Categories/sectors**, **trending**, **global** & **DeFi** market data | ❌ | ✅ |
| Public-company **BTC/ETH treasuries** | ❌ | ✅ |
| **Monitoring mode** — only new coins / listings / treasuries | ❌ | ✅ |
| One clean dataset per type (no empty columns) | ❌ | ✅ |

### Use cases

- **Price feeds & dashboards** — schedule the Coins mode to keep a fresh table of prices, market caps and 24h/7d change for the coins you track.
- **Trading & alert bots** — pull historical OHLC for backtesting, or run monitoring mode for new-listing and trending alerts.
- **Token & project research** — full coin profiles with description, contract addresses across chains, links/socials and developer + community activity.
- **Market & sector analysis** — categories/sectors with market cap and 24h change, plus global market cap, BTC dominance and DeFi share.
- **Exchange & derivatives intelligence** — rank venues by trust score, 24h volume and open interest; capture their socials and websites.
- **NFT analytics** — floor prices, volumes, holders and supply across the top collections.
- **Corporate-treasury & macro research** — which public companies hold Bitcoin/Ethereum, how much, and at what entry value.

### How to use

1. [Sign up for Apify](https://console.apify.com/sign-up) — the free plan is enough to try this actor.
2. Open the **CoinGecko Scraper**, pick a **mode** (Coins & prices by default), and either leave it on the top coins by market cap or list the coins you want in **searchQueries** / **coinIds**.
3. Click **Start** and watch results stream into the dataset table.
4. **Export** as JSON, CSV, Excel, XML, or RSS — or pull results programmatically via the [Apify API](https://docs.apify.com/api/v2).

### Input

```json
{
    "mode": "coins",
    "searchQueries": ["bitcoin", "ethereum", "solana"],
    "vsCurrency": "usd",
    "enrichCoinDetails": true,
    "includeSparkline": true,
    "maxResults": 100
}
```

- **mode** *(default `coins`)* — `coins`, `coinHistory`, `exchanges`, `derivatives`, `categories`, `nfts`, `trending`, `global`, or `companyTreasuries`.
- **searchQueries** — coin names/symbols to resolve to CoinGecko ids (Coins & Historical modes). Leave empty in Coins mode for the top coins by market cap.
- **coinIds** — exact CoinGecko ids (e.g. `bitcoin`, `matic-network`) — faster and more precise than search.
- **startUrls** — paste CoinGecko URLs for coins, exchanges, NFTs or categories; they're routed automatically.
- **category** — limit Coins mode to one sector id (e.g. `layer-1`, `meme-token`, `artificial-intelligence`). Run Categories mode to discover ids.
- **vsCurrency** *(default `usd`)* — quote currency (`usd`, `eur`, `gbp`, `btc`, `eth`…).
- **order** *(default `market_cap_desc`)* — ordering for the top-coins list.
- **historyDays** *(default `30`)* — window for Historical mode (`1`…`365` or `max`).
- **treasuryCoins** *(default `["bitcoin","ethereum"]`)* — coins to fetch public-company holdings for.
- **enrichCoinDetails / enrichExchangeDetails** *(default false)* — fetch full profiles (descriptions, links/socials, dev & community stats). One extra API call per item.
- **includeSparkline** *(default false)* — attach the 7-day price sparkline to each coin.
- **maxResults** *(default 100)* — cap per run.
- **monitorMode / monitorKey** — return only records not seen in previous runs (new coins, listings, treasuries). Works with [Schedules](https://docs.apify.com/platform/schedules).
- **demoApiKey** *(optional)* — a free CoinGecko Demo key for higher rate limits.
- **maxConcurrency** *(default 3)* — keep low on the keyless free tier.
- **proxyConfiguration** — proxy settings (Apify Proxy by default; IP rotation spreads the free rate limit).

### Output

Every record carries a `type` field so one dataset can hold several entity kinds. A **coin** record (Coins mode, with `enrichCoinDetails`):

```json
{
    "type": "coin",
    "id": "bitcoin",
    "symbol": "BTC",
    "name": "Bitcoin",
    "vsCurrency": "USD",
    "currentPrice": 65965,
    "marketCap": 1320318756082,
    "marketCapRank": 1,
    "fullyDilutedValuation": 1320318756082,
    "totalVolume": 26347008797,
    "high24h": 66895,
    "low24h": 65409,
    "priceChangePercentage1h": 0.10,
    "priceChangePercentage24h": -0.07,
    "priceChangePercentage7d": 2.31,
    "priceChangePercentage30d": 5.10,
    "circulatingSupply": 20043825,
    "maxSupply": 21000000,
    "ath": 126080,
    "athChangePercentage": -47.68,
    "athDate": "2025-10-06T...",
    "description": "Bitcoin is the first decentralized cryptocurrency…",
    "categories": ["Cryptocurrency", "Layer 1 (L1)"],
    "genesisDate": "2009-01-03",
    "links": {
        "homepage": "https://bitcoin.org",
        "whitepaper": "https://bitcoin.org/bitcoin.pdf",
        "twitter": "https://twitter.com/bitcoin",
        "subreddit": "https://reddit.com/r/Bitcoin",
        "github": ["https://github.com/bitcoin/bitcoin"]
    },
    "community": { "twitterFollowers": 6800000, "redditSubscribers": 7200000 },
    "developer": { "stars": 81000, "forks": 36000, "commits4Weeks": 120 },
    "sentimentVotesUpPercentage": 78.4,
    "url": "https://www.coingecko.com/en/coins/bitcoin"
}
```

Other record types: **coinHistory** (`ohlc` candles + `prices`/`marketCaps`/`totalVolumes` series + summary), **exchange** / **derivativesExchange** (trust score, 24h BTC volume, open interest, socials), **nft** (floor price, volume, holders, supply, links), **category** (market cap, 24h change, top coins), **global** / **globalDefi** (total market cap, BTC dominance, DeFi share) and **companyTreasury** / **companyHolding** (public-company BTC/ETH holdings).

#### What to expect (field coverage)

| Entity | Always present | Usually present | Present when published |
|---|---|---|---|
| **Coin** | id, symbol, name, price, market cap, volume, url | rank, 24h/7d change, ATH/ATL, supply | full profile, links/socials, dev & community stats (with `enrichCoinDetails`) |
| **Coin history** | id, currency, window, candles, summary | OHLC, price/market-cap/volume series | — |
| **Exchange** | id, name, trust score, 24h BTC volume | country, year, rank | socials & website (with `enrichExchangeDetails`) |
| **NFT** | id, name, floor price, market cap, volume | holders, supply, sales | links (homepage/X/Discord) |
| **Category / Global / Treasury** | core metrics | top coins, dominance, holdings | — |

A blank field means CoinGecko doesn't publish it for that record — nothing is dropped, so you always get the richest dataset available.

### Automate & schedule

Run this actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** — start runs, fetch datasets, and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** — official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** — run it every hour/day to keep prices fresh or to catch new listings and trending coins.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** — trigger downstream actions (alert, trade, sheet update) the moment a run finishes.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/coingecko-crypto-scraper').call({
    mode: 'coins',
    searchQueries: ['bitcoin', 'ethereum', 'solana'],
    vsCurrency: 'usd',
    enrichCoinDetails: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} coins`);
```

### Integrate with any app

Connect the dataset to 5,000+ apps — no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** — multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** — push new prices or listings into Sheets, Slack or a database.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** — get alerted when a coin enters the top list or a collection's floor moves.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** — auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** — pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** — trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. Call this actor from Claude, ChatGPT, or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** — ask your assistant to "get the price, 7-day change and project links for the top 50 coins" and let it run the scraper for you.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### More scrapers from scrapesage

Build a complete **market & alternative-data stack**:

- **[Yahoo Finance Scraper](https://apify.com/scrapesage/yahoo-finance-scraper)** — stocks, ETFs, crypto, FX & indices with quotes, financials and history.
- **[SEC EDGAR Scraper](https://apify.com/scrapesage/sec-edgar-scraper)** — company filings, financials and fundamentals.
- **[Reverb Scraper](https://apify.com/scrapesage/reverb-scraper)** — musical-gear marketplace listings, price guide & seller leads.
- **[ImportYeti Scraper](https://apify.com/scrapesage/importyeti-scraper)** — US-customs bills of lading, suppliers & importers.
- **[Google News Scraper](https://apify.com/scrapesage/google-news-scraper)** — articles, publishers and full text for sentiment & event tracking.
- **[Google Patents Scraper](https://apify.com/scrapesage/google-patents-scraper)** — patents, citations and assignees.
- **[GitHub Scraper](https://apify.com/scrapesage/github-scraper)** — repos, developers and contact leads.
- **[Product Hunt Scraper](https://apify.com/scrapesage/product-hunt-scraper)** — launches, makers and leads.

### Tips

- **Pick one mode per run** for a clean, fully-populated table. Use the dataset views (Coins / Exchanges / NFTs / Categories / History) to switch perspective.
- **Top-N price feed**: leave `searchQueries` empty in Coins mode and set `maxResults` to 100/250 — you get the top coins by market cap in one run. Schedule it hourly.
- **Deep profiles**: turn on `enrichCoinDetails` for descriptions, contract addresses, project links/socials and developer & community stats. It adds one request per coin.
- **Rate limits**: CoinGecko's free tier is limited per IP. Keep `maxConcurrency` low (2–4); the actor rotates proxy IPs and retries on 429. For big runs, add a free [CoinGecko Demo API key](https://www.coingecko.com/en/api).
- **Monitoring**: combine `monitorMode` with [Schedules](https://docs.apify.com/platform/schedules) to capture only new coins, listings or treasury changes since the last run.

### FAQ

**Does it need an API key?** No. It runs keyless on CoinGecko's free public API and rotates proxy IPs to spread the per-IP rate limit. For large or frequent runs, add a free CoinGecko **Demo** key in `demoApiKey` for higher limits.

**Which coins/exchanges/NFTs can I get?** Anything on CoinGecko — 17,000+ coins, 1,000+ exchanges and the top NFT collections. Use `searchQueries`/`coinIds`, a `category` filter, `startUrls`, or just take the top list.

**What currency are prices in?** Whatever you set in `vsCurrency` (USD by default) — including fiat, BTC and ETH denominations.

**Can I get historical prices?** Yes — set `mode` to `coinHistory` and choose a `historyDays` window for OHLC candles plus price, market-cap and volume time series.

**Can I export to Google Sheets, CSV, or Excel?** Yes — one click in the dataset view, or automatically on every run via the [Google Drive integration](https://docs.apify.com/platform/integrations/drive).

**How do I watch for new listings or trending coins?** Turn on `monitorMode` and create a [Schedule](https://docs.apify.com/platform/schedules); each run returns only records not seen before. Add a [webhook](https://docs.apify.com/platform/integrations/webhooks) to push them anywhere.

**Is scraping CoinGecko legal?** This actor collects publicly available data from CoinGecko's public API. You're responsible for complying with applicable laws and CoinGecko's terms, and for any trading decisions made with the data. This is not financial advice.

### Need help?

Open an issue on the actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome — this actor is actively maintained.

# Actor input Schema

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

<b>Coins & prices</b> = live market data for the top coins or any coins you choose (the default). <b>Historical OHLC & chart</b> = candles + price/volume history for specific coins. <b>Exchanges</b> / <b>Derivatives</b> = trading venues with trust score & volume. <b>Categories</b> = crypto sectors (L1, DeFi, memes…) with market cap. <b>NFT collections</b> = floor price, volume & holders. <b>Trending</b> = what's hot right now. <b>Global market</b> = total market cap, BTC dominance & DeFi. <b>Company treasuries</b> = public companies holding BTC/ETH.

## `searchQueries` (type: `array`):

Coin names or symbols to resolve to CoinGecko ids, e.g. <code>bitcoin</code>, <code>solana</code>, <code>pepe</code>, <code>chainlink</code>. Used by the <b>Coins</b> and <b>Historical</b> modes. Leave empty in Coins mode to get the top coins by market cap.

## `coinIds` (type: `array`):

Exact CoinGecko coin ids (the slug in the coin's URL), e.g. <code>bitcoin</code>, <code>ethereum</code>, <code>matic-network</code>, <code>shiba-inu</code>. Faster and more precise than search queries.

## `startUrls` (type: `array`):

Direct CoinGecko URLs: coins (<code>coingecko.com/en/coins/bitcoin</code>), exchanges (<code>/en/exchanges/binance</code>), NFTs (<code>/en/nft/pudgy-penguins</code>) or categories (<code>/en/categories/meme-token</code>). Routed automatically by type.

## `category` (type: `string`):

Limit Coins mode to one CoinGecko category id, e.g. <code>layer-1</code>, <code>decentralized-finance-defi</code>, <code>meme-token</code>, <code>artificial-intelligence</code>, <code>real-world-assets-rwa</code>. Run <b>Categories</b> mode to discover ids.

## `vsCurrency` (type: `string`):

Currency to price everything in, e.g. <code>usd</code>, <code>eur</code>, <code>gbp</code>, <code>jpy</code>, <code>btc</code>, <code>eth</code>. Defaults to USD.

## `order` (type: `string`):

How to order the top-coins list when not querying specific coins.

## `historyDays` (type: `string`):

How far back to fetch candles & price history for each coin.

## `treasuryCoins` (type: `array`):

Which coins' public-company holdings to fetch. CoinGecko tracks <code>bitcoin</code> and <code>ethereum</code>.

## `enrichCoinDetails` (type: `boolean`):

In Coins mode, fetch each coin's full profile: description, contract addresses across chains, categories, project links (website, whitepaper, Twitter/X, Telegram, Reddit, GitHub), sentiment votes, community size and developer activity. Adds one API call per coin. Great for project research & crypto-project leads.

## `enrichExchangeDetails` (type: `boolean`):

In Exchanges mode, fetch each exchange's full profile: socials (Twitter/X, Reddit, Telegram, Facebook), website, whether it's centralized, and how many trading pairs it lists. Adds one API call per exchange.

## `includeSparkline` (type: `boolean`):

Attach the 7-day price sparkline array to each coin record.

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

Maximum number of records to scrape in this run. For Coins/Exchanges/NFTs this is the number of items; for Company treasuries it caps total summary + per-company rows.

## `deduplicateResults` (type: `boolean`):

Skip records already emitted in this run (recommended).

## `monitorMode` (type: `boolean`):

Remember ids across runs in a named key-value store and emit ONLY records not seen before — e.g. new coins entering the top list, newly listed NFT collections, new exchanges or new companies adding crypto to their treasury. Perfect for new-listing alerts. Works with Apify Schedules.

## `monitorKey` (type: `string`):

Names the memory used by monitoring mode. Use a distinct key per saved watch so different monitors don't share state.

## `demoApiKey` (type: `string`):

Optional free CoinGecko <b>Demo</b> API key for higher rate limits & smoother large runs. Get one free at coingecko.com/en/api. Leave blank to run keyless (the actor rotates proxy IPs to spread the free per-IP limit).

## `maxConcurrency` (type: `integer`):

Maximum parallel requests. CoinGecko's free tier is rate-limited per IP — keep this low (2–4) unless you supply a Demo API key.

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

Proxy settings. The default Apify Proxy rotates IPs so the free CoinGecko rate limit is spread across many addresses.

## Actor input object example

```json
{
  "mode": "coins",
  "searchQueries": [
    "bitcoin",
    "ethereum",
    "solana"
  ],
  "vsCurrency": "usd",
  "order": "market_cap_desc",
  "historyDays": "30",
  "treasuryCoins": [
    "bitcoin",
    "ethereum"
  ],
  "enrichCoinDetails": false,
  "enrichExchangeDetails": false,
  "includeSparkline": false,
  "maxResults": 100,
  "deduplicateResults": true,
  "monitorMode": false,
  "monitorKey": "default",
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped records as JSON items in the default dataset.

# 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 = {
    "searchQueries": [
        "bitcoin",
        "ethereum",
        "solana"
    ],
    "treasuryCoins": [
        "bitcoin",
        "ethereum"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/coingecko-crypto-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 = {
    "searchQueries": [
        "bitcoin",
        "ethereum",
        "solana",
    ],
    "treasuryCoins": [
        "bitcoin",
        "ethereum",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/coingecko-crypto-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 '{
  "searchQueries": [
    "bitcoin",
    "ethereum",
    "solana"
  ],
  "treasuryCoins": [
    "bitcoin",
    "ethereum"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapesage/coingecko-crypto-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PGpx8lfE88XuyCTVi/builds/peQ37GjtfzDh6DkiD/openapi.json
