# CoinGecko Crypto Market Intelligence & Prices Scraper (`slavako/coingecko-crypto-market-intelligence`) Actor

Scrape cryptocurrency prices, market cap rankings, 24h volumes, ATH/ATL statistics, and trending search coins from CoinGecko. Zero-cost fast HTTP engine.

- **URL**: https://apify.com/slavako/coingecko-crypto-market-intelligence.md
- **Developed by:** [Sviatoslav](https://apify.com/slavako) (community)
- **Categories:** Business, Developer tools, Automation
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 cryptocurrency records

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/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

## CoinGecko Crypto Market Intelligence & Prices Scraper

[![Apify](https://img.shields.io/badge/Apify-Actor-FF6600?style=for-the-badge\&logo=apify\&logoColor=white)](https://apify.com/slavako/coingecko-crypto-market-intelligence)
[![Zero-Cost Architecture](https://img.shields.io/badge/Architecture-100%25_Zero--Cost-success?style=for-the-badge)](https://apify.com/slavako/coingecko-crypto-market-intelligence)
[![Monetization](https://img.shields.io/badge/Monetization-Pay--Per--Event-blue?style=for-the-badge)](https://apify.com/slavako/coingecko-crypto-market-intelligence)
[![Standby MCP Ready](https://img.shields.io/badge/Standby-MCP_Ready-purple?style=for-the-badge)](https://apify.com/slavako/coingecko-crypto-market-intelligence)

High-speed, zero-proxy-cost cryptocurrency price tracker and market intelligence extractor powered by CoinGecko. Extracts live cryptocurrency prices, market capitalization rankings, 24-hour trading volumes, all-time high/low (ATH/ATL) statistics, and top trending search coins without requiring paid API keys or subscriptions.

***

### ⚡ Key Features

- **No Paid API Key Required:** Connects directly to open CoinGecko endpoints with zero API fees.
- **Three Versatile Modes:**
  - `markets`: Extract top cryptocurrencies ranked by market cap or 24h trading volume.
  - `trending`: Discover coins trending in search queries across the global crypto community.
  - `search`: Look up detailed metrics for specific coins by name or ticker symbol.
- **Standby Server & MCP Ready:** Run indefinitely in low-cost standby mode for instantaneous retrieval over HTTP endpoints (`/api/markets`, `/api/trending`, `/api/search`).
- **100% Zero-Cost Architecture:** Lightweight HTTP engine requiring only 128 MB RAM, sub-second extraction, zero residential proxy bills.

***

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

Transparent pricing with low barrier to entry:

| Event Name | Event Price (USD) | Description |
| :--- | :--- | :--- |
| **Actor Start** (`apify-actor-start`) | `$0.003` | Charged once when the Actor run initializes. |
| **Cryptocurrency Record** (`apify-default-dataset-item`) | `$0.001` | Charged per cryptocurrency record pushed to dataset. |
| **Trending Insights Enriched** (`crypto-trending-insights-enriched`) | `$0.002` | Charged when trending score, sentiment, or market ranking insights are enriched. |

***

### 📥 Input Parameters

| Parameter | Type | Required | Default | Description |
| :--- | :--- | :---: | :--- | :--- |
| `mode` | `string` | **Yes** | `markets` | Scraping mode: `markets`, `trending`, or `search`. |
| `currency` | `string` | No | `usd` | Target currency for pricing (e.g. `usd`, `eur`, `gbp`, `btc`). |
| `order` | `string` | No | `market_cap_desc` | Sorting order: `market_cap_desc`, `volume_desc`, `market_cap_asc`. |
| `limit` | `integer` | No | `25` | Number of coins to retrieve (1–100). |
| `searchQuery` | `string` | No | `""` | Search query when mode is `search` (e.g. `solana`, `pepe`). |
| `includeTrendingInsights` | `boolean` | No | `true` | Include trending ranking scores and market insights. |

#### Example Input

```json
{
  "mode": "markets",
  "currency": "usd",
  "order": "market_cap_desc",
  "limit": 10,
  "includeTrendingInsights": true
}
```

***

### 📤 Output Dataset Format

Each cryptocurrency record pushed to the default dataset contains:

```json
{
  "id": "bitcoin",
  "symbol": "BTC",
  "name": "Bitcoin",
  "currency": "USD",
  "currentPrice": 61447,
  "marketCap": 1210543200000,
  "marketCapRank": 1,
  "fullyDilutedValuation": 1290387000000,
  "totalVolume24h": 28456000000,
  "high24h": 62100,
  "low24h": 60850,
  "priceChange24h": 597,
  "priceChangePercentage24h": 0.98,
  "circulatingSupply": 19700000,
  "totalSupply": 21000000,
  "maxSupply": 21000000,
  "ath": 73750,
  "athChangePercentage": -16.68,
  "athDate": "2024-03-14T07:10:36.635Z",
  "atl": 67.81,
  "atlDate": "2013-07-06T00:00:00.000Z",
  "imageUrl": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png",
  "isTrending": false,
  "trendingScore": null,
  "scrapedAt": "2026-11-20T06:00:00.000Z"
}
```

***

### 🤖 Model Context Protocol (MCP) Integration

This Actor supports Apify Standby Server mode (`process.env.APIFY_META_ORIGIN === 'STANDBY'`). Once started in standby, query markets directly:

```bash
GET /api/markets?currency=usd&limit=10
GET /api/trending
GET /api/search?query=solana
```

***

### 📜 Legal & Compliance Disclaimer

This Actor is an independent open-source tool developed by Slavako and is not affiliated with, endorsed by, or sponsored by CoinGecko. All trademarks belong to their respective owners. Scrapes only publicly accessible endpoints.

# Actor input Schema

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

Choose scraping mode: 'markets' (top coins by market cap/volume), 'trending' (top trending search coins on CoinGecko), or 'search' (keyword search).

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

Target fiat or crypto currency for prices (e.g. usd, eur, gbp, btc, eth).

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

Order of coins in markets mode.

## `limit` (type: `integer`):

Number of cryptocurrency records to extract (1 to 100).

## `searchQuery` (type: `string`):

Cryptocurrency name or ticker symbol to search for (e.g. 'solana', 'arbitrum', 'pepe').

## `includeTrendingInsights` (type: `boolean`):

Enrich output records with CoinGecko trending score and market cap ranking insights.

## Actor input object example

```json
{
  "mode": "markets",
  "currency": "usd",
  "order": "market_cap_desc",
  "limit": 25,
  "searchQuery": "solana",
  "includeTrendingInsights": true
}
```

# Actor output Schema

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

Extracted cryptocurrency prices, market cap, volume, all-time highs, and trending rankings.

# 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 = {
    "searchQuery": "solana"
};

// Run the Actor and wait for it to finish
const run = await client.actor("slavako/coingecko-crypto-market-intelligence").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 = { "searchQuery": "solana" }

# Run the Actor and wait for it to finish
run = client.actor("slavako/coingecko-crypto-market-intelligence").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 '{
  "searchQuery": "solana"
}' |
apify call slavako/coingecko-crypto-market-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,slavako/coingecko-crypto-market-intelligence"
        }
    }
}
```

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/JFKf5vJ6BR6GCM1WC/builds/GQ3GAO5TgcmdMOvrQ/openapi.json
