L

Live Crypto Market Snapshot · Crypto Market Snapshot

by Live Crypto Market Snapshot

GETBase

$0.004

per call · USD Coin on Base

Fetch current USD price, market capitalization, 24-hour trading volume, 24-hour percentage change, and source update time for up to 20 crypto assets in one call.

Endpoint

GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/crypto_market_snapshot

11

Calls / 30d

7

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://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/crypto_market_snapshot", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/crypto_market_snapshot?symbols=btc%2Ceth%2Csol%2Cxrp" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "assets": [
    {
      "change_24h_percent": 1.2,
      "id": "bitcoin",
      "market_cap_usd": 2000000000000,
      "price_usd": 100000,
      "volume_24h_usd": 50000000000
    }
  ],
  "count": 4,
  "quote_currency": "USD",
  "success": true
}

Payment details

Pay to0x8647f7d7a1368a467ad1ff757fbc2e7167973558
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Live Crypto Market Snapshot & similar services