Request
https://api.zapi.ink/v1/finance:coingecko/globalSend 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
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| vsCurrency | string | query | No | Currency code from `vs-currencies` for the totals. Default usd. Example: usd |
| limit | number | query | No | Dominance rows to return, largest share first. Default 10, max 100. Example: 10 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:coingecko/global?vsCurrency=usd&limit=10" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:coingecko/global?vsCurrency=usd&limit=10", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:coingecko/global", params={"vsCurrency":"usd","limit":"10"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:coingecko", "data": { "count": 10, "items": [ { "symbol": "BTC", "percentage": 59.09948287325917 }, { "symbol": "ETH", "percentage": 11.16740932646525 }, { "symbol": "USDT", "percentage": 7.216053472191729 }, { "symbol": "BNB", "percentage": 3.4670143554415223 }, { "symbol": "XRP", "percentage": 3.175776279344623 }, { "symbol": "USDC", "percentage": 2.868964371860268 }, { "symbol": "SOL", "percentage": 2.0493882834354373 }, { "symbol": "TRX", "percentage": 1.2645660246975423 } ], "total": 10, "dataset": "global", "markets": 1494, "provider": "coingecko", "endedIcos": 3376, "updatedAt": 1787278945, "vsCurrency": "usd", "ongoingIcos": 49, "totalVolume": 137275603987.54155, "upcomingIcos": 0, "totalMarketCap": 2529967923795.755, "activeCryptocurrencies": 18522, "marketCapChangePercentage24hUsd": 2.775890752056489 }, "timestamp": "2026-08-21T02:24:50Z" }
Frequently asked questions
How do I call the Coingecko Global API?
Send a GET request to https://api.zapi.ink/v1/finance:coingecko/global with your Zapi key in the x-api-key header. Parameters — optional: vsCurrency, limit. The response is JSON in the { project, data, timestamp } envelope.
What does the Coingecko Global API return?
Aggregate market state — one currency's slice of it. The example response has the fields count, items, total, dataset, markets, provider, endedIcos, updatedAt. Each item in items has fields such as symbol, percentage.
Is the Coingecko Global 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 Global 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 "global".
What other Coingecko API endpoints are there?
It has 4 endpoints. Besides Global: Categories, Coins Markets, Derivatives.
