# CoinGecko Onchain Network DEXes

> CoinGecko Onchain Network DEXes 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 a list of decentralized exchanges (DEXes) operating on a specified blockchain network, sourced from CoinGecko's onchain data.

## Facts

- Endpoint: POST https://stablecrypto.dev/api/coingecko/onchain/network/dexes
- 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-onchain-network-dexes-ee5b54dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xT-sqbYr4U74m-_Lb2eq0

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-onchain-network-dexes-ee5b54dd -d '<json body>'
```

Example prompt: What decentralized exchanges are available on the Ethereum network? Show me the first page of results from CoinGecko's onchain data.

## When to prefer this

Use this endpoint when you need to enumerate or discover which DEXes are active on a particular blockchain network, especially when building DeFi tooling, aggregators, or analytics that require a comprehensive list of trading venues per chain. Prefer this over general DEX search tools when you need CoinGecko's structured onchain taxonomy.

## Known failure modes

- Invalid or unsupported network ID returns empty data or error
- Missing required 'network' field causes validation error
- Invalid page number may return empty results or error
- Network with no indexed DEXes returns empty data array
- Rate limiting or payment failure returns 402 or 429 error

## How this service works

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

## Output

An array of DEX objects for the specified network, each containing metadata about the decentralized exchange such as name, identifier, and related attributes as provided by CoinGecko's onchain data layer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "page": {
   "type": "number"
  },
  "network": {
   "type": "string",
   "description": "Network ID"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-onchain-network-dexes-ee5b54dd/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)
