# Multichain Dex Token Scraper (`rejoiceful_pampasgrass/multichain-dex-token-scraper`) Actor

- **URL**: https://apify.com/rejoiceful_pampasgrass/multichain-dex-token-scraper.md
- **Developed by:** [douglas picoli](https://apify.com/rejoiceful_pampasgrass) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.89 / 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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## ⚡ Multi-Chain DEX Token Scanner & Order Flow Tracker

High-speed, multi-chain market intelligence actor designed to scan, filter, and extract real-time data from top decentralized exchanges across **Solana, Base, Ethereum, BNB Chain (BSC), Arbitrum, Polygon, Avalanche, and Pump.fun**.

Extract clean, structured datasets containing live prices, liquidity depth, 24h buy/sell ratios, net order flow imbalances, market caps, community links (Twitter/X, Telegram, Discord), and **heuristic risk indicators** in sub-second API executions without heavy headless browser overhead.

***

> ⚠️ **Disclaimer: Not Financial Advice (NFA)**\
> All cryptocurrency and memecoin trading carries substantial financial risk. The heuristic scores, sentiment signals, and order flow indicators generated by this actor are purely algorithmic estimates based on public DEX liquidity pool metrics. They do **NOT** constitute smart contract security audits (such as mint/freeze authority or LP lock status) nor financial recommendations. Always Conduct Your Own Research (DYOR).

***

### 🌐 Supported Blockchains & DEX Platforms

| Blockchain Network | Native Gas Asset | Key DEXes Monitored |
| :--- | :--- | :--- |
| **🟣 Solana** | SOL | Raydium, Pump.fun (Bonding & Pumpswap), Meteora DLMM, Orca |
| **🔵 Base** | ETH | Aerodrome Finance, Uniswap V2/V3 |
| **🔷 Ethereum** | ETH | Uniswap V2/V3, SushiSwap |
| **🟡 BNB Chain (BSC)**| BNB | PancakeSwap V2/V3 |
| **🔹 Arbitrum** | ETH | Uniswap, Camelot, SushiSwap |
| **🟣 Polygon** | POL / MATIC | QuickSwap, Uniswap |
| **🔺 Avalanche** | AVAX | Trader Joe |

***

### 💡 Key Features & Architecture

- **True Multi-Chain Flexibility**: Filter by a specific network (e.g., `solana`, `base`, `bsc`) or select `all` for cross-chain market intelligence.
- **Heuristic Risk Scoring (0–100)**: Transparent algorithmic risk model analyzing liquidity-to-FDV ratio, abnormal volume-to-liquidity spikes (potential wash-trading), buy/sell pressure imbalance, pool age, and DEX listing metadata.
- **Large Order Flow & Net Volume Signal**: Calculates net capital flow (`netVolumeFlowUsd`) and average trade sizes (`avgTradeSizeUsd`) to identify momentum and institutional order flow without needing expensive on-chain RPC indexers.
- **Dual Data Layout (Excel & CSV Optimized)**: Every record features flat, human-readable formatted columns (`$1.53M`, `$115.70K`) placed first for clean exports into **Excel and Google Sheets**, alongside raw numerical values for algorithmic trading bots and python scripts.
- **Cross-Chain Explorer & Swap Links**: Automatically generates tailored links for each blockchain:
  - **Explorers**: Solscan, Basescan, Etherscan, Bscscan, Arbiscan, Polygonscan, Snowtrace.
  - **Swaps**: Raydium, Uniswap, PancakeSwap, Aerodrome, Trader Joe.
  - **Terminals**: Photon (Solana & Base) and DexScreener.
- **Pump.fun Lifecycle Tracking**: For Solana tokens, automatically detects Pump.fun tokens and flags whether they remain on the bonding curve or have successfully graduated to Raydium.
- **Social & Community Links**: Extracts attached Twitter/X, Telegram, Discord, and official website URLs directly from pool metadata.

***

### 🎯 Primary Use Cases

- **Cross-Chain Trading Bots & Snipers**: Ingest ultra-low latency pool data across Solana, Base, and BSC directly into your execution pipelines.
- **AI & Sentiment Research**: Feed clean historical price variations, volume flows, and sentiment ratios into predictive models.
- **Alpha Channels & Alert Bots**: Automatically monitor newly trending pairs, volume surges, and net buy momentum across multiple chains.
- **Spreadsheet Analysts**: Export ready-to-read Excel/CSV sheets with pre-formatted currency numbers and clear risk badges.

***

### ⚙️ Input Configuration

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `network` | String | `all` | Blockchain network: `all` (multi-chain), `solana`, `base`, `ethereum`, `bsc`, `arbitrum`, `polygon`, or `avalanche` |
| `mode` | String | `trending` | Discovery mode: `trending` (active tokens), `search` (keyword search), or `specific_tokens` |
| `searchQuery` | String | `PEPE` | Keyword, token symbol, or theme (used when mode is `search`) |
| `tokenAddresses` | Array | `[]` | List of specific token contract/mint addresses to scan |
| `minLiquidityUsd` | Number | `1000` | Minimum pool liquidity in USD (filters low-liquidity traps) |
| `min24hVolumeUsd` | Number | `5000` | Minimum 24h trading volume |
| `minMarketCapUsd` | Number | `10000` | Minimum Market Cap / FDV |
| `dexFilter` | String | `all` | Filter by `all`, `uniswap`, `raydium`, `pumpfun`, `pancakeswap`, `aerodrome`, `meteora`, `orca`, or `traderjoe` |
| `onlySafeTokens` | Boolean | `false` | When enabled, excludes pairs flagged with `ELEVATED` heuristic risk |
| `maxItems` | Number | `50` | Maximum number of tokens to return (up to 300 per run) |

***

### 📊 Sample Output (Flat & Tabular Ready)

```json
{
  "symbol": "VIRTUAL",
  "name": "Virtual Protocol",
  "tokenAddress": "0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b",
  "network": "base",
  "networkName": "Base",
  "quoteToken": "ETH",
  "dexPlatform": "aerodrome",
  "dex": "aerodrome",
  "priceUsd": 1.482,
  "priceUsdFormatted": "$1.48",
  "priceChange24hPct": 18.42,
  "priceChange1hPct": 2.15,
  "priceChange5mPct": 0.41,
  "priceChange6hPct": 7.80,
  "marketCapUsd": 1482000000,
  "marketCapFormatted": "$1.48B",
  "liquidityUsd": 24850000.50,
  "liquidityFormatted": "$24.85M",
  "volume24hUsd": 45120000.00,
  "volume24hFormatted": "$45.12M",
  "heuristicRiskScore": 90,
  "heuristicRiskLevel": "LOW",
  "riskAssessment": "🟢 LOW RISK (HEURISTIC)",
  "riskWarnings": "None",
  "positiveSignals": "Healthy liquidity pool depth (> 10% of FDV) | Established trading pair (> 3 days active) | Social community links attached to pool",
  "sentimentSignal": "🟢 BULLISH",
  "buyRatioPct": 61.8,
  "netVolumeFlowUsd": 10650000.00,
  "netVolumeFlowFormatted": "$10.65M",
  "avgTradeSizeUsd": 842.15,
  "avgTradeSizeFormatted": "$842.15",
  "largeOrderFlowDetected": true,
  "totalTransactions24h": 53576,
  "buys24h": 33110,
  "sells24h": 20466,
  "ageText": "120d ago",
  "ageHours": 2880,
  "pairCreatedAt": "2024-06-25T10:00:00.000Z",
  "website": "https://virtuals.io",
  "twitter": "https://x.com/virtuals_io",
  "telegram": "https://t.me/virtuals_io",
  "discord": null,
  "dexScreenerUrl": "https://dexscreener.com/base/0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b",
  "swapUrl": "https://app.uniswap.org/#/swap?outputCurrency=0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b&chain=base",
  "explorerUrl": "https://basescan.org/token/0x0b3e328455c4059eeb9e3f84b5543f74e24e7e1b",
  "photonUrl": "https://photon-base.tinyastro.io/en/lp/0x3a9926d24f0c8e312f36f98ef477e07662c5b367",
  "solscanUrl": null,
  "disclaimer": "DEX pool heuristic estimate. Not financial advice or security audit. DYOR.",
  "pairAddress": "0x3a9926d24f0c8e312f36f98ef477e07662c5b367",
  "scrapedAt": "2026-10-25T14:35:00.000Z"
}
```

***

### 💰 Apify Store Monetization & Pricing

- **Monetization Model**: Pay-Per-Event (`apify-default-dataset-item`)
- **Recommended Price**: **$1.89 per 1,000 dataset results**
- **Ultra-Low Compute Footprint**: Runs in **128 MB RAM** without browser overhead, completing standard runs in 2 to 5 seconds.

# Actor input Schema

## `network` (type: `string`):

Select the blockchain network to scan, or select 'All Networks' for multi-chain discovery.

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

Choose how to find tokens: trending tokens, keyword search, or specific contract addresses.

## `searchQuery` (type: `string`):

Keyword, symbol, or theme to search across DEX pairs (used when mode is 'search').

## `tokenAddresses` (type: `array`):

List of token contract/mint addresses to analyze (used when mode is 'specific_tokens').

## `minLiquidityUsd` (type: `integer`):

Exclude tokens with total pool liquidity lower than this amount (filters low-liquidity traps).

## `min24hVolumeUsd` (type: `integer`):

Filter tokens with active trading volume in the last 24 hours.

## `minMarketCapUsd` (type: `integer`):

Filter by minimum fully diluted valuation.

## `dexFilter` (type: `string`):

Filter pairs by decentralized exchange platform.

## `onlySafeTokens` (type: `boolean`):

If enabled, automatically filters out pairs flagged with ELEVATED risk (e.g. low liquidity depth < 2% FDV or suspicious volume ratios).

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

Maximum number of tokens to return in the final dataset.

## Actor input object example

```json
{
  "network": "all",
  "mode": "trending",
  "searchQuery": "PEPE",
  "tokenAddresses": [
    "3SVjZ7BfT9FxiR49nZc7UdBmLgzRLJY7XBZDKhEFpump",
    "0x532f27101965dd16442e59d40670faf5ebb142e4"
  ],
  "minLiquidityUsd": 1000,
  "min24hVolumeUsd": 5000,
  "minMarketCapUsd": 10000,
  "dexFilter": "all",
  "onlySafeTokens": false,
  "maxItems": 50
}
```

# Actor output Schema

## `dataset` (type: `string`):

A dataset containing all multi-chain DEX tokens and heuristic risk scores.

# 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 = {
    "searchQuery": "PEPE",
    "tokenAddresses": [
        "3SVjZ7BfT9FxiR49nZc7UdBmLgzRLJY7XBZDKhEFpump",
        "0x532f27101965dd16442e59d40670faf5ebb142e4"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rejoiceful_pampasgrass/multichain-dex-token-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 = {
    "searchQuery": "PEPE",
    "tokenAddresses": [
        "3SVjZ7BfT9FxiR49nZc7UdBmLgzRLJY7XBZDKhEFpump",
        "0x532f27101965dd16442e59d40670faf5ebb142e4",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("rejoiceful_pampasgrass/multichain-dex-token-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 '{
  "searchQuery": "PEPE",
  "tokenAddresses": [
    "3SVjZ7BfT9FxiR49nZc7UdBmLgzRLJY7XBZDKhEFpump",
    "0x532f27101965dd16442e59d40670faf5ebb142e4"
  ]
}' |
apify call rejoiceful_pampasgrass/multichain-dex-token-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rejoiceful_pampasgrass/multichain-dex-token-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/glZAKTgCwhgQ61aXd/builds/6ifofsoD8bVYbm2XE/openapi.json
