Crypto price · Crypto Price

by Crypto price

GETBaseSolanaArbitrumPolygonMonadAvalancheeip155:1329OptimismFraxtaleip155:42220stellar:pubnetalgorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=

$0.01

per call · USD Coin on Base

Live crypto prices for one or many coins in any vs_currency (usd, eur, btc, eth, etc). Returns last price, 24h change %, 24h volume, and market cap per coin. The simplest crypto price read - for ranked market-cap tables use crypto-market, for candles use crypto-history. Accepts ticker symbols (BTC, ETH, SOL) for the top ~50 by market cap, or canonical CoinGecko ids (e.g. "render-token") for any of the ~15k tracked coins. Batched: up to 25 coins per call.

Endpoint

GET https://agent402.tools/api/crypto-price

63

Calls / 30d

1

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://agent402.tools/api/crypto-price", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://agent402.tools/api/crypto-price?coins=BTC%2CETH%2CSOL&currency=usd" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "coins": {
    "bitcoin": {
      "change24hPct": 1.42,
      "lastUpdated": "2026-06-20T00:30:00Z",
      "marketCap": 1320000000000,
      "price": 67234.12,
      "volume24h": 28100000000
    },
    "ethereum": {
      "change24hPct": 2.18,
      "lastUpdated": "2026-06-20T00:30:00Z",
      "marketCap": 423000000000,
      "price": 3520.45,
      "volume24h": 14200000000
    },
    "solana": {
      "change24hPct": -0.65,
      "lastUpdated": "2026-06-20T00:30:00Z",
      "marketCap": 68000000000,
      "price": 148.2,
      "volume24h": 2400000000
    }
  },
  "count": 3,
  "currency": "usd"
}

Payment details

Pay to0xabf4fabd7c416fb67202e5f9002389fc75e2a9d0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon, Monad, Avalanche, eip155:1329, Optimism, Fraxtal, eip155:42220, stellar:pubnet, algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=
Schemesexact, upto

Is this your API?

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

Get featured →

More from Crypto price & similar services