# Cryptocurrency Coins Directory — Full CoinGecko Coin List (`maged120/crypto-coins`) Actor

Get the complete list of cryptocurrencies from CoinGecko with IDs, names, symbols, and platform information. Ideal for building crypto data pipelines.

- **URL**: https://apify.com/maged120/crypto-coins.md
- **Developed by:** [Maged](https://apify.com/maged120) (community)
- **Categories:** Automation, Other
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### What does Cryptocurrency Coins Directory do?

**Cryptocurrency Coins Directory** retrieves the complete list of all cryptocurrencies available on CoinGecko — with each coin's unique ID, name, symbol, and supported blockchain platforms. This is the foundational reference dataset for any crypto data pipeline.

This Actor runs on the [Apify platform](https://apify.com). Use it to build coin ID lookups, map tickers to canonical IDs, or bootstrap a crypto database.

### Why use Cryptocurrency Coins Directory?

- **Complete coin list** — all coins tracked on CoinGecko (10,000+)
- **Canonical IDs** — get the exact CoinGecko ID needed for market data queries
- **Platform data** — see which blockchains each coin is deployed on (contract addresses included)
- **No subscription** — no paid crypto data plan needed
- **One-click export** — JSON, CSV, or Excel in seconds

### How to use Cryptocurrency Coins Directory

1. Open the Actor and click **Try for free**
2. Click **Start** — the Actor fetches the full coin list automatically
3. Download as JSON or CSV from the Output tab
4. Use the `id` field as input for the **Cryptocurrency Market Data** Actor

### Input

```json
{
  "includePlatforms": true
}
```

| Field | Type | Description | Default |
|---|---|---|---|
| `includePlatforms` | boolean | Include blockchain platform and contract address data | `true` |

### Output

Results are stored in the Apify dataset. Download in JSON, CSV, HTML, or Excel.

```json
{
  "id": "ethereum",
  "symbol": "eth",
  "name": "Ethereum",
  "platforms": {
    "ethereum": "0x0000000000000000000000000000000000000000",
    "arbitrum-one": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
  }
}
```

### Output fields

| Field | Type | Description |
|---|---|---|
| `id` | string | CoinGecko unique coin ID |
| `symbol` | string | Ticker symbol (e.g., `btc`, `eth`) |
| `name` | string | Full coin name |
| `platforms` | object | Blockchain platforms → contract addresses |

### How many results will I get?

You're charged per result, so the cost follows the number of rows below. Your plan's rates are on the **Pricing** tab.

| Input | Results |
|---|---|
| Full coin list | About 10,000+ rows (one per coin) |

Each coin is one row. Run it once and store the list; re-run weekly to pick up new coins.

### Tips

- Run this Actor once to build a local mapping of ticker → CoinGecko ID
- Use the returned `id` values as `coinIds` input for the **Cryptocurrency Market Data** Actor
- Schedule a weekly run to pick up newly added coins

### FAQ

**How many coins are in the list?**
CoinGecko tracks over 10,000 coins. The exact number grows as new coins are added.

**Does this include dead or deprecated coins?**
Yes — CoinGecko's list includes all tracked coins regardless of trading status.

**Do I need a CoinGecko account?**
No. Just run the Actor.

**Is this Actor maintained?**
Yes. Report bugs or feature requests in the Issues tab.

**Need help or have questions?**
Open an issue in the Issues tab or reach out on Discord: **maged03211**

***

⭐ **Found this Actor useful?** A quick review on the Store helps other users find it and keeps it maintained.

# Actor input Schema

## `search` (type: `string`):

The keyword to search for cryptocurrencies

## Actor input object example

```json
{
  "search": "BTC"
}
```

# 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 = {
    "search": "BTC"
};

// Run the Actor and wait for it to finish
const run = await client.actor("maged120/crypto-coins").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 = { "search": "BTC" }

# Run the Actor and wait for it to finish
run = client.actor("maged120/crypto-coins").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 '{
  "search": "BTC"
}' |
apify call maged120/crypto-coins --silent --output-dataset

```

## MCP server setup

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

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/5AhyygdoIfJ3ueCX9/builds/JQI9MdAuOvInHPNJF/openapi.json
