# CoinGecko — Trades by Pool Address

Get on-chain pool trades via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Coingecko-extra, configure supported query parameters and filters, and retrieve structured data including transaction hash, reported block timestamp, and reported anomaly indicator for trade activity views, and filtered inspection, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/coingecko/coingecko-trades-by-pool-address/42620a60-6978-45a9-9e09-90df026f69c9/
API ID: 42620a60-6978-45a9-9e09-90df026f69c9
Provider: coingecko-extra
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/onchain/networks/{network}/pools/{pool_address}/trades
Page update time: 2026-12-03T02:49:12.679Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:12.039Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## CoinGecko Pool Trades API

Pass network and pool\_address to receive trade records under data. trade\_volume\_in\_usd\_greater\_than applies a strict USD-volume threshold; token selects base, quote or a token address, and include\_anomalous controls inclusion of flagged trades.

## What You Can Build

- **Trade activity views**: Show reported transaction hashes and amounts for one pool.
- **Filtered inspection**: Inspect trades above a selected USD threshold and retain anomaly flags.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data[].attributes.tx_hash` | Transaction hash |
| `data[].attributes.block_timestamp` | Reported block timestamp |
| `data[].attributes.kind` | Reported buy or sell classification |
| `data[].attributes.from_token_amount` | Amount of the source token |
| `data[].attributes.to_token_amount` | Amount of the destination token |
| `data[].attributes.volume_in_usd` | Reported trade value in USD |
| `data[].attributes.is_anomalous` | Reported anomaly indicator |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinGecko — Trades by Pool Address request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "network": {
          "type": "string",
          "description": "Network ID. \n*refers to [`/onchain/networks`](/reference/networks-list)."
        },
        "pool_address": {
          "type": "string",
          "description": "Pool contract address."
        }
      },
      "required": [
        "network",
        "pool_address"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "trade_volume_in_usd_greater_than": {
          "type": "number",
          "description": "Filter trades by trade volume in USD greater than this value. \nDefault value: 0"
        },
        "token": {
          "type": "string",
          "description": "Return trades for token, use this to invert the chart. \nAvailable values: `base`, `quote`, or token address. \nDefault: `base`"
        },
        "include_anomalous": {
          "type": "boolean",
          "description": "Include trades flagged as anomalous. \nDefault: `false`"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "attributes": {
            "type": "object",
            "properties": {
              "block_number": {
                "type": "integer"
              },
              "block_timestamp": {
                "type": "string"
              },
              "from_token_address": {
                "type": "string"
              },
              "from_token_amount": {
                "type": "string"
              },
              "is_anomalous": {
                "type": "boolean"
              },
              "kind": {
                "type": "string"
              },
              "price_from_in_currency_token": {
                "type": "string"
              },
              "price_from_in_usd": {
                "type": "string"
              },
              "price_to_in_currency_token": {
                "type": "string"
              },
              "price_to_in_usd": {
                "type": "string"
              },
              "to_token_address": {
                "type": "string"
              },
              "to_token_amount": {
                "type": "string"
              },
              "tx_from_address": {
                "type": "string"
              },
              "tx_hash": {
                "type": "string"
              },
              "volume_in_usd": {
                "type": "string"
              }
            }
          },
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official response / contract request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/onchain/networks/eth/pools/0x06da0fd433c1a5d7a4faa01111c044910a184553/trades' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "data": [
    {
      "attributes": {
        "block_number": 25191329,
        "block_timestamp": "2026-05-28T04:04:11Z",
        "from_token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "from_token_amount": "0.106968578509495",
        "is_anomalous": false,
        "kind": "buy",
        "price_from_in_currency_token": "1.0",
        "price_from_in_usd": "1976.18881048696",
        "price_to_in_currency_token": "0.000506164643987487",
        "price_to_in_usd": "1.00027690571219",
        "to_token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
        "to_token_amount": "211.331589",
        "tx_from_address": "0x0b0d1579b739b1996d28c53c4ff11e2c541a1188",
        "tx_hash": "0x90a746e28f4db27b2595b8ac55ef999914ed09453d5924b1424b2c050fd053c3",
        "volume_in_usd": "211.39010792416"
      },
      "id": "eth_25191329_0x90a746e28f4db27b2595b8ac55ef999914ed09453d5924b1424b2c050fd053c3_99_1779941075",
      "type": "trade"
    },
    {
      "attributes": {
        "block_number": 25191103,
        "block_timestamp": "2026-05-28T03:18:47Z",
        "from_token_address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
        "from_token_amount": "192.459164",
        "is_anomalous": false,
        "kind": "sell",
        "price_from_in_currency_token": "0.000500956977874636",
        "price_from_in_usd": "0.992388076121959",
        "price_to_in_currency_token": "1.0",
        "price_to_in_usd": "1980.98463531194",
        "to_token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "to_token_amount": "0.096413761161719",
        "tx_from_address": "0x39b9a705f5aa2fdf315bf5cc8ecd71dc821f45b1",
        "tx_hash": "0x8c7d19881344e94e69f69f44a3910a32183652b84156537ec23313bfa01ff054",
        "volume_in_usd": "190.994179494001"
      },
      "id": "eth_25191103_0x8c7d19881344e94e69f69f44a3910a32183652b84156537ec23313bfa01ff054_804_1779938350",
      "type": "trade"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does this endpoint place a swap?
No. It retrieves reported pool trade data and does not execute swaps or submit transactions.

### Is the volume threshold inclusive?
The parameter filters for trades greater than the supplied USD value. Keep it distinct from the raw token amounts.

### What values can token take?
Use base, quote or a token address to choose the token perspective. The documented default is base.

### Can I use page or a historical start time?
The current selected contract exposes the volume threshold, token and anomaly options, but no page or historical-time parameters. Do not assume a complete historical export.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- coingecko-extra: https://openany.si/coingecko/coingecko-trades-by-pool-address/42620a60-6978-45a9-9e09-90df026f69c9/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
