Sources › Finance › Coingecko › Coins Markets

Coingecko Coins Markets API

The market-cap ranked cross-section — which coins exist, what they are called,

CoingeckoGET /coins-marketsAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:coingecko/coins-markets

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 15 minutes.

Parameters

NameTypeInRequiredDescription
vsCurrencystringqueryNoCurrency code from `vs-currencies`. Default usd. Example: usd
idsstringqueryNoRestrict to these coin ids, comma-separated. Example: bitcoin,ethereum
categorystringqueryNoRestrict to one category id from `categories`. Example: layer-1
orderenum: market_cap_desc | market_cap_asc | volume_desc | volume_asc | id_desc | id_ascqueryNoRow ordering. Default market_cap_desc. Example: market_cap_desc
priceChangePercentagestringqueryNoExtra change windows, comma-separated. Any of 1h, 24h, 7d, 14d, 30d, 200d, 1y. Example: 1h,24h,7d
precisionstringqueryNoDecimal places, 0 to 18, or full. Example: 4
pagenumberqueryNoResult page. Default 1. Example: 1
limitnumberqueryNoCoins per page. Default 50, max 250. Example: 50

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:coingecko/coins-markets?vsCurrency=usd&ids=bitcoin%2Cethereum&category=layer-1&order=market_cap_desc&priceChangePercentage=1h%2C24h%2C7d&precision=4&page=1&limit=50" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:coingecko/coins-markets?vsCurrency=usd&ids=bitcoin%2Cethereum&category=layer-1&order=market_cap_desc&priceChangePercentage=1h%2C24h%2C7d&precision=4&page=1&limit=50", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:coingecko/coins-markets",
    params={"vsCurrency":"usd","ids":"bitcoin,ethereum","category":"layer-1","order":"market_cap_desc","priceChangePercentage":"1h,24h,7d","precision":"4","page":"1","limit":"50"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:coingecko",
  "data": {
    "page": 1,
    "count": 50,
    "items": [
      {
        "id": "bitcoin",
        "ath": 126080,
        "atl": 67.81,
        "name": "Bitcoin",
        "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400",
        "low24h": 68898,
        "symbol": "BTC",
        "athDate": "2025-10-06T10:57:42.000Z",
        "atlDate": "2013-07-05T16:00:00.000Z",
        "high24h": 75528,
        "marketCap": 1499534928428,
        "maxSupply": 21000000,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 20071518,
        "totalVolume": 58961898192,
        "currentPrice": 74697,
        "marketCapRank": 1,
        "priceChange24h": 5698.72,
        "circulatingSupply": 20071518,
        "marketCapChange24h": 114629005419,
        "athChangePercentage": -40.754,
        "atlChangePercentage": 110058.36751,
        "fullyDilutedValuation": 1499534928428,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 8.2,
        "marketCapChangePercentage24h": 8.27702
      },
      {
        "id": "ethereum",
        "ath": 4946.05,
        "atl": 0.432979,
        "name": "Ethereum",
        "image": "https://coin-images.coingecko.com/coins/images/279/large/ethereum.png?1696501628",
        "low24h": 2223.48,
        "symbol": "ETH",
        "athDate": "2025-08-24T11:21:03.000Z",
        "atlDate": "2015-10-19T16:00:00.000Z",
        "high24h": 2374.35,
        "marketCap": 283551699609,
        "maxSupply": null,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 120681688.0431787,
        "totalVolume": 26184981802,
        "currentPrice": 2349.18,
        "marketCapRank": 2,
        "priceChange24h": 111.63,
        "circulatingSupply": 120681688.04317872,
        "marketCapChange24h": 13520065655,
        "athChangePercentage": -52.50392,
        "atlChangePercentage": 542462.0911,
        "fullyDilutedValuation": 283551821528,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 4.2,
        "marketCapChangePercentage24h": 5.00685
      },
      {
        "id": "tether",
        "ath": 1.32,
        "atl": 0.572521,
        "name": "Tether",
        "image": "https://coin-images.coingecko.com/coins/images/325/large/Tether.png?1696501661",
        "low24h": 0.999172,
        "symbol": "USDT",
        "athDate": "2018-07-23T16:00:00.000Z",
        "atlDate": "2015-03-01T16:00:00.000Z",
        "high24h": 0.999781,
        "marketCap": 183028623916,
        "maxSupply": null,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 188572211645.5762,
        "totalVolume": 94205801338,
        "currentPrice": 0.999609,
        "marketCapRank": 3,
        "priceChange24h": 0.00018099,
        "circulatingSupply": 183105266035.02103,
        "marketCapChange24h": 33537221,
        "athChangePercentage": -24.44923,
        "atlChangePercentage": 74.59774,
        "fullyDilutedValuation": 188493281234,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 0,
        "marketCapChangePercentage24h": 0.01833
      },
      {
        "id": "binancecoin",
        "ath": 1369.99,
        "atl": 0.0398177,
        "name": "BNB",
        "image": "https://coin-images.coingecko.com/coins/images/825/large/bnb-icon2_2x.png?1696501970",
        "low24h": 622.18,
        "symbol": "BNB",
        "athDate": "2025-10-13T00:41:24.000Z",
        "atlDate": "2017-10-18T16:00:00.000Z",
        "high24h": 665.31,
        "marketCap": 88021355185,
        "maxSupply": 200000000,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 133163284.66,
        "totalVolume": 1588840355,
        "currentPrice": 661.09,
        "marketCapRank": 4,
        "priceChange24h": 37.22,
        "circulatingSupply": 133163284.66,
        "marketCapChange24h": 4945379190,
        "athChangePercentage": -51.7451,
        "atlChangePercentage": 1660187.10097,
        "fullyDilutedValuation": 88021356692,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 5.2,
        "marketCapChangePercentage24h": 5.95284
      },
      {
        "id": "ripple",
        "ath": 3.65,
        "atl": 0.00268621,
        "name": "XRP",
        "image": "https://coin-images.coingecko.com/coins/images/44/large/xrp-symbol-white-128.png?1696501442",
        "low24h": 1.088,
        "symbol": "XRP",
        "athDate": "2025-07-17T19:40:53.000Z",
        "atlDate": "2014-05-21T16:00:00.000Z",
        "high24h": 1.34,
        "marketCap": 80626281592,
        "maxSupply": 100000000000,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 99985629672,
        "totalVolume": 7367029239,
        "currentPrice": 1.29,
        "marketCapRank": 5,
        "priceChange24h": 0.193983,
        "circulatingSupply": 62676938832,
        "marketCapChange24h": 12139388491,
        "athChangePercentage": -64.71348,
        "atlChangePercentage": 47799.50946,
        "fullyDilutedValuation": 128619388300,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 16.5,
        "marketCapChangePercentage24h": 17.72513
      },
      {
        "id": "usd-coin",
        "ath": 1.043,
        "atl": 0.877647,
        "name": "USDC",
        "image": "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png?1769615602",
        "low24h": 0.999437,
        "symbol": "USDC",
        "athDate": "2018-11-14T16:00:00.000Z",
        "atlDate": "2023-03-11T00:02:13.000Z",
        "high24h": 1,
        "marketCap": 72780727804,
        "maxSupply": null,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 72783787437.54024,
        "totalVolume": 23902753663,
        "currentPrice": 0.99976,
        "marketCapRank": 6,
        "priceChange24h": 0.00011262,
        "circulatingSupply": 72800451917.0638,
        "marketCapChange24h": 313762067,
        "athChangePercentage": -4.18837,
        "atlChangePercentage": 13.91379,
        "fullyDilutedValuation": 72784322670,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 0,
        "marketCapChangePercentage24h": 0.43297
      },
      {
        "id": "solana",
        "ath": 293.31,
        "atl": 0.500801,
        "name": "Solana",
        "image": "https://coin-images.coingecko.com/coins/images/4128/large/solana.png?1718769756",
        "low24h": 84.01,
        "symbol": "SOL",
        "athDate": "2025-01-19T03:15:27.000Z",
        "atlDate": "2020-05-11T11:35:23.000Z",
        "high24h": 89.32,
        "marketCap": 51945913457,
        "maxSupply": null,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 632513074.5503877,
        "totalVolume": 4471510907,
        "currentPrice": 89.06,
        "marketCapRank": 7,
        "priceChange24h": 4.71,
        "circulatingSupply": 583063256.7775589,
        "marketCapChange24h": 2768700804,
        "athChangePercentage": -69.63661,
        "atlChangePercentage": 17683.39222,
        "fullyDilutedValuation": 56351468178,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 4.6,
        "marketCapChangePercentage24h": 5.63005
      },
      {
        "id": "tron",
        "ath": 0.431288,
        "atl": 0.00180434,
        "name": "TRON",
        "image": "https://coin-images.coingecko.com/coins/images/1094/large/photo_2026-04-13_09-59-16.png?1776048311",
        "low24h": 0.332043,
        "symbol": "TRX",
        "athDate": "2024-12-03T16:10:40.000Z",
        "atlDate": "2017-11-11T16:00:00.000Z",
        "high24h": 0.3402,
        "marketCap": 32077396056,
        "maxSupply": null,
        "lastUpdated": "2026-08-21T02:22:20.000Z",
        "totalSupply": 94912161400.71889,
        "totalVolume": 597819466,
        "currentPrice": 0.337964,
        "marketCapRank": 8,
        "priceChange24h": 0.00536952,
        "circulatingSupply": 94911376357.14629,
        "marketCapChange24h": 510777098,
        "athChangePercentage": -21.63846,
        "atlChangePercentage": 18630.60992,
        "fullyDilutedValuation": 32077644737,
        "priceChangePercentage": {},
        "priceChangePercentage24h": 1.2,
        "marketCapChangePercentage24h": 1.61809
      }
    ],
    "order": "market_cap_desc",
    "total": null,
    "dataset": "coins-markets",
    "hasMore": true,
    "category": null,
    "nextPage": 2,
    "provider": "coingecko",
    "priceBasis": "cross-venue-aggregate",
    "vsCurrency": "usd"
  },
  "timestamp": "2026-08-21T02:24:50Z"
}

Frequently asked questions

How do I call the Coingecko Coins Markets API?

Send a GET request to https://api.zapi.ink/v1/finance:coingecko/coins-markets with your Zapi key in the x-api-key header. Parameters — optional: vsCurrency, ids, category, order, priceChangePercentage, precision, page, limit. The response is JSON in the { project, data, timestamp } envelope.

What does the Coingecko Coins Markets API return?

The market-cap ranked cross-section — which coins exist, what they are called,. The example response has the fields page, count, items, order, total, dataset, hasMore, category. Each item in items has fields such as id, ath, atl, name, image, low24h, symbol, athDate.

Is the Coingecko Coins Markets API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Coingecko Coins Markets API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "coingecko" and endpoint "coins-markets".

What other Coingecko API endpoints are there?

It has 4 endpoints. Besides Coins Markets: Categories, Global, Derivatives.