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: pair address, DEX, price in USD and in the quote token, liquidity, FDV and market cap, 5m/1h/6h/24h volume and price change, buy/sell transaction counts, pair age in hours, plus totals across pairs. Send POST /api/sol-token-pairs with the required field mint and pay $0.003 per call over x402 or MPP (there is no free tier). It returns a JSON object with mint, totalPairs, totals, pairs, source and 1 more.
One DexScreener request, keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
mint | string | yes | Base58 SPL token mint address. Also accepted as token, mintAddress, address, contract, tokenAddress. |
limit | number | no | Pairs to return, deepest first (1-30, default 10). |
Example request
curl -i -X POST https://agent402.tools/api/sol-token-pairs \
-H "Content-Type: application/json" \
-d '{"mint":"JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN","limit":5}'
Without payment this returns HTTP 402 Payment Required with the exact price for sol-token-pairs; any x402 v2 or MPP client pays it and retries.
Example response
{
"mint": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"totalPairs": 30,
"totals": {
"liquidityUsd": 95000000,
"volume24hUsd": 160000000,
"txns24h": 40000
},
"pairs": [
{
"pairAddress": "EoFt...",
"dex": "meteora",
"labels": [
"DLMM"
],
"base": {
"address": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"symbol": "JUP",
"name": "Jupiter"
},
"quote": {
"address": "METv...",
"symbol": "MET"
},
"priceUsd": 0.2034,
"priceNative": 0.9139,
"liquidityUsd": 71508214.54,
"fdv": 1395785031,
"marketCap": 675335464,
"volume": {
"m5": 257492.32,
"h1": 1424742.93,
"h6": 37797815.88,
"h24": 149471020.95
},
"priceChangePct": {
"m5": 0.1,
"h1": -0.4,
"h6": -0.01,
"h24": -6.39
},
"txns24h": {
"buys": 1180,
"sells": 1249
},
"txns1h": {
"buys": 23,
"sells": 43
},
"pairCreatedAt": "2025-10-28T04:06:45.000Z",
"ageHours": 7160.2,
"hasProfile": true,
"url": "https://dexscreener.com/solana/eoft..."
}
],
"source": "dexscreener",
"fetchedAt": "2026-08-22T12:00:00.000Z"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
mint | string | yes | JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN |
totalPairs | number | yes | 30 |
totals | object | yes | 3 fields: liquidityUsd, volume24hUsd, txns24h |
pairs | array of objects | yes | 1 item in the example |
source | string | yes | dexscreener |
fetchedAt | string | yes | 2026-08-22T12:00:00.000Z |
From an MCP client
catalog.call {
"slug": "sol-token-pairs",
"params": {
"mint": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"limit": 5
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for sol-token-pairs; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
mintis 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-pairs 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-pairs", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"mint": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN",
"limit": 5
}),
});
Related tools
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, i…
Exchange tickers
GET /api/exchange-tickersMarkets (tickers) listed on one exchange: base/target pair, last price, 24h volume, USD- and BTC-converted last price an…
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 …
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 risk report (full)
POST /api/sol-token-reportFull 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
POST /api/sol-token-safetySafety headline for any Solana SPL token mint: RugCheck risk score (raw + 0-100 normalised), the named risks with level …