21trust / 100

Dex Top

by Aayat AI in Onchain & crypto

x402 APIFailing, checked 3 h ago

The busiest decentralised exchanges: DEXs ranked by trading volume over 24 hours, 7 days or 30 days, across all chains or on one chain (e.g. Base, Solana, Arbitrum), with each one's share of the total, day-on-day change and number of chains. Up to 50 rows. DefiLlama data.

GET https://aayatai.com/dex/top

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.3%
Response time
914 ms typical, 914 ms slowest 5%
Last check
3 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/dex/top?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%2Faayatai.com%2Fdex%2Ftop
const res = await pay("https://aayatai.com/dex/top?chain=Base&limit=5");
console.log(await res.json());

Example input

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

Example output

{
  "chain": "Base",
  "dexes": [
    {
      "chains": 1,
      "change1dPct": 12.1,
      "dex": "Aerodrome Slipstream",
      "rank": 1,
      "sharePct": 48.27,
      "slug": "aerodrome-slipstream",
      "volumeUsd": 659297523
    },
    {
      "chains": 47,
      "change1dPct": 4.3,
      "dex": "Uniswap V3",
      "rank": 2,
      "sharePct": 26.69,
      "slug": "uniswap-v3",
      "volumeUsd": 364493611
    }
  ],
  "period": "24h",
  "source": "DefiLlama",
  "totalVolumeUsd": 1365912253
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoExpected HTTP 402, got 410410154 ms-
7 h agoExpected HTTP 402, got 410410155 ms-
11 h agoExpected HTTP 402, got 410410138 ms-
16 h agoExpected HTTP 402, got 410410191 ms-
20 h agoExpected HTTP 402, got 410410159 ms-
24 h agoExpected HTTP 402, got 410410112 ms-
28 h agoExpected HTTP 402, got 41041039 ms-
32 h agoExpected HTTP 402, got 410410225 ms-
36 h agoExpected HTTP 402, got 41041079 ms-
40 h agoExpected HTTP 402, got 410410163 ms-
45 h agoExpected HTTP 402, got 41041040 ms-
2 days agoExpected HTTP 402, got 41041036 ms-
2 days agoExpected HTTP 402, got 41041040 ms-
2 days agoExpected HTTP 402, got 410410102 ms-
2 days agoExpected HTTP 402, got 410410146 ms-