CoinGecko Trending API Documentation List coins trending on CoinGecko right now with rank, USD price, currency-aware 24h change, price in BTC and a full-size image URL. Filter by an optional currency. An empty answer and every failed request cost no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by CoinGecko.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
This endpoint has no required query parameters.
1 optional filter available.
string
Optional
Quote currency for the 24h change, e.g. USD (default).
USD
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"trending": [
{
"id": "bitcoin",
"name": "Bitcoin",
"rank": 1,
"image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png",
"price": 64399.5,
"symbol": "btc",
"currency": "USD",
"price_btc": 1,
"change_24h": -1.19
}
]
},
"meta": {
"source": "coingecko",
"credits": 1,
"billable": true,
"endpoint_family": "trending"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Service Unavailable
The upstream data is temporarily unavailable. This response is not billable.
{
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The CoinGecko data is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.