S
—
per call · USDC on Solana
Get real-time token price and change rates (5min, 10min, 30min, 1hour, 24hour)
Endpoint
GET https://x402.sniperx.fun/api/v1/token/price1
Calls / 30d
1
Unique payers / 30d
Sep 9
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.sniperx.fun/api/v1/token/price", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://x402.sniperx.fun/api/v1/token/price?token_address=example_token_address" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"change_10m": {
"description": "Price change percentage in last 10 minutes",
"type": "number"
},
"change_1h": {
"description": "Price change percentage in last 1 hour",
"type": "number"
},
"change_24h": {
"description": "Price change percentage in last 24 hours",
"type": "number"
},
"change_30m": {
"description": "Price change percentage in last 30 minutes",
"type": "number"
},
"change_5m": {
"description": "Price change percentage in last 5 minutes",
"type": "number"
},
"price": {
"description": "Current token price in USDC",
"type": "string"
}
}Payment details
Pay to
bd2xs189uhhnxuebevf3jfxrg8zqgrvqztpqh8hgkceqAsset
epjfwdd5aufqssqem2qn1xzybapc8g4weggkzwytdt1vNetworksSolana
Schemesexact
Is this your API?
Pin it to the top of Market Data and the homepage with a featured placement.
More from Sniperx & similar services
S
Sniperx · Activities Smarttraders Smartmoney
x402.sniperx.fun
Get SmartMoney trading activities on token (sorted by time descending)
GETSolanaOnchain Data
—10k calls / 30d
S
Sniperx · Activities Smarttraders KOL
x402.sniperx.fun
Get KOL trading activities on token (sorted by time descending)
GETSolanaOnchain Data
—2.6k calls / 30d
S
Sniperx · Activities Smarttraders Whale
x402.sniperx.fun
Get Whale trading activities on token (sorted by time descending)
GETSolanaOnchain Data
—2.6k calls / 30d