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

{% hint style="info" %}
**Input:** Requires a comma-separated list of `token_addresses` and an optional `chain_id`.
{% endhint %}

```python
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:**

```python
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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.lumolabs.ai/tools/dexscreener-token-information.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
