# CoinGecko Onchain DEX Pool Search

> CoinGecko Onchain DEX Pool Search is a paid API for AI agents from pro-api.coingecko.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Search onchain DEX liquidity pools and tokens by contract address, name, or symbol across supported blockchain networks.

## Facts

- Endpoint: GET https://pro-api.coingecko.com/api/v3/x402/onchain/search/pools
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pro-api-coingecko-com-1f8b6a6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G_2u-f7LCydHm72TOErpn

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 pro-api-coingecko-com-1f8b6a6f
```

Example prompt: Search CoinGecko's onchain DEX data for all liquidity pools related to 'PEPE' on the Ethereum network — show me the first page of results.

## When to prefer this

Use this endpoint when you need to discover which DEX pools exist for a given token or contract address, especially for newer or less prominent tokens not easily found via centralized exchange APIs. Ideal for DeFi research, liquidity analysis, or finding where a specific token is traded onchain.

## Known failure modes

- Empty results if no pools match the query string
- Invalid network parameter returns error or empty response
- Missing required query parameter returns 400 bad request
- Rate limit exceeded returns 429 error
- Invalid contract address format returns no results

## How this service works

Search onchain DEX pools and token, by contract address, name, or token symbol.

## Output

Returns a list of onchain DEX pools and tokens matching the search query, including pool addresses, associated tokens, network, DEX platform, liquidity, volume, and price data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "page": {
       "type": "integer"
      },
      "query": {
       "type": "string"
      },
      "include": {
       "type": "string"
      },
      "network": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pro-api-coingecko-com-1f8b6a6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pro-api.coingecko.com](https://www.zero.xyz/host/pro-api.coingecko.com/llms.txt)
