curl --request GET \
--url https://api.coingecko.com/api/v3/search/trending \
--header 'x-cg-demo-api-key: <api-key>'{
"coins": [
{
"item": {
"id": "bonk",
"coin_id": 28600,
"name": "Bonk",
"symbol": "BONK",
"market_cap_rank": 103,
"thumb": "https://coin-images.coingecko.com/coins/images/28600/standard/bonk.jpg?1696527587",
"small": "https://coin-images.coingecko.com/coins/images/28600/small/bonk.jpg?1696527587",
"large": "https://coin-images.coingecko.com/coins/images/28600/large/bonk.jpg?1696527587",
"slug": "bonk",
"price_btc": 7.821066970851871e-11,
"score": 0,
"data": {
"price": 0.000005938674704566297,
"price_btc": "0.00000000007821066970851871",
"price_change_percentage_24h": {
"usd": -3.2712597351582655,
"btc": -1.2567575303632434
},
"market_cap": "$521,967,819",
"market_cap_btc": "6883.418982779206",
"total_volume": "$31,701,707",
"total_volume_btc": "417.50253280497",
"sparkline": "https://www.coingecko.com/coins/28600/sparkline.svg",
"content": null
}
}
}
],
"nfts": [
{
"id": "beeple-everydays-the-2020-collection",
"name": "BEEPLE: EVERYDAYS - THE 2020 COLLECTION",
"symbol": "BEEPLE2",
"thumb": "https://coin-images.coingecko.com/nft_contracts/images/1327/standard/beeple-everydays-the-2020-collection.jpg?1707287783",
"nft_contract_id": 1327,
"native_currency_symbol": "eth",
"floor_price_in_native_currency": 6.98,
"floor_price_24h_percentage_change": 8.231790820932737,
"data": {
"floor_price": "6.98 ETH",
"floor_price_in_usd_24h_percentage_change": "8.231790820932737",
"h24_volume": "6.10 ETH",
"h24_average_sale_price": "6.10 ETH",
"sparkline": "https://www.coingecko.com/nft/1327/sparkline.svg",
"content": null
}
}
],
"categories": [
{
"id": 102120809,
"name": "Base Native",
"top_3_coins_images": [
"https://assets.coingecko.com/coins/images/40008/small/USR_LOGO.png?1725222638",
"https://assets.coingecko.com/coins/images/13187/small/7739.png?1696512969",
"https://assets.coingecko.com/coins/images/70556/small/elizaOS_token_logo_high_quality.png?1763494093"
],
"market_cap_1h_change": 0.1591461077485745,
"slug": "base-native",
"coins_count": "573",
"data": {
"market_cap": 117316549202.14426,
"market_cap_btc": 1545658.5276991604,
"total_volume": 16971131961.734743,
"total_volume_btc": 223596.5430262045,
"market_cap_change_percentage_24h": {
"usd": 0.14714515711689605,
"btc": 1.5918443786835867
},
"sparkline": "https://www.coingecko.com/categories/102120809/sparkline.svg"
}
}
]
}Trending Search List
To query trending search coins, NFTs and categories on CoinGecko in the last 24 hours
curl --request GET \
--url https://api.coingecko.com/api/v3/search/trending \
--header 'x-cg-demo-api-key: <api-key>'{
"coins": [
{
"item": {
"id": "bonk",
"coin_id": 28600,
"name": "Bonk",
"symbol": "BONK",
"market_cap_rank": 103,
"thumb": "https://coin-images.coingecko.com/coins/images/28600/standard/bonk.jpg?1696527587",
"small": "https://coin-images.coingecko.com/coins/images/28600/small/bonk.jpg?1696527587",
"large": "https://coin-images.coingecko.com/coins/images/28600/large/bonk.jpg?1696527587",
"slug": "bonk",
"price_btc": 7.821066970851871e-11,
"score": 0,
"data": {
"price": 0.000005938674704566297,
"price_btc": "0.00000000007821066970851871",
"price_change_percentage_24h": {
"usd": -3.2712597351582655,
"btc": -1.2567575303632434
},
"market_cap": "$521,967,819",
"market_cap_btc": "6883.418982779206",
"total_volume": "$31,701,707",
"total_volume_btc": "417.50253280497",
"sparkline": "https://www.coingecko.com/coins/28600/sparkline.svg",
"content": null
}
}
}
],
"nfts": [
{
"id": "beeple-everydays-the-2020-collection",
"name": "BEEPLE: EVERYDAYS - THE 2020 COLLECTION",
"symbol": "BEEPLE2",
"thumb": "https://coin-images.coingecko.com/nft_contracts/images/1327/standard/beeple-everydays-the-2020-collection.jpg?1707287783",
"nft_contract_id": 1327,
"native_currency_symbol": "eth",
"floor_price_in_native_currency": 6.98,
"floor_price_24h_percentage_change": 8.231790820932737,
"data": {
"floor_price": "6.98 ETH",
"floor_price_in_usd_24h_percentage_change": "8.231790820932737",
"h24_volume": "6.10 ETH",
"h24_average_sale_price": "6.10 ETH",
"sparkline": "https://www.coingecko.com/nft/1327/sparkline.svg",
"content": null
}
}
],
"categories": [
{
"id": 102120809,
"name": "Base Native",
"top_3_coins_images": [
"https://assets.coingecko.com/coins/images/40008/small/USR_LOGO.png?1725222638",
"https://assets.coingecko.com/coins/images/13187/small/7739.png?1696512969",
"https://assets.coingecko.com/coins/images/70556/small/elizaOS_token_logo_high_quality.png?1763494093"
],
"market_cap_1h_change": 0.1591461077485745,
"slug": "base-native",
"coins_count": "573",
"data": {
"market_cap": 117316549202.14426,
"market_cap_btc": 1545658.5276991604,
"total_volume": 16971131961.734743,
"total_volume_btc": 223596.5430262045,
"market_cap_change_percentage_24h": {
"usd": 0.14714515711689605,
"btc": 1.5918443786835867
},
"sparkline": "https://www.coingecko.com/categories/102120809/sparkline.svg"
}
}
]
}Notes
- Default results:
- Top 15 trending coins (by most popular searches)
- Top 7 trending NFTs (by highest floor price change %)
- Top 5 trending categories (by most popular searches)
SDK Examples
const response = await client.search.trending.get();
console.log(JSON.stringify(response, null, 2));
response = client.search.trending.get()
print(response.model_dump_json(indent=2))
Authorizations
Learn how to set up your API key
Response
Trending search coins, NFTs and categories
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Coin ID
Coin internal ID
Coin name
Coin symbol
Coin market cap rank
Coin thumb image URL
Coin small image URL
Coin large image URL
Coin web slug
Coin price in BTC
Coin trending rank (0-based)
Hide child attributes
Hide child attributes
Coin price in USD
Coin price in BTC
Coin market cap in USD
Coin market cap in BTC
Coin total volume in USD
Coin total volume in BTC
Coin sparkline image URL
Hide child attributes
Hide child attributes
NFT collection ID
NFT collection name
NFT collection symbol
NFT collection thumb image URL
NFT contract internal ID
NFT collection native currency symbol
NFT collection floor price in native currency
NFT collection floor price 24 hours percentage change
Hide child attributes
Hide child attributes
NFT collection floor price
NFT collection floor price in USD 24 hours percentage change
NFT collection volume in 24 hours
NFT collection 24 hours average sale price
NFT collection sparkline image URL
Hide child attributes
Hide child attributes
Category ID
Category name
Top 3 coins image URLs in the category
Category market cap 1 hour change
Category web slug
Number of coins in the category
Hide child attributes
Hide child attributes
Category market cap
Category market cap in BTC
Category total volume
Category total volume in BTC
Category sparkline image URL
Was this page helpful?

