# 2s.io DEX Liquidity Pool Search

> 2s.io DEX Liquidity Pool Search 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).

Search on-chain DEX liquidity pools by token name, symbol, or contract address, returning pool metrics like price, volume, market cap, and trade activity.

## Facts

- Endpoint: GET https://2s.io/api/crypto/dex-search
- 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-liquidity-pool-search-c98bb201
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u6xRqrSbDvdV1k7PDcfLO

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-liquidity-pool-search-c98bb201
```

Example prompt: Search for on-chain DEX liquidity pools for 'PEPE' token on the Ethereum network and show me the top 5 results including price, 24h volume, and buy/sell activity.

## When to prefer this

Use this endpoint when you need to discover which DEX pools exist for a token before fetching OHLCV or detailed token info, or when you need quick market-level stats (price, volume, liquidity) across multiple pools. Prefer this over general token info endpoints when you need pool-level granularity or want to scope results to a specific network.

## Known failure modes

- No pools found for the queried token name, symbol, or address — returns empty results
- Invalid network slug provided — may return no results or error
- Query string too long (over 120 chars) or empty — schema validation error
- Rate limiting or upstream GeckoTerminal unavailability — service error
- Contract address malformed or not indexed — returns empty results

## How this service works

Search on-chain DEX liquidity pools by token name, symbol, or address (via GeckoTerminal, free/keyless). Optionally scope to one network. Returns matching pools with pair name, USD price, FDV, market cap, reserve, 24h volume + price change, and buys/sells — the fast way to find the right pool/token before pulling OHLCV or token info.

## Output

A list of matching DEX liquidity pools with pair name, current USD price, FDV, market cap, liquidity reserve, 24-hour volume, 24-hour price change percentage, and the number of buys and sells — sourced via GeckoTerminal with no API key required.

## 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": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "query": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1,
       "description": "Token name, symbol, or contract address."
      },
      "network": {
       "type": "string",
       "maxLength": 40,
       "description": "Optional network slug to scope the search."
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-dex-liquidity-pool-search-c98bb201/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)
