Solana token prices (Jupiter)

$0.001 per call · USDC via x402 · POST /api/sol-price

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. Send POST /api/sol-price with the required field mints and pay $0.001 per call over x402 or MPP (there is no free tier). It returns a JSON object with count, missing, prices, source and fetchedAt.

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.

Category: Crypto & onchain data · Tags: solana price jupiter token spl batch

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
mintsarray of stringyes1-50 base58 mint addresses (array, or a comma-separated string).

Example request

curl -i -X POST https://agent402.tools/api/sol-price \
  -H "Content-Type: application/json" \
  -d '{"mints":["So11111111111111111111111111111111111111112","JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN","EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}'

Without payment this returns HTTP 402 Payment Required with the exact price for sol-price; any x402 v2 or MPP client pays it and retries.

Example response

{
  "count": 3,
  "missing": [],
  "prices": {
    "So11111111111111111111111111111111111111112": {
      "priceUsd": 93.7085,
      "priceChange24hPct": 3.93,
      "liquidityUsd": 748142746.9,
      "decimals": 9,
      "blockId": 440919037
    },
    "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN": {
      "priceUsd": 0.2035,
      "priceChange24hPct": -2.4,
      "liquidityUsd": 3092234.59,
      "decimals": 6,
      "blockId": 440919030
    }
  },
  "source": "jupiter",
  "fetchedAt": "2026-08-22T12:00:00.000Z"
}
FieldTypeAlways presentIn the example
countnumberyes3
missingarrayyes0 items in the example
pricesobjectyes2 fields: So11111111111111111111111111111111111111112, JUPyiwrYJFskUPiHa7hkeR...
sourcestringyesjupiter
fetchedAtstringyes2026-08-22T12:00:00.000Z

From an MCP client

catalog.call {
  "slug": "sol-price",
  "params": {
    "mints": [
      "So11111111111111111111111111111111111111112",
      "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
      "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    ]
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for sol-price; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/sol-price", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "mints": [
      "So11111111111111111111111111111111111111112",
      "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
      "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    ]
  }),
});

Related tools

Solana token lookup (Jupiter)

$0.002 · POST /api/sol-token-lookup

Resolve a Solana token by mint, ticker or name through Jupiter's token index and get its profile in one read: name, symb…

Token price by contract address

$0.005 · GET /api/coin-price-by-contract

Live price, market cap, 24h volume and 24h change for ERC-20 / SPL / other chain tokens looked up by CONTRACT ADDRESS on…

Solana swap quote (Jupiter)

$0.003 · POST /api/sol-swap-quote

Executable swap quote on Solana from Jupiter's aggregator: input and output mint, amount in base units, slippage in bps …

Solana token holder concentration

$0.005 · POST /api/sol-token-holders

Top-holder concentration for a Solana token mint: the 20 largest holders with token account, owner wallet, balance, perc…

Solana token risk report (full)

$0.010 · POST /api/sol-token-report

Full RugCheck report for a Solana token mint, trimmed to what an agent acts on: score and risks, mint/freeze authority s…

Solana token safety check

$0.005 · POST /api/sol-token-safety

Safety headline for any Solana SPL token mint: RugCheck risk score (raw + 0-100 normalised), the named risks with level …