Skip to the content

Scraper API

CoinGecko

coingecko.marketsAvailable

CoinGecko markets

The coins on a page of CoinGecko's list, in the order asked for: rank, price, market capitalisation, volume, the day's range, changes over an hour, a day and a week, and supply.

Give it Nothing, or a currency, an order, a category and a page.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
5
Record
29 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/coingecko.markets/runs

{
"input": {
"currency": "eur",
"per_page": 5
}
}

sent, and answered

a record of the run29 fields

{
position: 1
page: 1
id: "bitcoin"
symbol: "btc"
name: "Bitcoin"
url: "https://www.coingecko.com/en/coins/bitcoin"
currency: "eur"
rank: 1
price: 56866
… 20 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 29 fields are set down here; the whole record is below.

coingecko.com
The page CoinGecko markets reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Rank the market
A page of CoinGecko's list in the order you choose, each coin with its rank, price, market_cap and volume_24h, for a table or a daily snapshot.
Follow a sector
Narrow the list to one category, such as stablecoins or layer-1, and see how the coins in it moved over an hour, a day and a week.
Spot the movers
Sort a page by price_change_percentage_24h or market_cap_change_percentage_24h to see what rose or fell most, and how big it is.

What you send

Nothing, or a currency, an order, a category and a page. These are its 5 inputs, as its schema has them.

currencystring Optional
The currency to state amounts in. usd unless you say otherwise.Default usd
orderstring Optional
market_cap_desc, market_cap_asc, volume_desc, volume_asc, id_asc or id_desc. market_cap_desc unless you say otherwise.Default market_cap_desc
categorystring Optional
all, or only the coins of one of CoinGecko's categories, by the category's id: layer-1, stablecoins, meme-token. all unless you say otherwise.Default all
per_pageinteger Optional
Coins a page: 1 to 250, 100 unless you say otherwise.Default 100
pageinteger Optional
The page of the list, from 1.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/coingecko.markets/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"currency":"eur","per_page":5}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("coingecko.markets", {"currency": "eur", "per_page": 5})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("coingecko.markets", { currency: "eur", per_page: 5 });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "coingecko.markets", map[string]any{"currency": "eur", "per_page": 5})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("coingecko.markets", Map.of("currency", "eur", "per_page", 5));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run coingecko.markets --input currency=eur --input per_page=5

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The coins on a page of CoinGecko's list, in the order asked for: rank, price, market capitalisation, volume, the day's range, changes over an hour, a day and a week, and supply. A record has 29 fields. One we could not read is null, never an empty string or a zero.

A record coingecko.markets returned
{
  "position": 1,
  "page": 1,
  "id": "bitcoin",
  "symbol": "btc",
  "name": "Bitcoin",
  "url": "https://www.coingecko.com/en/coins/bitcoin",
  "currency": "eur",
  "rank": 1,
  "price": 56866,
  "market_cap": 1143778205042,
  "fully_diluted_valuation": 1143778205042,
  "volume_24h": 26963652653,
  "high_24h": 59376,
  "low_24h": 56718,
  "price_change_24h": -2136.284161108473,
  "price_change_percentage_1h": -0.3452,
  "price_change_percentage_24h": -3.49752,
  "price_change_percentage_7d": -16.5328,
  "market_cap_change_percentage_24h": -3.62029,
  "circulating_supply": 20113584,
  "total_supply": 20113584,
  "max_supply": 21000000,
  "ath": 107662,
  "ath_date": "2025-10-06T10:57:42Z",
  "atl": 51.3,
  "atl_date": "2013-07-04T16:00:00Z",
  "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400",
  "last_updated": "2026-11-18T22:47:48Z",
  "fetched_at": "2026-11-19T18:07:39.654370Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

positioninteger
The row's place in the returned page, from 1.
pageinteger
The page of the list the row is on.
idstring
CoinGecko's id of the coin, e.g. bitcoin: what coingecko.coin takes.
symbolstring
The ticker symbol, in lower case as CoinGecko writes it.
namestring
The coin's name.
urlstring
The coin's page on coingecko.com.
currencystring
The currency every amount of this record is in, e.g. usd.
rankinteger or null
The coin's rank by market capitalisation.
pricenumber or null
The current price of one coin.
market_capnumber or null
The market capitalisation: price times circulating supply.
fully_diluted_valuationnumber or null
The price times the total supply.
volume_24hnumber or null
The amount traded in the last 24 hours.
high_24hnumber or null
The highest price of the last 24 hours.
low_24hnumber or null
The lowest price of the last 24 hours.
price_change_24hnumber or null
The change in price over the last 24 hours, as an amount.
price_change_percentage_1hnumber or null
The change in price over the last hour, in percent.
price_change_percentage_24hnumber or null
The change in price over the last 24 hours, in percent.
price_change_percentage_7dnumber or null
The change in price over the last 7 days, in percent.
market_cap_change_percentage_24hnumber or null
The change in market capitalisation over the last 24 hours, in percent.
circulating_supplynumber or null
The number of coins in circulation.
total_supplynumber or null
The number of coins that exist now, locked ones included.
max_supplynumber or null
The most coins that will ever exist. Null for a coin without a cap.
athnumber or null
The highest price the coin has ever had.
ath_datedatetime or null
When that highest price was reached, in UTC.
atlnumber or null
The lowest price the coin has ever had.
atl_datedatetime or null
When that lowest price was reached, in UTC.
imagestring or null
The coin's logo.
last_updateddatetime or null
When CoinGecko last updated these figures, in UTC.
fetched_atdatetime
When the answer was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one page of the list. A page past the end ends ok with no records.
  • A category is named by CoinGecko's own id for it; one it does not have ends as failed, with the reason not_found.

The bounds its schema sets

order
market_cap_desc, market_cap_asc, volume_desc, volume_asc, id_asc, id_desc; market_cap_desc unless you say otherwise
per_page
1 to 250; 100 unless you say otherwise
page
1 to 1,000; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does CoinGecko markets return?

The coins on a page of CoinGecko's list, in the order asked for: rank, price, market capitalisation, volume, the day's range, changes over an hour, a day and a week, and supply. A record has 29 fields, among them position, page, id, symbol, name and url. A value that could not be read is null, never an empty string or a zero.

What do I send?

Nothing, or a currency, an order, a category and a page. Optional: currency, order, category, per_page and page.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: order market_cap_desc, market_cap_asc, volume_desc, volume_asc, id_asc, id_desc (market_cap_desc unless you say otherwise); per_page 1 to 250 (100 unless you say otherwise); page 1 to 1,000 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

One run reads one page of the list. A page past the end ends ok with no records. A category is named by CoinGecko's own id for it; one it does not have ends as failed, with the reason not_found.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id coingecko.markets and the same input. It costs what the same API call costs.

CoinGecko

Coin prices and market figures as CoinGecko publishes them: one coin in depth, or a page of its list of coins.

  • CoinGecko coin

    coingecko.coin

    A coin's id on CoinGecko, or the address of its page, and a currency. Its price, market capitalisation, volume, the day's range, the changes over an hour to a year, all-time high and low, supply, categories, description, links and contract addresses.

CoinGecko on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.