81trust / 100

Defi Dex Volume

by DEX volume by protocol in Onchain & crypto

x402 APIPassing, checked 3 h ago

Decentralized exchanges ranked by 24h spot volume with 7d, 30d, 1y and all-time volume, change, the chains each trades on and sector totals. Use it when an agent needs to know where onchain spot volume is happening or how a DEX's share is moving.

POST https://agent402.tools/api/defi-dex-volume

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
185 ms typical, 185 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/defi-dex-volume" \
  -H "content-type: application/json" \
  -d '{"chain":"Base","limit":5}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fdefi-dex-volume
const res = await pay("https://agent402.tools/api/defi-dex-volume", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"Base","limit":5}),
});
console.log(await res.json());

Example input

{
  "chain": "Base",
  "limit": 5
}

Example output

{
  "cached": true,
  "chain": "Base",
  "count": 1,
  "dexs": [
    {
      "category": "Dexs",
      "chainCount": 1,
      "chains": [
        "Base"
      ],
      "change1dPct": -2.5,
      "change1mPct": 9.8,
      "change7dPct": 3.9,
      "name": "Aerodrome Slipstream",
      "protocolType": "protocol",
      "rank": 1,
      "slug": "aerodrome-slipstream",
      "total1yUsd": 250000000000,
      "total24hUsd": 600000000,
      "total30dUsd": 20000000000,
      "total7dUsd": 4500000000,
      "totalAllTimeUsd": 400000000000
    }
  ],
  "fetchedAt": "2026-08-22T12:00:00.000Z",
  "matched": 60,
  "source": "defillama-dexs",
  "totals": {
    "change1dPct": -3.1,
    "change1mPct": 11,
    "change7dPct": 4.2,
    "total24hUsd": 1200000000,
    "total30dUsd": 40000000000,
    "total7dUsd": 9000000000
  },
  "unit": "USD"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402185 ms$0.001
8 h agoPassed402202 ms$0.001