# GeckoTerminal On-Chain DEX Scraper - Trending Pools & Prices (`ninhothedev/geckoterminal-scraper`) Actor

$0.5/1K 🔥 Fast GeckoTerminal on-chain scraper! Trending & new DEX pools on 100+ networks — price, volume, liquidity & change. No key. JSON, CSV, Excel or API in seconds. Pull thousands of pools for DeFi trading & token discovery ⚡

- **URL**: https://apify.com/ninhothedev/geckoterminal-scraper.md
- **Developed by:** [ninhothedev](https://apify.com/ninhothedev) (community)
- **Categories:** Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## GeckoTerminal On-Chain DEX Scraper 🦎📈

Scrape real-time **on-chain DEX data from [GeckoTerminal](https://www.geckoterminal.com/)** across **100+ blockchains** — trending pools, new pools, token prices, 24h volume, liquidity, FDV, market cap and buy/sell counts. **No API key, no login, no proxy required.** Fast, cheap and datacenter-friendly.

> Built for DeFi traders, alpha hunters, trading bots and on-chain analysts who need clean, structured pool data without babysitting a scraper.

***

### 💡 Why this actor?

- ⚡ **Fast & cheap** — hits GeckoTerminal's clean JSON:API directly. Runs on datacenter IPs (no residential proxy needed).
- 🌍 **100+ networks** — Ethereum, Solana, Base, BSC, Arbitrum, Polygon, Avalanche, and dozens more.
- 🔥 **Trending discovery** — surface hot pools per chain or globally to catch momentum early.
- 🆕 **New pool sniping** — pull freshly created pools for launch monitoring.
- 🔎 **Search** — find every pool for a token by name, symbol or contract address.
- 🧱 **Structured output** — every field normalized (numeric strings coerced to floats, timestamps to ISO-8601), all nullable.

### 💸 Pricing

Priced to **undercut** the crowd: about **$0.50 per 1,000 pools** — one of the cheapest on-chain DEX feeds on Apify. Run it every few minutes for a live dashboard and still pay pennies.

***

### 🚀 Use cases

- **DeFi trading & alpha** — monitor trending pools and volume spikes across chains.
- **Trending token discovery** — spot momentum tokens before they hit the mainstream.
- **On-chain analytics** — build dashboards of liquidity, FDV, market cap and trade flow.
- **Trading bots** — feed clean price/volume/liquidity data into automated strategies.
- **New-launch monitoring** — track newly created pools for sniping and rug-risk screening.

***

### ⚙️ Input

| Field | Type | Description |
|-------|------|-------------|
| `mode` | select | `trending` (default), `new`, or `search`. |
| `networks` | array | Network slugs for `trending`/`new`, e.g. `eth`, `solana`, `base`, `bsc`, `arbitrum`, `polygon_pos`. **Leave empty for GLOBAL** trending/new. |
| `queries` | array | Search terms (token name / symbol / address) — used only in `search` mode. |
| `maxItems` | integer | Max pool records to collect. Default `100`, max `1000`. |

#### Example: trending pools on Ethereum, Solana & Base

```json
{
  "mode": "trending",
  "networks": ["eth", "solana", "base"],
  "maxItems": 100
}
```

#### Example: search for PEPE pools

```json
{
  "mode": "search",
  "queries": ["pepe", "wif"],
  "maxItems": 50
}
```

#### Example: global new pools

```json
{
  "mode": "new",
  "networks": [],
  "maxItems": 200
}
```

***

### 📤 Output

One dataset item per pool:

```json
{
  "network": "eth",
  "pool_id": "eth_0x76a411f14a704099ba476ce8dffc288a53295218",
  "name": "ASTEROID / WETH",
  "pool_address": "0x76a411f14a704099ba476ce8dffc288a53295218",
  "base_price_usd": 6.38e-05,
  "quote_price_usd": 1860.73,
  "volume_h24": 631570.69,
  "price_change_h24": 9.948,
  "price_change_h1": 1.402,
  "reserve_usd": 1780217.51,
  "fdv_usd": 26848314.97,
  "market_cap_usd": 26849041.16,
  "txns_h24_buys": 451,
  "txns_h24_sells": 486,
  "dex": "uniswap_v2",
  "created_at": "2024-09-10T10:18:23+00:00",
  "scraped_at": "2026-07-16T12:00:00+00:00"
}
```

Export to **JSON, CSV, Excel, HTML or via API** — Apify handles all formats.

***

### 🆚 Comparison

| | GeckoTerminal On-Chain DEX Scraper | Manual API scripts | GeckoTerminal website |
|---|---|---|---|
| API key needed | ❌ No | ❌ No | — |
| Proxy needed | ❌ No (datacenter OK) | Depends | — |
| 100+ chains | ✅ | Manual | ✅ |
| Structured export (CSV/JSON/Excel) | ✅ | ❌ | ❌ |
| Trending + New + Search | ✅ | Build it yourself | Browse only |
| Scheduling & bot integration | ✅ (Apify) | ❌ | ❌ |

***

### 🔗 Related actors by the same author

Combine on-chain and CEX data for the full picture:

- [DEX Screener Scraper](https://apify.com/ninhothedev/dexscreener-scraper) — pairs, prices & liquidity from DEX Screener.
- [CoinGecko Crypto Scraper](https://apify.com/ninhothedev/coingecko-crypto-scraper) — coin prices, market caps & rankings.
- [Binance Crypto Scraper](https://apify.com/ninhothedev/binance-crypto-scraper) — CEX tickers, order books & klines.
- [Blockchain.info Scraper](https://apify.com/ninhothedev/blockchain-info-scraper) — on-chain BTC addresses & transactions.

***

### 🔑 Keywords

geckoterminal scraper, on-chain dex scraper, defi data api, trending pools, crypto pool scraper, token price scraper, dex liquidity, solana dex data, ethereum dex pools, base chain scraper, bsc pools, crypto trading bot data, new pool sniper, fdv market cap scraper, on-chain analytics, defi trading data.

***

### ❓ FAQ

**Do I need a GeckoTerminal API key?** No. The public JSON:API is used — no key, no login.

**Which networks are supported?** Any GeckoTerminal network slug (100+), e.g. `eth`, `solana`, `base`, `bsc`, `arbitrum`, `polygon_pos`, `avax`.

**How fresh is the data?** Live at run time. Schedule the actor (e.g. every 5 minutes) for a near-real-time feed.

**Is it rate-limited?** The free tier allows ~30 calls/min; the actor paces requests automatically.

***

*Not affiliated with GeckoTerminal or CoinGecko. Data is scraped from publicly available endpoints for informational purposes only — not financial advice.*

# Actor input Schema

## `mode` (type: `string`):

What to scrape. 'trending' = trending pools per network (empty Networks = global trending). 'new' = newly created pools per network. 'search' = search pools by the Queries below.

## `networks` (type: `array`):

Network slugs to scrape for 'trending' / 'new' modes, e.g. eth, solana, base, bsc, arbitrum, polygon\_pos. Leave EMPTY to fetch GLOBAL trending/new pools across all chains. Ignored in 'search' mode.

## `queries` (type: `array`):

Search terms (token name, symbol or address) used only in 'search' mode, e.g. pepe, wif, 0x... . Each query returns its matching pools.

## `maxItems` (type: `integer`):

Maximum number of pool records to collect across all networks/queries. Default 100, hard cap 1000.

## Actor input object example

```json
{
  "mode": "trending",
  "networks": [
    "eth",
    "solana",
    "base"
  ],
  "queries": [
    "pepe"
  ],
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "networks": [
        "eth",
        "solana",
        "base"
    ],
    "queries": [
        "pepe"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/geckoterminal-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "networks": [
        "eth",
        "solana",
        "base",
    ],
    "queries": ["pepe"],
}

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/geckoterminal-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "networks": [
    "eth",
    "solana",
    "base"
  ],
  "queries": [
    "pepe"
  ]
}' |
apify call ninhothedev/geckoterminal-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ninhothedev/geckoterminal-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/TXFs5awo9cEQ0OQyv/builds/fLTbWzg93Oi9ipX2d/openapi.json
