gate402 · DEX

by gate402

POSTBase

$0.01

per call · USD Coin on Base

Live DEX price, liquidity, and 24h volume for a Base token across its trading pairs (DexScreener).

Endpoint

POST https://gate402.app/v1/dex

1

Calls / 30d

1

Unique payers / 30d

Aug 22

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://gate402.app/v1/dex", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://gate402.app/v1/dex" \
  -H "Content-Type: application/json" \
  -d '{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "address": "0x…",
  "arbitrage": {
    "dexCount": 2,
    "high": {
      "dex": "aerodrome",
      "priceUsd": "1.004"
    },
    "low": {
      "dex": "uniswap",
      "priceUsd": "0.998"
    },
    "spreadPct": 0.6
  },
  "chain": "base",
  "fetchedAt": "2026-06-30T12:00:00.000Z",
  "pairs": [
    {
      "baseSymbol": "USDC",
      "dex": "aerodrome",
      "liquidityUsd": 1200000,
      "pairAddress": "0x…",
      "pairCreatedAt": "2024-01-01T00:00:00.000Z",
      "priceChange24h": 0.1,
      "priceUsd": "1.00",
      "quoteSymbol": "WETH",
      "url": "https://dexscreener.com/base/0x…",
      "volume24h": 450000
    }
  ],
  "topPriceUsd": "1.00"
}

Payment details

Pay to0x8e57bfde053dbb6862991759c19affc5f383d5d0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from gate402 & similar services