CoinGecko API endpoint
Lists CoinGecko coin categories, up to `limit` rows (default and max 100), priced in the `vs_currency` you choose. Each row has its rank, id, slug, name, URL, 1h, 24h and 7d percentage changes, market cap, 24h volume and coin count, where CoinGecko shows them.
/coingecko/categoriesReturns category rows from CoinGecko. This endpoint supports the documented vs_currency enum.
Query parameters:
limit optional rows to return, default 100, max 100.vs_currency optional quote currency. Allowed values: btc, eth, ltc, bch, bnb, eos, xrp, xlm, link, dot, yfi, sol, usd, aed, ars, aud, bdt, bhd, bmd, brl, cad, chf, clp, cny, czk, dkk, eur, gbp, gel, hkd, huf, idr, ils, inr, jpy, krw, kwd, lkr, mmk, mxn, myr, ngn, nok, nzd, php, pkr, pln, rub, sar, sek, sgd, thb, try, twd, uah, vef, vnd, zar, xdr, xag, xau, bits, sats.Notable response behavior:
id, slug, name, URL, 1h/24h/7d percentage changes, market cap, 24h volume, and coin count when present.| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| rank | 20 | 1 to 20, median 10 |
| id | 20 | |
| slug | 20 | |
| name | 20 | “Smart Contract Platform” and 19 other values |
| url | 20 | coingecko.com |
| change_1h_percent | 20 | 0 to 0.7, median 0.2 |
| change_24h_percent | 20 | 0.2 to 3.7, median 0.8 |
| change_7d_percent | 20 | 1.1 to 9.8, median 4.1 |
| coin_count | 20 | 6 to 4,047, median 148 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| limit | integer | No | Rows to return, default 100, max 100 | ||
| vs_currency | string | No | Quote currency Allowed values: btc, eth, ltc, bch, bnb, eos, xrp, xlm, link, dot, yfi, sol, usd, aed, ars, aud, bdt, bhd, bmd, brl, cad, chf, clp, cny, czk, dkk, eur, gbp, gel, hkd, huf, idr, ils, inr, jpy, krw, kwd, lkr, mmk, mxn, myr, ngn, nok, nzd, php, pkr, pln, rub, sar, sek, sgd, thb, try, twd, uah, vef, vnd, zar, xdr, xag, xau, bits, sats. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/coingecko/categories?limit=10&vs_currency=btc" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"limit": 100,
"vs_currency": "usd",
"source_url": "https://www.coingecko.com/en/categories",
"fetched_at": "2026-05-24T00:00:00Z",
"categories": [
{
"rank": 1,
"id": "layer-1",
"slug": "layer-1",
"name": "Layer 1",
"url": "https://www.coingecko.com/en/categories/layer-1",
"change_1h_percent": 0.2,
"change_24h_percent": 1.4,
"change_7d_percent": -2.1,
"market_cap": 2533816836729,
"volume_24h": 813530873,
"coin_count": 128
}
]
}
}Request schema
No body schema
Response schema
#/definitions/coingecko.categoriesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | coingecko.CategoriesResponse | No | ||||
| data.categories | array | No | Coin categories, one row per category. | |||
| data.categories[].change_1h_percent | number | No | 0.2 | Change in the category market cap over the last hour, in percent. | ||
| data.categories[].change_24h_percent | number | No | 1.4 | Change in the category market cap over the last 24 hours, in percent. | ||
| data.categories[].change_7d_percent | number | No | -2.1 | Change in the category market cap over the last 7 days, in percent. | ||
| data.categories[].coin_count | integer | No | 128 | Number of coins in the category. | ||
| data.categories[].id | string | No | layer-1 | CoinGecko category id. | ||
| data.categories[].market_cap | number | No | 2533816836729 | Combined market capitalisation of the category. | ||
| data.categories[].name | string | No | Layer 1 | Name of the category. | ||
| data.categories[].rank | integer | No | 1 | Position of the category in the categories table. | ||
| data.categories[].slug | string | No | layer-1 | URL slug of the category. Use it with the category coins endpoint. | ||
| data.categories[].url | string | No | https://www.coingecko.com/en/categories/layer-1 | Link to the category page on CoinGecko. | ||
| data.categories[].volume_24h | number | No | 813530873 | Combined trading volume of the category over the last 24 hours. | ||
| data.fetched_at | string | No | 2026-05-24T00:00:00Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.limit | integer | No | 100 | Maximum number of categories returned. | ||
| data.source_url | string | No | https://www.coingecko.com/en/categories | URL the data was read from. | ||
| data.vs_currency | string | No | usd | Currency code from the request's vs_currency parameter. | ||
| 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/categories?limit=10&vs_currency=btc" \
-H "x-api-key: $CRAWLORA_API_KEY"