# DexScreener Crypto Scraper - Token Pairs, Price & Liquidity (`ninhothedev/dexscreener-scraper`) Actor

$0.5/1K 🔥 Fast DexScreener crypto scraper! Token pairs across every DEX & chain — price, liquidity, volume & 24h change. No key. JSON, CSV, Excel or API in seconds. Search tokens & pull thousands of pairs for DeFi & trading bots ⚡

- **URL**: https://apify.com/ninhothedev/dexscreener-scraper.md
- **Developed by:** [ninhothedev](https://apify.com/ninhothedev) (community)
- **Categories:** Developer tools, Automation, Integrations
- **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

## DexScreener Crypto Scraper 📈

Scrape real-time crypto trading data from **DexScreener** across every DEX and chain — **no API key, no login**. Get token pairs with **USD price**, **liquidity**, **24h/6h/1h volume**, **buy/sell counts**, **price change**, **market cap** and **FDV** in clean, structured JSON. Built for **memecoin traders**, **DeFi analysts** and **trading bots**.

> ⚡ Fast, datacenter-proxy-friendly, and priced to undercut — see pricing below.

### 💡 What you get

For every pair the Actor returns a flat, ready-to-use record:

| Field | Description |
|---|---|
| `chain` | Chain ID (e.g. `solana`, `ethereum`, `base`, `bsc`) |
| `dex` | DEX ID (e.g. `raydium`, `uniswap`, `pancakeswap`) |
| `pair_address` | Pool / pair contract address |
| `url` | DexScreener pair URL |
| `base_symbol`, `base_name`, `base_address` | Base token identity |
| `quote_symbol` | Quote token symbol |
| `price_usd`, `price_native` | Current price (USD & native) |
| `volume_h24`, `volume_h6`, `volume_h1` | Trading volume windows |
| `txns_h24_buys`, `txns_h24_sells` | 24h buy / sell transaction counts |
| `price_change_h24`, `price_change_h6`, `price_change_h1` | Price change % |
| `liquidity_usd` | Pool liquidity in USD |
| `fdv`, `market_cap` | Fully-diluted valuation & market cap |
| `created_at` | Pair creation time (ISO-8601) |
| `scraped_at` | When the row was scraped (ISO-8601) |

Every field is nullable — missing values come back as `null`, never a crash.

### 🚀 Modes

Set the `mode` input to choose how you look up pairs:

#### 1. `search` — by query

Free-text search for symbols, names or addresses. Perfect for discovery.

```json
{ "mode": "search", "queries": ["WIF", "PEPE"], "maxItems": 100 }
```

#### 2. `tokens` — by contract address

All pairs for one or more token contract addresses (batched up to 30 per request).

```json
{ "mode": "tokens", "tokenAddresses": ["0x6982508145454ce325ddbe47a25d4ec3d2311933"] }
```

#### 3. `pair` — by chain + pair address

Fetch specific pools directly.

```json
{ "mode": "pair", "chainId": "solana", "pairAddresses": ["EP2ib6dYdEeqD8MfE2ezHCxX3kP3K2eLKkirfPm5eyMx"] }
```

### 🧾 Example output

```json
{
  "chain": "solana",
  "dex": "raydium",
  "pair_address": "abc123...",
  "url": "https://dexscreener.com/solana/abc123",
  "base_symbol": "WIF",
  "base_name": "dogwifhat",
  "base_address": "So1...",
  "quote_symbol": "SOL",
  "price_usd": 2.4531,
  "price_native": 0.0091234,
  "volume_h24": 15234567.89,
  "txns_h24_buys": 1200,
  "txns_h24_sells": 980,
  "price_change_h24": -4.2,
  "liquidity_usd": 8765432.1,
  "fdv": 2450000000.0,
  "market_cap": 2450000000.0,
  "created_at": "2023-11-14T22:13:20+00:00",
  "scraped_at": "2026-07-19T20:00:00+00:00"
}
```

### 💰 Pricing

**~$0.50 per 1,000 pairs** — deliberately cheap so it's the obvious choice over pricier crypto data Actors. Pay-as-you-go, no subscription, no key management.

### 🎯 Use cases

- **Memecoin trading** — spot new Solana/Base launches by liquidity & volume spikes
- **DeFi research** — compare pools across DEXs and chains
- **Liquidity monitoring** — track `liquidity_usd` and volume trends over time
- **Trading bots** — feed structured price/volume data straight into your strategy
- **Token due diligence** — check FDV, market cap, pair age and buy/sell pressure

### 📊 Comparison

| | DexScreener Crypto Scraper | Manual DexScreener UI | Generic web scrapers |
|---|---|---|---|
| API key needed | ❌ No | ❌ No | Varies |
| Structured JSON | ✅ Yes | ❌ No | ⚠️ Fragile |
| All chains & DEXs | ✅ Yes | ✅ Yes | ⚠️ |
| Search / token / pair modes | ✅ 3 modes | Manual | ❌ |
| Price | 💚 ~$0.5/1k | Free but manual | Often pricier |

### 🔗 Related Actors

- [CoinGecko Crypto Scraper](https://apify.com/ninhothedev/coingecko-crypto-scraper)
- [Binance Crypto Scraper](https://apify.com/ninhothedev/binance-crypto-scraper)
- [GeckoTerminal Scraper](https://apify.com/ninhothedev/geckoterminal-scraper)
- [Blockchain Info Scraper](https://apify.com/ninhothedev/blockchain-info-scraper)

### 🏷️ Keywords

dexscreener scraper, crypto scraper, memecoin scraper, defi data, token price api, solana pairs, dex liquidity, trading volume, crypto trading bot, token research, uniswap raydium pancakeswap, price change, market cap fdv, no api key crypto data.

***

Not affiliated with DexScreener. Use responsibly and respect the source's terms.

# Actor input Schema

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

How to look up pairs. 'search' matches free-text queries (token symbols/names/addresses). 'tokens' returns every pair for the given token contract addresses. 'pair' fetches specific pairs by chain + pair address.

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

Used when mode = 'search'. Free-text queries such as token symbols, names or addresses. Each query returns up to 30 matching pairs.

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

Used when mode = 'tokens'. Token contract addresses (up to 30 per request are batched automatically). Returns all pairs that include each token.

## `chainId` (type: `string`):

Used when mode = 'pair'. The DexScreener chain identifier, e.g. 'solana', 'ethereum', 'base', 'bsc'.

## `pairAddresses` (type: `array`):

Used when mode = 'pair'. One or more pair (pool) addresses on the chain given in 'chainId'.

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

Maximum number of pairs to store in the dataset across all queries/tokens/pairs.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "WIF",
    "PEPE"
  ],
  "tokenAddresses": [
    "0x6982508145454ce325ddbe47a25d4ec3d2311933"
  ],
  "chainId": "solana",
  "maxItems": 100
}
```

# Actor output Schema

## `pairs` (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 = {
    "queries": [
        "WIF",
        "PEPE"
    ],
    "tokenAddresses": [
        "0x6982508145454ce325ddbe47a25d4ec3d2311933"
    ],
    "chainId": "solana"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/dexscreener-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 = {
    "queries": [
        "WIF",
        "PEPE",
    ],
    "tokenAddresses": ["0x6982508145454ce325ddbe47a25d4ec3d2311933"],
    "chainId": "solana",
}

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/dexscreener-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 '{
  "queries": [
    "WIF",
    "PEPE"
  ],
  "tokenAddresses": [
    "0x6982508145454ce325ddbe47a25d4ec3d2311933"
  ],
  "chainId": "solana"
}' |
apify call ninhothedev/dexscreener-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ninhothedev/dexscreener-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/FmJ4fLYlLxGkSQyut/builds/zEkkKVmhu67H83ZVs/openapi.json
