C

CoinGecko Crypto Price & Data · Markets

by CoinGecko Crypto Price & Data

GETBaseSolanaArbitrumPolygon

$0.005

per call · USD Coin on Base

Top crypto coins ranked by market cap — paginated market data (price, market-cap rank, symbol) in any currency, CoinGecko-sourced.

Endpoint

GET https://coingecko.use.x402atlas.com/markets

21

Calls / 30d

6

Unique payers / 30d

Sep 8

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://coingecko.use.x402atlas.com/markets", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://coingecko.use.x402atlas.com/markets?page=1&per_page=10&vs_currency=usd" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "markets": [
    {
      "current_price": 67000,
      "id": "bitcoin",
      "market_cap_rank": 1,
      "name": "Bitcoin",
      "symbol": "btc"
    }
  ],
  "page": 1,
  "per_page": 10,
  "queried_at": "2026-06-08T12:00:00Z",
  "vs_currency": "usd"
}

Payment details

Pay to0x32793f68dc2ea26bbc75eb900da120069e8b6d02
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

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

Get featured →

More from CoinGecko Crypto Price & Data & similar services