A

ApiToll DEX Volume · Crypto DEX

by ApiToll DEX Volume

GETBaseSolana

$0.001

per call · USD Coin on Base

Decentralized exchange (DEX) trading volume ranked by protocol: 24-hour and 7-day volume in USD with 1d/7d change, plus the chains each DEX runs on. Pass ?chain=base to scope to one chain. See where on-chain trading is happening across Uniswap, Curve, Raydium, PancakeSwap and more. Sourced from DefiLlama.

Endpoint

GET https://crypto.apitoll.cloud/v1/crypto/dex

3

Calls / 30d

3

Unique payers / 30d

Sep 5

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://crypto.apitoll.cloud/v1/crypto/dex", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://crypto.apitoll.cloud/v1/crypto/dex?chain=base" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chain": "base",
  "count": 1,
  "dexs": [
    {
      "chains": [
        "Base"
      ],
      "change1dPct": -3.2,
      "change7dPct": 12.1,
      "name": "Uniswap",
      "volume24hUsd": 120000000,
      "volume7dUsd": 900000000
    }
  ],
  "source": {
    "name": "DefiLlama"
  },
  "total24hUsd": 250000000,
  "total7dUsd": 1800000000
}

Payment details

Pay to0x3da40a9ad36640a2c0f533bac368490095574664
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from ApiToll DEX Volume & similar services