DexScreener Token Information

DexScreener Token Information Tool (dexscreener_token_information_tool)

Fetches detailed Decentralized Exchange (DEX) market data for one or more specified token addresses from DexScreener. Provides insights into price, volume, liquidity, and trading activity on a given blockchain (defaults to Solana).

Input: Requires a comma-separated list of token_addresses and an optional chain_id.

class DexScreenerTokenInformationInput(BaseModel):
    token_addresses: str  # e.g., "So1111...1112,EPjF...TDt1v" (max 10)
    chain_id: str = "solana" # Blockchain ID (e.g., "ethereum", "bsc")

Key Functionality:

  • Retrieves detailed DEX information for up to 10 token addresses from api.dexscreener.com.

  • For each token/pair found, it includes: price (USD & native), 24h price change, 24h volume, liquidity, transaction counts, market cap (if available), and a link to the pair on DexScreener.

  • Supports various blockchains via the chain_id parameter.


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.)

  • "Get DexScreener info for token DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 on Solana."

  • "Show me the DexScreener data for Wrapped SOL and USDC on the solana chain."

  • "Fetch DEX details for Raydium and Serum from DexScreener."

  • "What's the trading activity for Jito (jtojt...mCL) according to DexScreener?"

  • "Look up details for mint token_mint_address_placeholder on Ethereum using DexScreener."

  • "Get DexScreener info for LUMO, FARTCOIN, and GOAT." (Defaults to Solana if chain not specified)

  • "DexScreener details for contract_addr1,contract_addr2 on bsc chain?"


Quick Code Glance:

class DexScreenerTokenInformationTool(BaseTool):
    name: ClassVar[str] = "dexscreener_token_information_tool"
    description: ClassVar[str] = "Get detailed DEX information about Solana tokens including price, volume, liquidity, and trading activity."
    args_schema: ClassVar[Type[BaseModel]] = DexScreenerTokenInformationInput

Important:

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

  • Relies on the external DexScreener API (api.dexscreener.com); functionality and data accuracy depend on this service.

  • Can query a maximum of 10 token addresses per call.

  • Ensure the chain_id is correct if querying tokens outside of Solana.

Last updated