Arkham x402 · Token Market

by Arkham x402

POSTBaseSolana

$0.2

per call · USD Coin on Base

Get Arkham current market data for a token. $0.20 per call.

Endpoint

POST https://api.arkm.com/x402/token/market

1

Calls / 30d

1

Unique payers / 30d

Aug 12

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://api.arkm.com/x402/token/market", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "id": "usd-coin"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.arkm.com/x402/token/market" \
  -H "Content-Type: application/json" \
  -d '{"id":"usd-coin"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "allTimeHigh": 1.043,
  "allTimeLow": 0.877647,
  "circulatingSupply": 73354602419.50252,
  "fullyDilutedValue": 73342671855.44943,
  "marketCap": 73340976893,
  "maxPrice24h": 0.999979,
  "minPrice24h": 0.999745,
  "price": 0.999831,
  "price180dAgo": 0.999812,
  "price24hAgo": 0.999797,
  "price30dAgo": 0.999724,
  "price7dAgo": 0.999852,
  "totalSupply": 73355068862.08713,
  "totalVolume": 7539296441
}

Payment details

Pay to0x942bd3e3073543c674efc0c378d5bce20f9120c1
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from Arkham x402 & similar services