# CoinGecko — Top Pools by DEX

Get CoinGecko top pools for a network and DEX via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, configure supported query parameters and filters, and retrieve structured data including pool display name for dex pool explorers, and activity comparison, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/coingecko/coingecko-top-pools-by-dex/418c35f1-e6ff-4c96-9e7e-59c8de86f222/
API ID: 418c35f1-e6ff-4c96-9e7e-59c8de86f222
Provider: CoinGecko
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/onchain/networks/{network}/dexes/{dex}/pools
Page update time: 2026-12-03T02:49:15.916Z
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:15.426Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## CoinGecko Top Pools by DEX API

Pass network and dex in the path. The response contains pool records with reported prices, reserves, volume and transaction counts. sort defaults to h24\_tx\_count\_desc and also accepts h24\_volume\_usd\_desc; include can request base\_token, quote\_token and dex resources.

## What You Can Build

- **DEX pool explorers**: List pools within one network-specific exchange.
- **Activity comparison**: Compare pool volume and transaction counts with their observation context.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data[].attributes.address` | Returned pool address or pool identifier |
| `data[].attributes.name` | Pool display name |
| `data[].attributes.reserve_in_usd` | Reported reserve value in USD |
| `data[].attributes.volume_usd.h24` | Reported 24-hour pool volume in USD |
| `data[].attributes.transactions.h24.buys` | Reported 24-hour buy transaction count |
| `data[].attributes.transactions.h24.sells` | Reported 24-hour sell transaction count |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinGecko — Top Pools by DEX 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)."
        },
        "dex": {
          "type": "string",
          "description": "DEX ID. \n*refers to [`/onchain/networks/{network}/dexes`](/reference/dexes-list)."
        }
      },
      "required": [
        "network",
        "dex"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "include": {
          "type": "string",
          "description": "Attributes to include, comma-separated if more than one. \nAvailable values: `base_token`, `quote_token`, `dex`"
        },
        "page": {
          "type": "integer",
          "description": "Page through results. \nDefault value: 1"
        },
        "sort": {
          "type": "string",
          "description": "Sort the pools by field. \nDefault: `h24_tx_count_desc`",
          "enum": [
            "h24_tx_count_desc",
            "h24_volume_usd_desc"
          ]
        },
        "include_gt_community_data": {
          "type": "boolean",
          "description": "Include GeckoTerminal community data (sentiment votes, suspicious reports). \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": {
              "address": {
                "type": "string"
              },
              "base_token_price_native_currency": {
                "type": "string"
              },
              "base_token_price_quote_token": {
                "type": "string"
              },
              "base_token_price_usd": {
                "type": "string"
              },
              "community_sus_report": {
                "type": "integer"
              },
              "fdv_usd": {
                "type": "string"
              },
              "market_cap_usd": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "pool_created_at": {
                "type": "string"
              },
              "price_change_percentage": {
                "type": "object",
                "properties": {
                  "h1": {
                    "type": "string"
                  },
                  "h24": {
                    "type": "string"
                  },
                  "h6": {
                    "type": "string"
                  },
                  "m15": {
                    "type": "string"
                  },
                  "m30": {
                    "type": "string"
                  },
                  "m5": {
                    "type": "string"
                  }
                }
              },
              "quote_token_price_base_token": {
                "type": "string"
              },
              "quote_token_price_native_currency": {
                "type": "string"
              },
              "quote_token_price_usd": {
                "type": "string"
              },
              "reserve_in_usd": {
                "type": "string"
              },
              "sentiment_vote_negative_percentage": {
                "type": "integer"
              },
              "sentiment_vote_positive_percentage": {
                "type": "integer"
              },
              "transactions": {
                "type": "object",
                "properties": {
                  "h1": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "h24": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "h6": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "m15": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "m30": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  },
                  "m5": {
                    "type": "object",
                    "properties": {
                      "buyers": {
                        "type": "integer"
                      },
                      "buys": {
                        "type": "integer"
                      },
                      "sellers": {
                        "type": "integer"
                      },
                      "sells": {
                        "type": "integer"
                      }
                    }
                  }
                }
              },
              "volume_usd": {
                "type": "object",
                "properties": {
                  "h1": {
                    "type": "string"
                  },
                  "h24": {
                    "type": "string"
                  },
                  "h6": {
                    "type": "string"
                  },
                  "m15": {
                    "type": "string"
                  },
                  "m30": {
                    "type": "string"
                  },
                  "m5": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "id": {
            "type": "string"
          },
          "relationships": {
            "type": "object",
            "properties": {
              "base_token": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "dex": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "quote_token": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "included": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "attributes": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string"
              },
              "coingecko_coin_id": {
                "type": "string"
              },
              "decimals": {
                "type": "integer"
              },
              "image_url": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "symbol": {
                "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/api/v3/onchain/networks/eth/dexes/sushiswap/pools' \
  -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": {
        "address": "0x6469b34a2a4723163c4902dbbdea728d20693c12",
        "base_token_price_native_currency": "0.00122586914090918",
        "base_token_price_quote_token": "0.001225869141",
        "base_token_price_usd": "2.53037158380141",
        "community_sus_report": 0,
        "fdv_usd": "8774304.71122981",
        "market_cap_usd": "8774304.71122981",
        "name": "NEAR / WETH",
        "pool_created_at": "2021-10-11T01:52:05Z",
        "price_change_percentage": {
          "h1": "0.428",
          "h24": "-12.097",
          "h6": "-0.885",
          "m15": "0",
          "m30": "0.049",
          "m5": "0"
        },
        "quote_token_price_base_token": "815.74775531",
        "quote_token_price_native_currency": "1.0",
        "quote_token_price_usd": "2062.57293793663",
        "reserve_in_usd": "54784.7204",
        "sentiment_vote_negative_percentage": 0,
        "sentiment_vote_positive_percentage": 0,
        "transactions": {
          "h1": {
            "buyers": 2,
            "buys": 6,
            "sellers": 3,
            "sells": 4
          },
          "h24": {
            "buyers": 62,
            "buys": 172,
            "sellers": 55,
            "sells": 180
          },
          "h6": {
            "buyers": 24,
            "buys": 39,
            "sellers": 16,
            "sells": 37
          },
          "m15": {
            "buyers": 0,
            "buys": 0,
            "sellers": 0,
            "sells": 0
          },
          "m30": {
            "buyers": 1,
            "buys": 1,
            "sellers": 2,
            "sells": 2
          },
          "m5": {
            "buyers": 0,
            "buys": 0,
            "sellers": 0,
            "sells": 0
          }
        },
        "volume_usd": {
          "h1": "572.0025141642",
          "h24": "38207.6214949268",
          "h6": "7298.4165779336",
          "m15": "0.0",
          "m30": "215.04729883",
          "m5": "0.0"
        }
      },
      "id": "eth_0x6469b34a2a4723163c4902dbbdea728d20693c12",
      "relationships": {
        "base_token": {
          "data": {
            "id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
            "type": "token"
          }
        },
        "dex": {
          "data": {
            "id": "sushiswap",
            "type": "dex"
          }
        },
        "quote_token": {
          "data": {
            "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
            "type": "token"
          }
        }
      },
      "type": "pool"
    }
  ],
  "included": [
    {
      "attributes": {
        "address": "0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
        "coingecko_coin_id": "rainbow-bridged-near-ethereum",
        "decimals": 24,
        "image_url": "https://coin-images.coingecko.com/coins/images/71681/large/near.png?1768905174",
        "name": "NEAR",
        "symbol": "NEAR"
      },
      "id": "eth_0x85f17cf997934a597031b2e18a9ab6ebd4b9f6a4",
      "type": "token"
    },
    {
      "attributes": {
        "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "coingecko_coin_id": "weth",
        "decimals": 18,
        "image_url": "https://coin-images.coingecko.com/coins/images/2518/large/weth.png?1696503332",
        "name": "Wrapped Ether",
        "symbol": "WETH"
      },
      "id": "eth_0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
      "type": "token"
    },
    {
      "attributes": {
        "name": "SushiSwap"
      },
      "id": "sushiswap",
      "type": "dex"
    }
  ]
}
```

## 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
### Which DEX identifier should I use?
Use a DEX ID available on the chosen network. The path identifies the network and DEX together.

### Which sorting values are supported?
Use h24_tx_count_desc, the default, or h24_volume_usd_desc. This route does not expose the token-pool liquidity sort.

### Can I set the page size?
This selected implementation exposes page but no per_page or limit parameter.

### Does this request execute trades?
It reads reported pool data. It does not submit swaps or orders.

### 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: https://openany.si/coingecko/coingecko-top-pools-by-dex/418c35f1-e6ff-4c96-9e7e-59c8de86f222/

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