S

svm402-service · Price

by svm402-service

GETSolana

per call · USDC on Solana

Current price and liquidity data for a Solana token given its mint address, sourced from Jupiter and Helius. Call this for a quick, cheap market quote when you do not need the full analysis. — $0.01 USDC

Endpoint

GET https://svm402.com/price/:address

661

Calls / 30d

3

Unique payers / 30d

Sep 10

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://svm402.com/price/:address", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://svm402.com/price/:address" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "metadata": {
    "address": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
    "name": "Bonk",
    "symbol": "BONK"
  },
  "price": {
    "liquidity_usd": 1234567,
    "price_usd": 0.000012
  }
}

Payment details

Pay to4ofumgcrhsfr6lmy6auarsqpqyksvibsbxmieql4i8dc
Assetepjfwdd5aufqssqem2qn1xzybapc8g4weggkzwytdt1v
NetworksSolana
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from svm402-service & similar services