# CoinGecko Onchain Pool Trades

> CoinGecko Onchain Pool Trades is a paid API for AI agents from stablecrypto.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the last 24 hours of trade activity for a specific liquidity pool on a given blockchain network

## Facts

- Endpoint: POST https://stablecrypto.dev/api/coingecko/onchain/pool/trades
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coingecko-onchain-pool-trades-9f64d2c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M5SL1SP4JcMTRcOFqm4kf

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-pool-trades-9f64d2c7 -d '<json body>'
```

Example prompt: Pull the last 24 hours of trades for the pool at address 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 on the Ethereum network, and only show me trades with a volume greater than $5000.

## When to prefer this

Use this endpoint when you need recent (last 24h) swap/trade activity for a specific liquidity pool identified by its contract address on a particular blockchain network. Ideal for DeFi analytics, monitoring pool activity, detecting large trades, or building trading dashboards. Prefer this over general token price endpoints when you need granular per-trade data rather than aggregate price or volume summaries.

## Known failure modes

- Invalid or unknown pool contract address returns empty data array
- Unsupported or misspelled network ID may return an error or empty results
- Pool with no trades in last 24h returns empty data array
- Invalid page number returns no results or error
- Missing required fields (network or address) returns a validation error
- Network congestion or CoinGecko API unavailability results in a 5xx error

## How this service works

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

## Output

An array of trade objects representing swaps executed in the specified liquidity pool over the last 24 hours. Each trade record contains details such as token amounts, trade value in USD, timestamps, and transaction identifiers. Results can be paginated and filtered by minimum USD volume.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-onchain-pool-trades-9f64d2c7/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)
