# DEXScreener DEX Crypto Pairs, Liquidity & Volume Scraper (`trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper`) Actor

Scrape decentralized exchange (DEX) crypto pairs across Solana, Ethereum, Base, and BSC. Extract real-time token prices, liquidity pools, 24h volume, and socials.

- **URL**: https://apify.com/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper.md
- **Developed by:** [David Sandor](https://apify.com/trusted_tech_spot) (community)
- **Categories:** Business, Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## DEXScreener DEX Crypto Pairs, Liquidity & Volume Scraper 🚀

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-orange.svg?style=flat-square)](https://apify.com/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper)
[![Pay Per Event](https://img.shields.io/badge/Pricing-Pay%20Per%20Result%20\($0.002\)-green.svg?style=flat-square)](https://apify.com/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper)
[![Zero Maintenance](https://img.shields.io/badge/Maintenance-Zero%20Maintenance-blue.svg?style=flat-square)](https://apify.com/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper)
[![RAG Ready](https://img.shields.io/badge/AI%20%2F%20RAG-Token%20Chunking%20Included-purple.svg?style=flat-square)](https://apify.com/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper)
[![v3.0 Enriched](https://img.shields.io/badge/Data%20Enrichment-v3.0%20Enterprise%20\(20%2B%20Fields\)-success.svg?style=flat-square)](https://apify.com/trusted_tech_spot)
[![Chains Supported](https://img.shields.io/badge/Ecosystems-Solana%20%7C%20Ethereum%20%7C%20Base%20%7C%20BSC%20%7C%20Arbitrum-gold.svg?style=flat-square)](https://apify.com/trusted_tech_spot)

Scrape decentralized exchange (DEX) crypto pairs across **Solana, Ethereum, Base, Binance Smart Chain (BSC), and Arbitrum**. Extract real-time token prices, liquidity pool reserves, 24h/6h/1h/5m volume, buy/sell transaction counts, market cap, fully diluted valuation (FDV), verified project socials (Twitter/X, Telegram, Discord), and proprietary DEX health & volatility metrics.

> ⚡ **Instant Web3 Data Scraper Guarantee (No API Keys or Wallet Required)**:
>
> - 🟢 **Zero-Config**: No DEXScreener API keys, RPC nodes, or crypto wallets needed.
> - 🚀 **1-Click Free Test**: Just click the green **"Save & Start"** button with the pre-filled inputs to test live DEX pairs in < 2 seconds.
> - 📊 **Instant Export**: Download token pairs and liquidity pool metrics directly to Excel (.xlsx), CSV, or JSON.
> - 🛡️ **De-Risk Trading & Sniping**: Automatically derived Buy/Sell volume ratios, Liquidity-to-FDV health flags, and price volatility alert levels.

***

<div align="center">
  <a href="https://apify.com/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper/input-schema">
    <img src="https://img.shields.io/badge/1️⃣_VIEW_INPUT_SCHEMA-CLICK_'INPUT'_TAB_ABOVE-blue?style=for-the-badge&logo=apify&logoColor=white" height="38" alt="View Input Tab" />
  </a>
  &nbsp;&nbsp;
  <a href="https://console.apify.com/actors/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper/input">
    <img src="https://img.shields.io/badge/⚡_RUN_IN_CONSOLE-START_INSTANT_TEST-brightgreen?style=for-the-badge&logo=play&logoColor=white" height="38" alt="Run Actor Free" />
  </a>
  <p><strong>⚡ 1-Click Instant Run • 🎁 Pay-Per-Event ($0.002) • 🚀 Results in &lt; 2s</strong></p>
  <p><strong>🌏 全球去中心化交易所数据采集 • 覆盖 Solana / Ethereum / Base / BSC / Arbitrum • 一键导出 Excel / CSV / JSON</strong></p>
  <p><sub>💡 <strong>Tip / 提示</strong>: Click the <strong>"Input"</strong> tab at the top of this page (or <strong>"Try for free"</strong>) to see the pre-filled 1-click form! (点击页面上方的 <strong>Input</strong> 标签页即可查看已填好的默认参数并一键运行)</sub></p>
</div>
<div align="center">
  <img src="https://img.shields.io/badge/Make.com-Ready-orange?style=flat-square&logo=make" alt="Make.com" />
  <img src="https://img.shields.io/badge/Zapier-Automated-orange?style=flat-square&logo=zapier" alt="Zapier" />
  <img src="https://img.shields.io/badge/n8n-Workflow_Ready-red?style=flat-square&logo=n8n" alt="n8n" />
  <img src="https://img.shields.io/badge/Telegram_Bot-Alerts_Ready-blue?style=flat-square&logo=telegram" alt="Telegram Bot" />
  <img src="https://img.shields.io/badge/Google_Sheets-1--Click_Sync-green?style=flat-square&logo=googlesheets" alt="Google Sheets" />
</div>

***

#### ⚡ 1-Click API Quick-Start (cURL / Python / Dify / FastGPT / Coze)

Run directly via HTTP API without opening the browser form:

```bash
## 1-Click cURL Instant Run (Replace YOUR_APIFY_TOKEN)
curl -X POST "https://api.apify.com/v2/acts/trusted_tech_spot~dexscreener-crypto-pairs-liquidity-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "queryOrToken": "SOL",
    "chainId": "ALL",
    "minLiquidityUsd": 1000,
    "maxResults": 20
  }'
```

***

#### ⚡ Ready-to-Run Input Preview (Zero Configuration Required)

You don't need to configure complex web3 infrastructure. The Actor comes completely pre-configured:

| Setting | What You Provide | Default Value (Ready to Run) | Quick Link |
| :--- | :--- | :--- | :--- |
| **Token Symbol, Name or Address** (`queryOrToken`) | Any token ticker (e.g. `SOL`, `PEPE`, `WIF`), token name, or mint/contract address | `"SOL"` | [👉 Run with Default Values](https://console.apify.com/actors/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper/input) |
| **Blockchain Network** (`chainId`) | Target ecosystem (`ALL`, `solana`, `ethereum`, `base`, `bsc`, `arbitrum`) | `"ALL"` | [👉 Select Blockchain](https://console.apify.com/actors/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper/input) |
| **Minimum Liquidity USD** (`minLiquidityUsd`) | Minimum pool reserve in USD to filter out zero-liquidity rugs | `1000` | [👉 Adjust Filter](https://console.apify.com/actors/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper/input) |
| **Max Results** (`maxResults`) | Maximum liquidity pairs to return (1-100) | `20` | [👉 Open Input Tab](https://console.apify.com/actors/trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper/input) |

***

### 🌟 Why Choose This DEXScreener Actor?

> 📊 **No-Code Instant Export**: Download your clean extracted pair data directly into **Excel (.xlsx)**, **CSV**, **JSON**, or sync directly to **Google Sheets** with 1 click right from the Apify Console dataset tab. No coding required!

- ⚡ **Cross-Chain Multi-DEX Coverage**: Harvest pairs from **Raydium, Orca, Uniswap v2/v3, Aerodrome, PancakeSwap, SushiSwap, Camelot**, and more.
- 💰 **Predictable Pay-Per-Result Pricing ($0.002)**: Only pay per result extracted. Never pay for actor startup overhead, container idle time, or cold starts.
- 🛡️ **Anti-Rug & Liquidity Health Scoring**: Automatically computes Liquidity-to-FDV ratios and flags pools with high slippage risk or predatory tokenomics.
- 📈 **Buy/Sell Volume & Pressure Ratios**: Extracts exact transaction buy vs. sell counts across 24h, 1h, and 5m intervals to detect instant accumulation or dumps.
- 🌐 **Project Socials & Web3 Metadata**: Extracts official Twitter/X handles, Telegram groups, Discord servers, and token logo image URLs.
- 🧠 **AI & RAG Ready**: Seamlessly feeds vector databases (Pinecone, Qdrant, ChromaDB) and LLM agents with pre-calculated OpenAI token counts and semantic chunking.

***

> 💡 **Web3 出海与量化交易用户快速上手 (Quick Guide for Crypto Traders & Web3 Teams)**:
>
> 1. 本工具已内置自动抗封锁与跨链协议适配，**无需配置任何 RPC 节点、代理或 Web3 钱包 (No RPC / No Wallet Needed)**。
> 2. 支持代币符号（如 `SOL`、`PEPE`、`AERO`）或代币合约地址（如 Solana Mint 地址或 EVM 0x 地址）进行精准检索。
> 3. 自动计算买卖单比例（Buy/Sell Ratio）、流动性市值比（Liquidity-to-FDV）、波动告警等级（Volatility Alert），帮助快速甄别潜在貔貅盘与高滑点池。
> 4. 支持在 Apify 控制台一键导出 **Excel、CSV、JSON**，或无缝接入 n8n、Make.com、Telegram Bot 及量化交易机器人。

***

### 🎯 Common High-Impact Use Cases

- 🤖 **Automated Memecoin Sniping & Screening**: Automatically detect newly deployed liquidity pools on Solana and Base with minimum liquidity thresholds.
- 📊 **DEX Liquidity & Slippage Monitoring**: Track real-time depth on Raydium and Uniswap pools before executing large swaps to avoid MEV sandwich attacks.
- 🚨 **Telegram & Discord Price Alert Bots**: Hook into n8n or Make to alert your trading community when 1h volume spikes or buy/sell ratio exceeds 3.0x.
- 🔄 **Cross-Chain Arbitrage Detection**: Compare pricing between Ethereum Uniswap pools and Base Aerodrome pools in real time.
- 💼 **Web3 VC & Tokenomics Due Diligence**: Audit token distribution, FDV vs. circulating market cap, and verify official project socials.

***

### 📥 Input Parameters

All parameters come pre-filled with sensible defaults so you can run the Actor right away:

| Parameter | Type | Required | Default / Prefill | Description |
|:---|:---|:---:|:---:|:---|
| **Token Symbol, Name or Address** (`queryOrToken`) | `string` | No | `"SOL"` | Search by token ticker (e.g. `SOL`, `PEPE`, `ETH`), token name, or token contract/mint address. |
| **Blockchain Network** (`chainId`) | `string` | No | `"ALL"` | Filter pairs by blockchain: `ALL`, `solana`, `ethereum`, `base`, `bsc`, or `arbitrum`. |
| **Minimum Pool Liquidity USD** (`minLiquidityUsd`) | `integer` | No | `1000` | Filter out low-liquidity or illiquid pools. Only return pools with at least this USD liquidity reserve. |
| **Max Pairs Limit** (`maxResults`) | `integer` | No | `20` | Maximum number of DEX liquidity pools to return (1-100). |
| **Include Keywords (Filter)** (`includeKeywords`) | `string` | No | `""` | Filter results to only include pairs matching these comma-separated keywords (e.g. `SOL, Raydium, USDC`). |
| **Exclude Keywords (Filter)** (`excludeKeywords`) | `string` | No | `""` | Filter out pairs containing these comma-separated keywords (e.g. `test, scam`). |
| **Enable AI / RAG Token Chunking** (`enableRagEnrichment`) | `boolean` | No | `true` | Automatically compute OpenAI token counts and generate semantic vector chunks for RAG pipelines. |
| **Data Enrichment Tier** (`enrichmentMode`) | `string` | No | `"Enriched"` | Choose enrichment depth: `'Enriched'` (adds 20+ derived fields), `'Standard'`, or `'Basic'`. |

***

### 📤 Output Field Documentation

Each record extracted contains full pool identification, pricing, reserves, transactions, and derived risk intelligence:

| Field Group | Fields Extracted | Description |
|:---|:---|:---|
| **Pair Identity** | `title`, `pairAddress`, `chainId`, `dexId`, `pairUrl`, `pairCreatedAt` | Contract address, DEX name (Raydium, Uniswap, Aerodrome), blockchain, and DEXScreener URL. |
| **Base Token** | `baseTokenSymbol`, `baseTokenName`, `baseTokenAddress` | Base asset symbol, full name, and token mint / contract address. |
| **Quote Token** | `quoteTokenSymbol`, `quoteTokenName`, `quoteTokenAddress` | Counter-currency symbol (USDC, USDT, SOL, WETH) and address. |
| **Pricing & Valuation**| `priceUsd`, `priceNative`, `fdv`, `marketCap` | Real-time USD price, native token price, Fully Diluted Valuation, and Market Cap. |
| **Liquidity & Reserves**| `liquidityUsd`, `baseReserves`, `quoteReserves` | Total USD liquidity pool size and reserve counts for both base and quote assets. |
| **Multi-Timeframe Volume**| `volume24h`, `volume6h`, `volume1h`, `volume5m` | Traded volume across 24-hour, 6-hour, 1-hour, and 5-minute windows. |
| **Price Changes** | `priceChange24h`, `priceChange6h`, `priceChange1h`, `priceChange5m` | Percentage price change across 24h, 6h, 1h, and 5m. |
| **Transaction Activity** | `txns24hBuys`, `txns24hSells`, `txns1hBuys`, `txns1hSells`, `txns5mBuys`, `txns5mSells` | Exact buy and sell transaction counts per timeframe. |
| **DEX Intelligence** | `buySellVolumeRatio`, `liquidityToFdvHealthRatio`, `volatilityAlertLevel`, `momentumStatus` | Buy/Sell ratio, liquidity health status, volatility alert (`EXTREME`, `HIGH`, `MODERATE`, `LOW`), and momentum trend. |
| **Socials & Branding** | `twitter`, `telegram`, `discord`, `website`, `tokenIconUrl`, `headerImageUrl` | Verified project communication links and token logo assets. |
| **Enterprise Meta** | `_dataQualityScore`, `_deduplicationFingerprint`, `_rag` | Quality audit score, cryptographic idempotency hash, and vector chunking metadata. |

***

### 📤 Sample Output Data (JSON)

```json
{
  "query": "SOL",
  "targetChain": "ALL",
  "minLiquidityUsd": 1000,
  "totalCount": 20,
  "pairs": [
    {
      "title": "SOL / USDC (AERODROME on base) - Solana",
      "pairAddress": "0x1131DB5977242a03eBeaD1aCD18F80A9A29e5922",
      "chainId": "base",
      "dexId": "aerodrome",
      "pairUrl": "https://dexscreener.com/base/0x1131db5977242a03ebead1acd18f80a9a29e5922",
      "baseTokenSymbol": "SOL",
      "baseTokenName": "Solana",
      "baseTokenAddress": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
      "quoteTokenSymbol": "USDC",
      "quoteTokenName": "USD Coin",
      "quoteTokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "priceUsd": 96.31,
      "priceNative": "96.3188",
      "fdv": 29155986,
      "marketCap": 29155986,
      "liquidityUsd": 123391.52,
      "baseReserves": 1005.73,
      "quoteReserves": 26520,
      "volume24h": 883846.81,
      "volume6h": 84598.42,
      "volume1h": 9896.72,
      "volume5m": 124.86,
      "priceChange24h": -3.76,
      "priceChange6h": -0.67,
      "priceChange1h": -0.71,
      "priceChange5m": 0.03,
      "txns24hBuys": 3385,
      "txns24hSells": 3959,
      "txns1hBuys": 52,
      "txns1hSells": 77,
      "txns5mBuys": 1,
      "txns5mSells": 1,
      "buySellVolumeRatio": 0.86,
      "buySellRatio24h": 0.86,
      "buySellRatio1h": 0.68,
      "liquidityToFdvRatio": 0.0042,
      "liquidityToFdvHealthRatio": "0.42% (Low Liquidity / Slippage Risk)",
      "volatilityAlertLevel": "LOW",
      "momentumStatus": "Downward Trend",
      "twitter": "https://x.com/solana",
      "telegram": "",
      "website": "https://solana.com/",
      "tokenIconUrl": "https://cdn.dexscreener.com/cms/images/e06bde6f35af4295de2c1b039f242b464012689ad6fc669ee977a9148b2eb936?width=800&height=800&quality=95&format=auto",
      "_dataQualityScore": 100,
      "_deduplicationFingerprint": "07a8df6210f94..."
    }
  ],
  "_rag": {
    "estimatedTokens": 450,
    "chunksCount": 2,
    "ingestionReady": true
  }
}
```

***

### 💻 Developer API & AI Framework Integration

#### Node.js (`apify-client`)

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

const client = new ApifyClient({
    token: 'YOUR_APIFY_TOKEN',
});

// Run actor for Solana memecoin / liquidity analysis
const run = await client.actor('trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper').call({
    queryOrToken: 'SOL',
    chainId: 'solana',
    minLiquidityUsd: 5000,
    maxResults: 25
});

// Fetch structured pool items
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Extracted DEX pairs:`, items[0]?.pairs);
```

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

## Run actor to scan Base network tokens
run = client.actor("trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper").call(run_input={
    "queryOrToken": "AERO",
    "chainId": "base",
    "minLiquidityUsd": 10000,
    "maxResults": 15
})

## Access dataset records
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(f"Retrieved {len(items[0]['pairs'])} pairs on Base network.")
```

#### LangChain Vector Ingestion (AI Crypto Agent)

```python
from apify_client import ApifyClient
from langchain_community.vectorstores import Chroma
from langchain_openai import OpenAIEmbeddings
from langchain_core.documents import Document

## 1. Fetch pre-chunked dataset from Apify
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper").call(run_input={
    "queryOrToken": "PEPE",
    "chainId": "ethereum"
})
items = client.dataset(run["defaultDatasetId"]).list_items().items

## 2. Extract semantic chunks directly into LangChain documents
docs = []
for item in items:
    chunks = item.get("_rag", {}).get("chunks", [str(item)])
    for chunk in chunks:
        docs.append(Document(page_content=chunk, metadata={"source": "dexscreener", "token": "PEPE"}))

## 3. Ingest into Chroma vector store
vectorstore = Chroma.from_documents(docs, OpenAIEmbeddings())
print(f"Indexed {len(docs)} DEX market knowledge chunks for AI crypto agent.")
```

***

### ⚡ n8n & Make.com Automation Workflows

#### 1. Telegram / Discord Whale & Momentum Alert Bot

1. **Trigger**: Schedule recurring trigger (every 5 minutes) in n8n.
2. **Apify Node**: Call `dexscreener-crypto-pairs-liquidity-scraper` with token symbol (e.g. `WIF` or `SOL`).
3. **Filter Node**: Check if `buySellVolumeRatio > 2.0` AND `priceChange1h > 5`.
4. **Telegram / Discord Node**: Send formatted alert: `🚨 BREAKOUT ALERT: $SOL on Raydium is surging! 1h Volume: $2.4M | Buy/Sell Ratio: 2.8x`.

#### 2. Google Sheets Automated Crypto Portfolio Logger

1. **Trigger**: Daily cron at 00:00 UTC.
2. **Apify Node**: Run scraper across your portfolio tokens (`SOL`, `ETH`, `AERO`, `ARB`).
3. **Google Sheets Node**: Append rows with date, price USD, 24h volume, and liquidity health rating.

***

### ❓ Frequently Asked Questions (FAQ)

##### Do I need a DEXScreener API key or paid subscription?

No. This Actor handles all query resolution directly without requiring any API keys, paid subscriptions, or web3 wallets.

##### Which blockchain networks are supported?

All major ecosystems indexed by DEXScreener are supported, including **Solana, Ethereum, Base, Binance Smart Chain (BSC), Arbitrum, Polygon, Avalanche, Optimism**, and more. Use `chainId: "ALL"` for cross-chain liquidity discovery.

##### Can I search by smart contract or token mint address?

Yes. You can paste any EVM `0x...` contract address or Solana base58 mint address directly into `queryOrToken`. The scraper automatically detects the address and queries the dedicated token endpoint.

##### How does the Pay-Per-Event pricing work?

You only pay **$0.002 per result extracted**. If an extraction yields no records, you pay nothing. There are zero subscription lock-ins or idle compute fees.

***

### 💬 Support & Custom Demands

- **Bug Reports & Feature Requests**: Submit an issue via the Apify Console.
- **Enterprise Custom Actors**: Contact `contact@trustedtechspot.com` for bespoke Web3 data feeds, Solana memecoin scrapers, or private RPC integration.

# Actor input Schema

## `queryOrToken` (type: `string`):

Search by token ticker (e.g. SOL, PEPE, WIF, ETH), token name, or token contract/mint address across all supported DEX networks. (输入搜索词或代币地址，或保持默认直接运行)

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

Filter pairs by blockchain ecosystem: ALL, solana, ethereum, base, bsc, or arbitrum.

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

Filter out low-liquidity or illiquid pools. Only return pairs with at least this USD liquidity reserve (e.g. $1,000 to avoid low-liquidity rugs).

## `maxResults` (type: `integer`):

Maximum number of DEX liquidity pools to return (1-100)

## `includeKeywords` (type: `string`):

Filter results to only include pairs matching these comma-separated keywords (e.g. SOL, Raydium, USDC)

## `excludeKeywords` (type: `string`):

Filter out pairs containing these comma-separated keywords

## `enableRagEnrichment` (type: `boolean`):

Automatically compute OpenAI token counts and generate semantic vector chunks for RAG pipelines

## `enrichmentMode` (type: `string`):

Choose enrichment depth: 'Enriched' adds 20+ derived fields (quality score, currency normalization, bayesian ratings, social graph, risk ratios), 'Standard' includes core clean fields, 'Basic' is ultra-fast raw extract.

## Actor input object example

```json
{
  "queryOrToken": "SOL",
  "chainId": "ALL",
  "minLiquidityUsd": 1000,
  "maxResults": 20,
  "includeKeywords": "",
  "excludeKeywords": "",
  "enableRagEnrichment": true,
  "enrichmentMode": "Enriched"
}
```

# Actor output Schema

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

Structured output and extracted data from DEXScreener DEX Crypto Pairs, Liquidity & Volume Scraper

# 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 = {
    "queryOrToken": "SOL",
    "chainId": "ALL",
    "minLiquidityUsd": 1000,
    "maxResults": 20,
    "includeKeywords": "",
    "excludeKeywords": "",
    "enableRagEnrichment": true,
    "enrichmentMode": "Enriched"
};

// Run the Actor and wait for it to finish
const run = await client.actor("trusted_tech_spot/dexscreener-crypto-pairs-liquidity-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 = {
    "queryOrToken": "SOL",
    "chainId": "ALL",
    "minLiquidityUsd": 1000,
    "maxResults": 20,
    "includeKeywords": "",
    "excludeKeywords": "",
    "enableRagEnrichment": True,
    "enrichmentMode": "Enriched",
}

# Run the Actor and wait for it to finish
run = client.actor("trusted_tech_spot/dexscreener-crypto-pairs-liquidity-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 '{
  "queryOrToken": "SOL",
  "chainId": "ALL",
  "minLiquidityUsd": 1000,
  "maxResults": 20,
  "includeKeywords": "",
  "excludeKeywords": "",
  "enableRagEnrichment": true,
  "enrichmentMode": "Enriched"
}' |
apify call trusted_tech_spot/dexscreener-crypto-pairs-liquidity-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,trusted_tech_spot/dexscreener-crypto-pairs-liquidity-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/PKybU9ydJc2d0jWFa/builds/T2cB1HA5x1yy6MVp1/openapi.json
