# Vextorium DEX Pool Swaps

> Vextorium DEX Pool Swaps is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Fetches recent on-chain swap activity for a DEX pool (Uniswap v2/v3, Aerodrome, SushiSwap, PancakeSwap) including individual trades, net buy/sell flow, unique buyers, and largest trades with USD sizing.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/pool-swaps?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-dex-pool-swaps-55bfc0c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-a5SnvGKJV0BdyW00q1St

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vextorium-dex-pool-swaps-55bfc0c8 -d '<json body>'
```

Example prompt: Show me the last 60 minutes of swap activity for the BRETT/WETH pool at 0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02 on Base — I want to see individual trades, the net buy/sell flow, and the biggest trades.

## When to prefer this

Choose this endpoint when you need granular, per-trade on-chain swap data with USD sizing, wallet attribution, and buy/sell flow analytics for a specific DEX pool across Base, Ethereum, Arbitrum, Optimism, or Polygon. Prefer this over order book or CEX data feeds when you need actual on-chain DEX activity. Ideal for detecting whale trades, measuring buying pressure, or monitoring short-term flow dynamics on Uniswap v2/v3, Aerodrome, SushiSwap, or PancakeSwap pools.

## Known failure modes

- Invalid or unrecognized pool/token address returns an error or empty result
- Network mismatch between address and specified network causes lookup failure
- Pool with very low activity may return few or no swaps in the requested window
- Minutes value outside 1-720 range may be rejected
- Temporary unavailability of public blockchain nodes may delay or fail the response
- Token with no identifiable main pool when passing token address may fail to resolve

## How this service works

Recent swaps of a DEX pool (Uniswap v2/v3, Aerodrome, SushiSwap, PancakeSwap... on Base, Ethereum, Arbitrum, Optimism or Polygon) read on-chain: buys and sells with USD size, price, wallet and tx, net buy/sell flow, unique buyers and the largest trades. Pass the pool or the token address (its main pool is used).

## Output

Returns a JSON object with: the DEX name, pool and token addresses, network, paired token, list of recent swaps (tx hash, USD value, side, block, wallet, price, token amount), list of largest trades, total buy USD, total sell USD, net flow USD, unique buyer count, trade count, and covered time window in minutes. Also includes a note about wallet interpretation (may be router/aggregator).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "pool"
     ],
     "properties": {
      "pool": {
       "type": "string",
       "description": "Pool or token address"
      },
      "limit": {
       "type": "integer"
      },
      "min_usd": {
       "type": "number"
      },
      "minutes": {
       "type": "integer",
       "description": "1-720"
      },
      "network": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "dex": {
       "type": [
        "string",
        "null"
       ]
      },
      "note": {
       "type": [
        "string",
        "null"
       ]
      },
      "pool": {
       "type": [
        "string",
        "null"
       ]
      },
      "token": {
       "type": [
        "string",
        "null"
       ]
      },
      "recent": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "tx": {
          "type": [
           "null",
           "string"
          ]
         },
         "usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "side": {
          "type": [
           "null",
           "string"
          ]
         },
         "block": {
          "type": [
           "null",
           "number"
          ]
         },
         "wallet": {
          "type": [
           "null",
           "string"
          ]
         },
         "price_usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "token_amount": {
          "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dex": "aerodrome",
  "note": "The wallet is the swap recipient (sometimes a router or aggregator).",
  "pool": "0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02",
  "token": "BRETT (0x532f27101965dd16442E59d40670FaF5eBB142E4)",
  "recent": [
   {
    "tx": "0x0192171beedfee6a262fd6363fb7ea249578cd4d2bbf7f554c9ac6e4a3d76be1",
    "usd": 150.2,
    "side": "sell",
    "block": 52099869,
    "wallet": "0x67d03631fe51b741c0c00c4e16eb662ac84381df",
    "price_usd": 0.0058228297,
    "token_amount": 25795
   },
   {
    "tx": "0x949adf1e4617d5f2202fb9e6b6ffb15574a94986cd955e29c01be719ee6c9098",
    "usd": 150.26,
    "side": "sell",
    "block": 52099868,
    "wallet": "0x67d03631fe51b741c0c00c4e16eb662ac84381df",
    "price_usd": 0.0058251115,
    "token_amount": 25795
   }
  ],
  "source": "Pool Swap events on public nodes; prices from DEX Screener",
  "trades": 19,
  "against": "WETH",
  "largest": [
   {
    "tx": "0xa6d22cbbd29ba8d4e4c295eda92ebd98500e05e2ca869857eea2d7f388c48094",
    "usd": 290.89,
    "side": "sell",
    "block": 52099782,
    "wallet": "0x8ea5ad2a58c1dae75394b1e8636e6518eb6dac50",
    "price_usd": 0.0058285059,
    "token_amount": 49909
   },
   {
    "tx": "0xe4d203728ac07b7b8b9d4fafc1834cf252cd938405e1b35f6f75bf44ae750935",
    "usd": 220.68,
    "side": "sell",
    "block": 52099270,
    "wallet": "0x01989c93890aed05a63d179b03424997075b6acf",
    "price_usd": 0.0058356867,
    "token_amount": 37816.040455
   }
  ],
  "network": "base",
  "buys_usd": 293,
  "sells_usd": 1342,
  "net_flow_usd": -1049,
  "unique_buyers": 3,
  "covered_minutes": 30
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-dex-pool-swaps-55bfc0c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
