CoinGecko Tokens Scraper: how to get Token List by Category as JSON/CSV (API, Python, no code)
Pulls the top 100 tokens by market cap in each CoinGecko category (DeFi, meme, L1, ecosystem tags) with current price, market cap, 24h volume, rank, and price change. This guide shows the output fields, a working input, and
Python, JavaScript and cURL code for the Actor v0iddo/coingecko-tokens-by-category on Apify.
Open CoinGecko Tokens Scraper on Apify
What data you get
One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.
| Field | Label | Type | Example |
|---|---|---|---|
category | Category | text | layer-1 |
coin_id | Coin id | text | bitcoin |
symbol | Symbol | text | btc |
name | Name | text | Bitcoin |
price_usd | Price usd | number | 79813 |
market_cap_usd | Market cap usd | number | 1604707813147 |
rank | Rank | number | 1 |
volume_24h_usd | Volume 24h usd | number | 17466480099 |
change_pct_24h | Change pct 24h | number | -1.204 |
circulating_supply | Circulating supply | number | 20103596 |
all_time_high_usd | All time high usd | number | 126080 |
logo_url | Logo url | URL | https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?... |
last_updated | text | 2026-10-26T04:24:58.000Z | |
snapshot_at | text | 2026-10-26T04:25:15+00:00 |
Input example
This is the input that is pre-filled on the Actor page. Change the values for your own run.
{
"category": [
"layer-1",
"meme-token",
"gaming"
]
}
| Input field | Type | What it does |
|---|---|---|
category | array | CoinGecko category slug (from /coins/categories/list). |
Output sample
Real rows from a run of the Actor. Fields that name people are left out of the sample.
[
{
"category": "layer-1",
"coin_id": "bitcoin",
"symbol": "btc",
"name": "Bitcoin",
"price_usd": 79813,
"market_cap_usd": 1604707813147,
"rank": 1,
"volume_24h_usd": 17466480099,
"change_pct_24h": -1.204,
"circulating_supply": 20103596,
"all_time_high_usd": 126080,
"logo_url": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400",
"last_updated": "2026-10-26T04:24:58.000Z",
"snapshot_at": "2026-10-26T04:25:15+00:00"
},
{
"category": "layer-1",
"coin_id": "ethereum",
"symbol": "eth",
"name": "Ethereum",
"price_usd": 2309.01,
"market_cap_usd": 282153814077,
"rank": 2,
"volume_24h_usd": 7790574891,
"change_pct_24h": -2.24007,
"circulating_supply": 122164245.29589781,
"all_time_high_usd": 4946.05,
"logo_url": "https://coin-images.coingecko.com/coins/images/279/large/ethereum.png?1696501628",
"last_updated": "2026-10-26T04:24:58.000Z",
"snapshot_at": "2026-10-26T04:25:15+00:00"
}
]
Code: Python, JavaScript and cURL
Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/coingecko-tokens-by-category.
Python (apify-client)
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {'category': ['layer-1', 'meme-token', 'gaming']}
run = client.actor("v0iddo/coingecko-tokens-by-category").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
JavaScript (apify-client)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const input = {
"category": [
"layer-1",
"meme-token",
"gaming"
]
};
const run = await client.actor('v0iddo/coingecko-tokens-by-category').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
cURL
curl -X POST "https://api.apify.com/v2/acts/v0iddo~coingecko-tokens-by-category/run-sync-get-dataset-items" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"category": ["layer-1", "meme-token", "gaming"]}'
Price
$1.00 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.70 per 1,000. See the pricing tab for your plan. A new Apify account gets $5 of platform credit every month.
FAQ
What data does the CoinGecko Tokens Scraper return?
Each result is one row in an Apify dataset. Fields include category, coin_id, symbol, name, price_usd, market_cap_usd, rank, volume_24h_usd, and more. The table above shows every field with an example value.
How do I use the CoinGecko Tokens Scraper from Python?
Install the apify-client package, create a client with your Apify API token, call the Actor v0iddo/coingecko-tokens-by-category with an input like the one above, and read the rows from the run's dataset. The Python snippet above does exactly that.
Can I use it without writing code?
Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.
How much does it cost?
$1.00 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.70 per 1,000. A new Apify account gets $5 of platform credit every month.
How do I limit the number of results?
Set a maximum cost for a run in the run options on Apify, and the run stops when it is reached.
Can I send the results to Google Sheets, Make, Zapier or n8n?
Yes. Apify datasets connect to Google Sheets, Slack, Make, Zapier and n8n, and a webhook can call your own service when a run finishes. You can also export the dataset as JSON, CSV or Excel.
Open CoinGecko Tokens Scraper on Apify
Related guides
- Currency exchange rates (ECB): Latest and historical euro foreign exchange reference rates from the European Central Bank, with conversion...
- Yahoo Finance Scraper: Scrape Yahoo Finance quotes and key statistics for stocks, ETFs, indexes, crypto, currencies and futures: p...
- Steam game reviews scraper: Scrape Steam player reviews by App ID.