# Agent402 Solana Token Price Lookup

> Agent402 Solana Token Price Lookup is a paid API for AI agents from agent402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches real-time USD prices, liquidity, and 24-hour price change for one or more Solana SPL token mint addresses via Jupiter aggregator

## Facts

- Endpoint: POST https://agent402.tools/api/sol-price
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-solana-token-price-lookup-1405db61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-oWsIOIkK3aWktOSYQYjh

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent402-solana-token-price-lookup-1405db61 -d '<json body>'
```

Example prompt: What are the current USD prices, liquidity, and 24-hour price changes for these Solana tokens: So11111111111111111111111111111111111111112 and JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN?

## When to prefer this

Prefer this endpoint when you need real-time Solana SPL token prices sourced directly from the Jupiter aggregator with on-chain liquidity data, especially in a pay-per-call agent context where no API key or signup is needed — just a wallet. It supports batch lookups of up to 50 mints in a single call, making it efficient for portfolio or DeFi monitoring agents.

## Known failure modes

- Invalid or non-base58 mint address returns the mint in the 'missing' array rather than an error
- More than 50 mint addresses provided may be rejected or truncated
- Token not indexed by Jupiter returns it in 'missing' with no price data
- Network or Jupiter API unavailability may cause request failure
- Payment of 0.002 USDC required; insufficient wallet balance causes 402 rejection

## How this service works

USD price for up to 50 Solana token mints in one call from Jupiter's price API v3: price, 24h change, liquidity, decimals and the block the price was read at. Mints Jupiter does not price come back listed under missing rather than erroring the batch. Pass mint addresses, not tickers (resolve tickers with sol-token-search or sol-token-lookup). Keyless.

## Output

Returns a JSON object with a count of results, a prices map keyed by mint address (each entry containing blockId, decimals, priceUsd, liquidityUsd, priceChange24hPct), the data source (Jupiter), a list of missing mints, and a fetchedAt ISO 8601 timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mints": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "1-50 base58 mint addresses (array, or a comma-separated string)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "prices": {
   "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN": {
    "blockId": 440919030,
    "decimals": 6,
    "priceUsd": 0.2035,
    "liquidityUsd": 3092234.59,
    "priceChange24hPct": -2.4
   },
   "So11111111111111111111111111111111111111112": {
    "blockId": 440919037,
    "decimals": 9,
    "priceUsd": 93.7085,
    "liquidityUsd": 748142746.9,
    "priceChange24hPct": 3.93
   }
  },
  "source": "jupiter",
  "missing": [],
  "fetchedAt": "2026-08-22T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-solana-token-price-lookup-1405db61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
