# 2s.io DEX Token Pools Lookup

> 2s.io DEX Token Pools Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.0036/call, status unknown (last checked 2026-09-14).

Returns all DEX pools trading a given token (by contract address and network), including pair info, on-chain USD price, FDV, market cap, liquidity, 24h volume, price change, and buy/sell counts via GeckoTerminal.

## Facts

- Endpoint: GET https://2s.io/api/crypto/dex-token-pools
- Price: $0.0036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-dex-token-pools-lookup-6c938c44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iPRhDwk4B33cQCrBugX3W

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 2s-io-dex-token-pools-lookup-6c938c44
```

Example prompt: Show me all DEX pools trading the PEPE token on Ethereum — its contract address is 0x6982508145454ce325ddbe47a25d4ec3d2311933 — I want to see each pool's on-chain price, liquidity, 24h volume, and buy/sell activity, top 10 pools.

## When to prefer this

Use this endpoint when you need on-chain DEX pool data for a specific token by contract address, including liquidity, volume, and trade activity across multiple DEXes on a given network. Prefer this over CEX price APIs when you want decentralized, pool-level granularity rather than aggregate order-book prices. Ideal for DeFi research, token due diligence, arbitrage analysis, or liquidity monitoring across networks like Ethereum, BSC, Base, and Solana.

## Known failure modes

- Invalid or unrecognized contract address returns empty pool list or 404
- Unsupported network slug causes a validation error or empty result
- Token with no DEX pools returns an empty array
- Exceeding limit parameter bounds (>50 or <1) returns a validation error
- GeckoTerminal upstream unavailability causes 502 or timeout
- Rate limiting or payment failure returns 402 or 429

## How this service works

All DEX pools trading a given token, by contract address (via GeckoTerminal, free/keyless). Returns each pool's pair, on-chain USD price, FDV/market cap, liquidity reserve, 24h volume + price change, and buys/sells — the on-chain price + liquidity picture for any token across a network's DEXes.

## Output

A list of DEX pools trading the specified token, each containing the trading pair name, exchange/DEX name, on-chain USD price, fully diluted valuation, market cap, liquidity reserve in USD, 24-hour trading volume, 24-hour price change percentage, and the number of buys and sells in the last 24 hours.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "network",
      "address"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "address": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1,
       "description": "Token contract address."
      },
      "network": {
       "type": "string",
       "maxLength": 40,
       "minLength": 1,
       "description": "Network slug, e.g. eth, bsc, base, solana."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-dex-token-pools-lookup-6c938c44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
