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

Jupiter Token Price

Jupiter Token Price Tool (jupiter_token_price_tool)

Fetches the current price in USD for one or more Solana tokens using their contract addresses, via the Jupiter API. Essential for getting up-to-date pricing information.

Input: Requires one or more comma-separated Solana token_addresses.

class JupiterTokenPriceInput(BaseModel):
    token_addresses: str # e.g., "So1111...1112,EPjF...TDt1v"

Key Functionality:

  • Retrieves current USD prices for the provided Solana token addresses from lite-api.jup.ag.

  • Can fetch prices for multiple token addresses in a single call.

  • Prices are formatted to 6 decimal places.


Sample Usage Queries (How an AI might use it): (Note: For queries using names/tickers, the system would first use a token identification tool to get addresses.)

  • "What's the Jupiter price for token DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263?"

  • "Get the current price of Wrapped SOL (So1111...1112) and USDC (EPjF...TDt1v) from Jupiter."

  • "Fetch Jupiter USD prices for Raydium and Serum."

  • "Use Jupiter to find the price of Jito (jtojt...mCL)."

  • "Check Jupiter for the price of mint token_mint_address_placeholder."

  • "What are the current Jupiter prices for LUMO, FARTCOIN, and GOAT?"

  • "Jupiter price check for contract_addr1,contract_addr2."


class JupiterTokenPriceTool(BaseTool):
    name: ClassVar[str] = "jupiter_token_price_tool"
    description: ClassVar[str] = "Get the current price of one or more Solana tokens in USD from Jupiter..."
    args_schema: ClassVar[Type[BaseModel]] = JupiterTokenPriceInput

Important:

  • This tool operates primarily asynchronously (_arun). The synchronous version returns an informational message.

  • Relies on the external Jupiter API (lite-api.jup.ag); functionality and data accuracy depend on this service.

  • Input must be valid Solana token contract addresses, comma-separated if multiple.

PreviousDexScreener Token InformationNextJupiter Token Metadata Tool

Last updated 2 days ago