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

{% hint style="info" %}
**Input:** Requires one or more comma-separated Solana `token_addresses`.
{% endhint %}

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

***

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


---

# 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/jupiter-token-price.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.
