CoinGecko Trending Crypto Tool

Fetches the top 7 trending cryptocurrencies (most searched by users) and top 5 trending NFTs (by trading volume) from CoinGecko. Provides a snapshot of what's currently popular.

Input: This tool requires no specific input.

class CoinGeckoTrendingInput(BaseModel):
    pass # No input needed

Key Functionality:

  • Retrieves trending coins and NFTs directly from the api.coingecko.com.

  • For trending coins, it lists name, symbol, rank, price in BTC, and 24h USD price change.

  • For trending NFTs, it lists name, symbol, floor price, and 24h floor price change.


Sample Usage Queries (How an AI might use it):

  • "What are the trending coins and NFTs on CoinGecko right now?"

  • "Show me CoinGecko's top trending searches."

  • "Get the list of trending cryptocurrencies from CoinGecko."

  • "Which NFTs are trending on CoinGecko today?"

  • "Fetch the current trending crypto assets according to CoinGecko."

  • "What's popular on CoinGecko?"

  • "List CoinGecko's trending coins and NFTs."


class CoinGeckoTrendingTool(BaseTool):
    name: ClassVar[str] = "coingecko_trending_tool"
    description: ClassVar[str] = "Get top trending coins and NFTs on CoinGecko based on user searches and trading volume."
    args_schema: ClassVar[Type[BaseModel]] = CoinGeckoTrendingInput

Important:

  • This tool operates asynchronously (_arun) only.

  • Relies on the external CoinGecko API (api.coingecko.com); functionality and data accuracy depend on this third-party service.

Last updated