Search Solana tokens and pairs
POST /api/sol-token-searchFind Solana tokens and pairs by name, ticker or address across every DEX DexScreener indexes, filtered to Solana only, in DexScreener relevance order: base and quote token, mint addresses, DEX, price, liquidity, 24h volume and change, transaction counts, pair age and whether the token has a filled-in profile (ticker impostors usually do not). Send POST /api/sol-token-search with the required field query and pay $0.003 per call over x402 or MPP (there is no free tier). It returns a JSON object with query, totalSolanaPairs, pairs, note, source and 1 more.
Resolve a ticker to a mint before calling sol-token-safety or sol-swap-quote. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Token name, ticker, or address (1-80 chars). Also accepted as q, search, term, keyword, question. |
limit | number | no | Pairs to return (1-30, default 10). |
Example request
curl -i -X POST https://agent402.tools/api/sol-token-search \
-H "Content-Type: application/json" \
-d '{"query":"JUP","limit":5}'
Without payment this returns HTTP 402 Payment Required with the exact price for sol-token-search; any x402 v2 or MPP client pays it and retries.
Example response
{
"query": "JUP",
"totalSolanaPairs": 28,
"pairs": [
{
"pairAddress": "EoFt...",
"dex": "meteora",
"labels": [
"DLMM"
],
"base": {
"address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"symbol": "JUP",
"name": "Jupiter"
},
"quote": {
"address": "So11111111111111111111111111111111111111112",
"symbol": "SOL"
},
"priceUsd": 0.2034,
"priceNative": 0.00217,
"liquidityUsd": 1260729.15,
"fdv": 1395785031,
"marketCap": 675335464,
"volume": {
"m5": 1000,
"h1": 20000,
"h6": 100000,
"h24": 500000
},
"priceChangePct": {
"m5": 0,
"h1": -0.3,
"h6": 0.2,
"h24": -2.4
},
"txns24h": {
"buys": 900,
"sells": 850
},
"txns1h": {
"buys": 30,
"sells": 28
},
"pairCreatedAt": "2025-01-01T00:00:00.000Z",
"ageHours": 14000,
"hasProfile": true,
"url": "https://dexscreener.com/solana/eoft..."
}
],
"note": "Rows keep DexScreener relevance order.",
"source": "dexscreener",
"fetchedAt": "2026-08-22T12:00:00.000Z"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
query | string | yes | JUP |
totalSolanaPairs | number | yes | 28 |
pairs | array of objects | yes | 1 item in the example |
note | string | yes | Rows keep DexScreener relevance order. |
source | string | yes | dexscreener |
fetchedAt | string | yes | 2026-08-22T12:00:00.000Z |
From an MCP client
catalog.call {
"slug": "sol-token-search",
"params": {
"query": "JUP",
"limit": 5
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for sol-token-search; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
queryis required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
GETorHEADto /api/sol-token-search returns the same 402 quote, so the price can be read without a body. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
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-token-search", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"query": "JUP",
"limit": 5
}),
});
Related tools
Solana token holder concentration
POST /api/sol-token-holdersTop-holder concentration for a Solana token mint: the 20 largest holders with token account, owner wallet, balance, perc…
Solana token lookup (Jupiter)
POST /api/sol-token-lookupResolve a Solana token by mint, ticker or name through Jupiter's token index and get its profile in one read: name, symb…
Solana token trading pairs
POST /api/sol-token-pairsEvery DEX pair trading a Solana token mint (Raydium, Orca, Meteora, Pump.fun AMM and the rest), sorted by liquidity: pai…
Solana token safety check
POST /api/sol-token-safetySafety headline for any Solana SPL token mint: RugCheck risk score (raw + 0-100 normalised), the named risks with level …
Solana token prices (Jupiter)
POST /api/sol-priceUSD price for up to 50 Solana token mints in one call from Jupiter's price API v3: price, 24h change, liquidity, decimal…
Solana swap quote (Jupiter)
POST /api/sol-swap-quoteExecutable swap quote on Solana from Jupiter's aggregator: input and output mint, amount in base units, slippage in bps …