# CoinGecko On-Chain Top Pools by Network

> CoinGecko On-Chain Top Pools by Network is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the top liquidity pools on a specified blockchain network, with optional sorting and pagination

## Facts

- Endpoint: POST https://stablecrypto.dev/api/coingecko/onchain/network/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/coingecko-on-chain-top-pools-by-network-bc3560d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6hsoSOh7wNIEmUcLYGGkm

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 coingecko-on-chain-top-pools-by-network-bc3560d1 -d '<json body>'
```

Example prompt: Show me the top pools on the Ethereum network sorted by 24-hour transaction count, page 1.

## When to prefer this

Use this endpoint when you need to discover or rank liquidity pools on a specific blockchain network by activity metrics like 24h transaction count or volume. Prefer this over token price endpoints when the goal is to analyze DEX pool performance rather than individual token prices. Best suited for DeFi analytics, yield farming research, or identifying active trading venues on a given chain.

## Known failure modes

- Missing required 'network' field returns a validation error
- Invalid or unsupported network ID returns empty data or an error
- Invalid sort field string may return unsorted or error response
- Page number out of range returns empty data array
- Service downtime or CoinGecko API rate limit causes upstream failure

## How this service works

Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.

## Output

An array of pool objects for the specified network, each containing pool metadata such as name, address, token pairs, volume, liquidity, and transaction statistics. Results can be sorted (e.g. by h24_tx_count_desc) and paginated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "page": {
   "type": "number"
  },
  "sort": {
   "type": "string",
   "description": "Sort field (e.g. \"h24_tx_count_desc\")"
  },
  "include": {
   "type": "string"
  },
  "network": {
   "type": "string",
   "description": "Network ID"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-on-chain-top-pools-by-network-bc3560d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablecrypto.dev](https://www.zero.xyz/host/stablecrypto.dev/llms.txt)
