16trust / 100
Solana Token Price
by Vextorium in Onchain & crypto
x402 APIFailing, checked 4 h ago
USD price of one or more Solana tokens by mint address (up to 20 at once): price, 24h change and on-chain liquidity, derived from real liquidity via Jupiter, Solana's leading aggregator. Live open data.
POST https://api.vextorium.com/v1/solana-token-price
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 0.0%
- Response time
- - typical, - slowest 5%
- Last check
- 4 h ago: Amount "0.004" is not in atomic token units
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/solana-token-price" \
-H "content-type: application/json" \
-d '{"coins":"SOL,USDC"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fsolana-token-price
const res = await pay("https://api.vextorium.com/v1/solana-token-price", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"coins":"SOL,USDC"}),
});
console.log(await res.json());Example input
{
"coins": "SOL,USDC"
}Example output
{
"not_found": [],
"note": "Price derived from real on-chain liquidity on Solana. Source: Jupiter.",
"prices": [
{
"change_24h_pct": -0.01,
"decimals": 6,
"liquidity_usd": 478196429,
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"price_usd": 0.9997839548135676
},
{
"change_24h_pct": -0.65,
"decimals": 9,
"liquidity_usd": 972929987,
"mint": "So11111111111111111111111111111111111111112",
"price_usd": 118.83290795692362
}
],
"source": "Jupiter (lite-api.jup.ag, Solana open data)"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Amount "0.004" is not in atomic token units | 402 | 85 ms | $0.004 |
| 8 h ago | Amount "0.004" is not in atomic token units | 402 | 100 ms | $0.004 |
| 13 h ago | Amount "0.004" is not in atomic token units | 402 | 115 ms | $0.004 |
| 17 h ago | Amount "0.004" is not in atomic token units | 402 | 213 ms | $0.004 |
| 21 h ago | Amount "0.004" is not in atomic token units | 402 | 78 ms | $0.004 |
| 25 h ago | Amount "0.004" is not in atomic token units | 402 | 83 ms | $0.004 |
| 29 h ago | Amount "0.004" is not in atomic token units | 402 | 79 ms | $0.004 |
| 33 h ago | Amount "0.004" is not in atomic token units | 402 | 82 ms | $0.004 |
| 37 h ago | Amount "0.004" is not in atomic token units | 402 | 85 ms | $0.004 |
| 42 h ago | Amount "0.004" is not in atomic token units | 402 | 84 ms | $0.004 |
| 45 h ago | Amount "0.004" is not in atomic token units | 402 | 99 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 74 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 90 ms | $0.004 |
| 2 days ago | Amount "0.004" is not in atomic token units | 402 | 132 ms | $0.004 |
| 3 days ago | Amount "0.004" is not in atomic token units | 402 | 89 ms | $0.004 |