x402 tools
Use to price a crypto portfolio or watchlist in one call. Market data for up to 50 symbols or 250 CoinGecko ids: price, 1h/24h/7d/30d change, 24h high/low, volume, market cap, rank, FDV, supply, and distance from all-time high/low; optional 7-day sparkline. One flat price per call; not charged if nothing is found.
- Price per call
- $0.002
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 7
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402-tools-production-2755.up.railway.app/tools/token-price", { method: "GET" });
console.log(await res.json());https://x402-tools-production-2755.up.railway.app/tools/token-price