CoinGecko API endpoint
Returns a time series for one global crypto metric from CoinGecko: total market cap (default), Bitcoin dominance, altcoin market cap or DeFi market cap. Choose a `range` from `24h` to `max` (default `90d`) and cap points per series with `limit` (default 120, max 500). Each point has a timestamp, datetime and value.
/coingecko/global/chartsReturns chart series from CoinGecko charts.
Path parameters: none.
Query parameters:
kind: optional chart kind. Default total_market_cap. Allowed values: total_market_cap, bitcoin_dominance, altcoin_market_cap, defi_market_cap.range: optional chart range. Default 90d. Allowed values: 24h, 7d, 14d, 30d, 90d, 1y, max.limit: optional points per series, default 120, maximum 500.Notable response behavior:
max ranges are filtered to the requested trailing window before limit sampling.| Field | Filled in, of 2 checked | Values in the sample |
|---|---|---|
| name | 2 | “market_cap” and 1 other value |
| points | 2 | median 20 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| kind | string | No | Chart kind, default total_market_cap Allowed values: total_market_cap, bitcoin_dominance, altcoin_market_cap, defi_market_cap. | ||
| range | string | No | Chart range, default 90d Allowed values: 24h, 7d, 14d, 30d, 90d, 1y, max. | ||
| limit | integer | No | Rows per series to return, default 120, max 500 | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/coingecko/global/charts?kind=total_market_cap&range=24h&limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"kind": "total_market_cap",
"range": "90d",
"limit": 120,
"source_url": "https://www.coingecko.com/market_cap/total_charts_data?locale=en&vs_currency=usd",
"fetched_at": "2026-05-24T00:00:00Z",
"series": [
{
"name": "market_cap",
"points": [
{
"timestamp": 1779556795943,
"datetime": "2026-05-24T00:00:00Z",
"value": 2670000000000
}
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/coingecko.globalChartsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | coingecko.GlobalChartsResponse | No | ||||
| data.fetched_at | string | No | 2026-05-24T00:00:00Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.kind | string | No | total_market_cap | Chart returned: `total_market_cap`, `bitcoin_dominance`, `altcoin_market_cap` or `defi_market_cap`. | ||
| data.limit | integer | No | 120 | Maximum number of points returned per series. | ||
| data.range | string | No | 90d | Time range covered: `24h`, `7d`, `14d`, `30d`, `90d`, `1y` or `max`. | ||
| data.series | array | No | Data series of the chart. | |||
| data.series[].name | string | No | market_cap | Name of the data series. | ||
| data.series[].points | array | No | Time-ordered points of the series. | |||
| data.series[].points[].datetime | string | No | 2026-05-24T00:00:00Z | Time of the point, in UTC (RFC 3339). | ||
| data.series[].points[].timestamp | integer | No | 1779556795943 | Time of the point, in Unix milliseconds. | ||
| data.series[].points[].value | number | No | 2670000000000 | Value of the series at that time. | ||
| data.source_url | string | No | https://www.coingecko.com/etl2/global_charts/usd/total_market_cap?duration=90&locale=en | URL the data was read from. | ||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/coingecko/global/charts?kind=total_market_cap&range=24h&limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"