LogoLogo
HuggingFace Community$LUMOXTelegram
  • Introduction
  • Roadmap
  • Partnerships and Listings
  • LumoKit: Solana AI Toolkit Framwork
    • Introduction to LumoKit
    • Installation Guide
      • Pre-requisites
      • Environment Configuration
      • Local Installation
  • How to Add Tools
  • Tools
    • Wallet Portfolio tool
    • Token Identification Tool
    • Rugcheck Token Information Tool
    • Fluxbeam Token Price
    • BirdEye Token Trending
    • Birdeye All Time Trades
    • CoinMarketCap Crypto News
    • Crypto.news Memecoin News
    • GeckoTerminal Trending Pump.Fun Tool
    • CoinGecko Global Crypto Data Tool
    • CoinGecko Trending Crypto Tool
    • CoinGecko Exchange Rates Tool
    • CoinGecko Coin Data Tool
    • CoinMarketCap Trending Coins Tool
    • DexScreener Top Boosts Tool
    • DexScreener Token Information
    • Jupiter Token Price
    • Jupiter Token Metadata Tool
    • Solana Send SOL Tool
    • Solana Send SPL Tokens Tool
    • Solana Burn Tokens Tool
    • Jupiter Swap (Buy/Sell) Tool
    • Pump.Fun Launch Coin Tool
  • Lumo-8B-Instruct Model
    • Model Overview
    • Capabilities and Limitations
    • Use Cases
  • Lumo Dataset
    • About Lumo-Iris
    • About Lumo-8B
    • Dataset Preparation
    • Training Metrics
  • Using The Model
    • HuggingFace Hub
    • How to Inference
  • Lumo Community
    • How to Contribute
    • Report Bugs/Issues
Powered by GitBook

Copyright © 2025 Lumo. All Rights Reserved. This software is open-source and licensed under the GNU Affero General Public License (AGPL) v3.0. You are free to redistribute and modify it under the terms of this license.

On this page
  1. Tools

CoinMarketCap Trending Coins Tool

CMC Trending Coins Tool (cmc_trending_coins_tool)

Fetches a list of the top active cryptocurrencies ranked by market capitalization from the CoinMarketCap (CMC) Pro API, providing key market data for each.

Input: Accepts an optional limit for the number of coins to retrieve.

class CMCTrendingCoinsInput(BaseModel):
    limit: int = 20 # Number of coins (default 20, max 100)

Key Functionality:

  • Retrieves a list of top cryptocurrencies (e.g., Bitcoin, Ethereum) sorted by market cap from the pro-api.coinmarketcap.com.

  • For each coin, it provides its CMC rank, name, symbol, current price in USD, market capitalization, and 24-hour price change percentage.

  • The number of results can be specified using limit, up to a maximum of 100.


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

  • "What are the top 10 cryptocurrencies by market cap from CoinMarketCap?"

  • "Show me the leading 25 coins according to CMC."

  • "Get CoinMarketCap's list of top cryptocurrencies."

  • "List the top coins with a limit of 50 from CMC."

  • "Which coins are currently at the top of CoinMarketCap rankings?"

  • "Fetch the top 100 crypto listings from CMC."

  • "Can you show me CoinMarketCap's main cryptocurrency list?"

  • "What are the leading cryptocurrencies today via CMC?"


class CMCTrendingCoinsTool(BaseTool):
    name: ClassVar[str] = "cmc_trending_coins_tool"
    description: ClassVar[str] = "Get a list of all active cryptocurrencies with latest market data from CoinMarketCap."
    args_schema: ClassVar[Type[BaseModel]] = CMCTrendingCoinsInput

Important:

  • This tool operates asynchronously (_arun) only.

  • Requires a valid CoinMarketCap Pro API Key (CONFIG.CMC_API_KEY) to be configured in the backend.

  • The limit parameter defaults to 20 and is capped at a maximum of 100 coins.

PreviousCoinGecko Coin Data ToolNextDexScreener Top Boosts Tool

Last updated 2 days ago