CoinGecko API endpoint
Returns trending coins and trending categories from CoinGecko's highlights, deduplicated by slug, each section up to `limit` rows (default 20, max 50). Items carry name, URL and, where CoinGecko shows them, price in `vs_currency` and 1h, 24h and 7d percentage changes.
/coingecko/trendingReturns deduped trending coins and categories from CoinGecko public website highlights HTML at /en/highlights. This endpoint supports the documented vs_currency enum.
Query parameters:
limit optional rows per section, default 20, max 50.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:
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| id | 20 | |
| symbol | 20 | “WISP” and 19 other values |
| name | 20 | “$0.02544” and 19 other values |
| url | 20 | coingecko.com |
| price | 20 | 0 to 126.34, median 0.03 |
| change_1h_percent | 20 | 1.9 to 641.3, median 21.9 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| limit | integer | No | Rows per section to return, default 20, max 50 | ||
| 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/trending?limit=10&vs_currency=btc" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"limit": 20,
"vs_currency": "usd",
"source_url": "https://www.coingecko.com/en/highlights",
"fetched_at": "2026-05-24T00:00:00Z",
"coins": [
{
"id": "bitcoin",
"symbol": "BTC",
"name": "Bitcoin",
"url": "https://www.coingecko.com/en/coins/bitcoin",
"price": 76535.94,
"change_24h_percent": 1.4
}
],
"categories": [
{
"id": "layer-1",
"slug": "layer-1",
"name": "Layer 1",
"url": "https://www.coingecko.com/en/categories/layer-1",
"change_24h_percent": 2.5
}
]
}
}Request schema
No body schema
Response schema
#/definitions/coingecko.trendingResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | coingecko.TrendingResponse | No | ||||
| data.categories | array | No | Categories currently trending on CoinGecko. | |||
| data.categories[].change_1h_percent | number | No | 0.2 | Change over the last hour, in percent. | ||
| data.categories[].change_24h_percent | number | No | 1.4 | Change over the last 24 hours, in percent. | ||
| data.categories[].change_7d_percent | number | No | -2.1 | Change over the last 7 days, in percent. | ||
| data.categories[].id | string | No | layer-1 | CoinGecko category id. | ||
| data.categories[].name | string | No | Layer 1 | Name of the category. | ||
| data.categories[].slug | string | No | layer-1 | URL slug of the category. | ||
| data.categories[].url | string | No | https://www.coingecko.com/en/categories/layer-1 | Link to the category page on CoinGecko. | ||
| data.coins | array | No | Coins currently trending on CoinGecko. | |||
| data.coins[].change_1h_percent | number | No | 0.2 | Price change over the last hour, in percent. | ||
| data.coins[].change_24h_percent | number | No | 1.4 | Price change over the last 24 hours, in percent. | ||
| data.coins[].change_7d_percent | number | No | -2.1 | Price change over the last 7 days, in percent. | ||
| data.coins[].id | string | No | bitcoin | CoinGecko coin id. | ||
| data.coins[].name | string | No | Bitcoin | Name of the coin. | ||
| data.coins[].price | number | No | 76535.94 | Current price of the coin. | ||
| data.coins[].symbol | string | No | BTC | Ticker symbol of the coin. | ||
| data.coins[].url | string | No | https://www.coingecko.com/en/coins/bitcoin | Link to the coin page on CoinGecko. | ||
| data.fetched_at | string | No | 2026-05-24T00:00:00Z | Time the data was fetched, in UTC (RFC 3339). | ||
| data.limit | integer | No | 20 | Maximum number of rows returned per list. | ||
| data.source_url | string | No | https://www.coingecko.com/en/highlights | 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/trending?limit=10&vs_currency=btc" \
-H "x-api-key: $CRAWLORA_API_KEY"