# DexScreener Scraper – Prices, OHLC, Audit & Top Traders (`sourabhbgp/dexscreener-scraper`) Actor

Extract crypto token data from DexScreener across 80+ blockchains — prices, volume, liquidity, OHLC candles, live trades, top-trader and KOL leaderboards, audit & holder data, boosts, narratives, and full DEX/chain registries. 16 modes in one actor. $2 per 1,000 results.

- **URL**: https://apify.com/sourabhbgp/dexscreener-scraper.md
- **Developed by:** [Sourabh Kumar](https://apify.com/sourabhbgp) (community)
- **Categories:** Developer tools
- **Stats:** 4 total users, 0 monthly users, 61.5% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$2.00 / 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/platform/actors/running/actors-in-store#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 scraper — pairs, OHLC, audit, transactions & top traders

One actor for the whole DexScreener catalog: pair search, full token metadata, audit and holder data, candlestick history, live trade logs, top-trader leaderboards, KOL feeds, boosts, narratives, and full DEX/chain registries.

**$2 per 1,000 results. Flat for every mode. No per-run fee, no proxy, no browser.**

Works on every chain DexScreener tracks — `ethereum`, `solana`, `bsc`, `base`, `arbitrum`, `polygon`, `avalanche`, and 80+ more.

### Why this scraper?

- 💰 **Flat $2 per 1,000 results** — same rate for a search hit and a candlestick bar. No floor, no per-run charge.
- 🧰 **16 modes in one actor** — most DexScreener scrapers cover three or four modes. This one is the whole catalog.
- 🛡️ **Audit and holder data on every pair** — mintable / freezable flags, top LP holder, lock percentage, CoinGecko + CoinMarketCap metadata.
- 📈 **OHLC candles for any pair** at 1m / 5m / 15m / 1h / 4h resolution — up to 2,000 bars per request.
- 🏆 **Top-trader and KOL leaderboards** — per-pair PnL ranking, with a one-flag toggle for the influencer-only view.
- 📜 **Live trade log** — up to ~100 most recent swaps per pair (wallet, txHash, side, USD amounts).
- ⚡ **Pure HTTP** — no headless browser, no proxy, no cookie warmup. Runs in 256 MB.
- 📋 **Flat, CSV-safe output** — every record is a single-level JSON object. Drop straight into Sheets or BigQuery.
- ✅ **Strict input validation** — bad inputs fail at the gateway with a clear error, before any billable work runs.

### Scraping modes

#### 🔍 search — by name, symbol, or address

Up to 30 matching pairs per query. Multiple queries (one per line) fan out automatically.

```json
{ "mode": "search", "queries": "PEPE" }
```

#### 📍 pair — chain:pairAddress

Look up specific pairs. Up to 30 pair addresses per chain in a single request.

```json
{ "mode": "pair", "queries": "ethereum:0xA43fe16908251ee70EF74718545e4FE6C5cCEc9f" }
```

#### 🪙 token — every pair for a token

All DEX pairs for a token across one chain.

```json
{ "mode": "token", "queries": "ethereum:0x6982508145454Ce325dDbE47a25d4ec3d2311933" }
```

#### 🚀 boosted — promoted tokens

Tokens with active DexScreener boost promotions. Sort by `latest` or `top`, optional `chainId`.

```json
{ "mode": "boosted", "sort": "top", "chainId": "solana" }
```

#### 👤 profiles — newly created or updated

Tokens with descriptions, social links, and images. `recency: created | updated`.

```json
{ "mode": "profiles", "recency": "created" }
```

#### 💸 orders — paid orders and boosts for a token

```json
{ "mode": "orders", "queries": "solana:BonK1YhkXEGLZzwtcvRTip3gAL9nCeQD7ppZBLXhtTs" }
```

#### 🏛️ ctos — community takeovers

Latest community takeover events. Optional `chainId`.

```json
{ "mode": "ctos", "chainId": "solana" }
```

#### 📢 ads — tokens running ads

Tokens currently displaying ads on DexScreener.

```json
{ "mode": "ads", "chainId": "base" }
```

#### 🎭 metas — narrative categories

Trending narratives (Hall of Fame, Degen, AI, Dog, etc.).

```json
{ "mode": "metas", "chainId": "solana" }
```

#### 🎯 metas-detail — drill into one narrative

Tokens grouped under one slug.

```json
{ "mode": "metas-detail", "slug": "dog" }
```

#### 🏪 dexes-registry — full DEX list

\~300 DEXes with name, slug, default URL, swap URL template, supported chains, factory addresses.

```json
{ "mode": "dexes-registry" }
```

#### ⛓️ chains-registry — full chain list

Sort by `trending` or `txns`.

```json
{ "mode": "chains-registry", "sort": "txns" }
```

#### 🛡️ pair-details — audit, holders, locks, CG/CMC metadata

Mintable / freezable flags, LP holder count, top LP holder, lock percentage, CoinGecko + CoinMarketCap IDs and tags, websites, socials.

```json
{ "mode": "pair-details", "pairs": "solana:58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2" }
```

#### 📈 ohlc — candlestick bars

Open / high / low / close / USD volume / tx count per bar. Resolutions: 1m, 5m, 15m, 1h, 4h. Up to 2,000 bars per pair per request.

```json
{
  "mode": "ohlc",
  "pairs": "solana:58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2:solamm:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "ohlcRes": "60",
  "ohlcCount": 200
}
```

For `ohlc`, `transactions`, and `top-traders`, `pairs` is a 4-tuple: `chain:pairAddress:dex:quoteTokenAddress`. The `dex` slug is DexScreener's internal AMM-class slug — for example, `solamm` for Raydium-class Solana AMMs, `uniswapv3` for Uniswap v3. You can grab it from the pair's URL on dexscreener.com or run `pair-details` first if unsure.

#### 📜 transactions — live trade log

Up to ~100 most recent swaps per pair: wallet, txHash, side (`buy` / `sell`), priceUsd, amountUsd, base and quote amounts.

```json
{
  "mode": "transactions",
  "pairs": "solana:58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2:solamm:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
}
```

#### 🏆 top-traders — leaderboard per pair

Up to ~100 traders per pair, ranked by PnL. Set `kol: true` for the KOL-only leaderboard (~60 rows, with `twitterHandle` and `twitterUrl` populated).

```json
{
  "mode": "top-traders",
  "pairs": "solana:58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2:solamm:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "kol": true
}
```

### How to use it

1. [Create a free Apify account](https://console.apify.com/sign-up) — 30 seconds, no card needed.
2. Open [DexScreener Scraper](https://console.apify.com/actors/V3ZyIxiJLmZC6CeFi?addFromActorId=V3ZyIxiJLmZC6CeFi) in the Apify Console.
3. Pick a mode and paste your queries or pairs.
4. Click **Start**. Most runs finish in under a minute.
5. Export as JSON, CSV, or Excel — or fetch via the Apify API.

### Input

| Field | Type | Description | Default |
|---|---|---|---|
| `mode` | string | One of the 16 modes above. | `"search"` |
| `queries` | string | One per line. Used by `search`, `pair`, `token`, `orders`. Format depends on mode. | — |
| `pairs` | string | One per line. Used by `pair-details` (`chain:pairAddress`) and `ohlc` / `transactions` / `top-traders` (`chain:pairAddress:dex:quoteTokenAddress`). | — |
| `chainId` | string | Filter by chain slug — `solana`, `ethereum`, `base`, `bsc`, etc. Applies to `boosted`, `metas`, `ctos`, `ads`. | — |
| `sort` | string | `latest` / `top` for `boosted`; `trending` / `txns` for `chains-registry`. | — |
| `recency` | string | `created` or `updated` (`profiles` mode only). | `"created"` |
| `slug` | string | Required for `metas-detail`. | — |
| `ohlcRes` | string | `1`, `5`, `15`, `60`, `240`, `D` (minutes; `D` = day, currently broken upstream). | `"60"` |
| `ohlcCount` | integer | OHLC bars per pair (1–2000). 1-minute capped at 1440. | `200` |
| `kol` | boolean | `top-traders` only. `true` = KOL-only leaderboard. | `false` |
| `maxResults` | integer | Cap total results (truncates after dedup, before push). Empty = no cap. | — |

#### Query format by mode

| Mode | Field used | Format |
|---|---|---|
| `search` | `queries` | Token name, symbol, or address |
| `pair` | `queries` | `chain:pairAddress` |
| `token` | `queries` | `chain:tokenAddress` |
| `orders` | `queries` | `chain:tokenAddress` |
| `pair-details` | `pairs` | `chain:pairAddress` |
| `ohlc` / `transactions` / `top-traders` | `pairs` | `chain:pairAddress:dex:quoteTokenAddress` |

### Output

Every record is a flat JSON object — no nesting, CSV-safe.

#### Pair record (search, pair, token)

```json
{
  "pairAddress": "0x0FB597D6cFE5bE0d5258A7f017599C2A4Ece34c7",
  "chain": "base",
  "dexId": "uniswap",
  "baseTokenName": "BasedPepe",
  "baseTokenSymbol": "PEPE",
  "baseTokenAddress": "0x52b492a33E447Cdb854c7FC19F1e57E8BfA1777D",
  "quoteTokenSymbol": "WETH",
  "priceUsd": "0.000000004468",
  "volumeH24": 4144.48,
  "txnsH24Buys": 23,
  "txnsH24Sells": 40,
  "liquidityUsd": 272261.07,
  "fdv": 1821100,
  "marketCap": 1821100,
  "pairCreatedAt": "2024-08-08T19:06:23.000Z",
  "url": "https://dexscreener.com/base/0x0fb597d6cfe5be0d5258a7f017599c2a4ece34c7",
  "websites": "https://basedpepe.vip",
  "socials": "twitter:https://x.com/0x52BasedPepe/, telegram:https://t.me/BasedPepe0x52Portal",
  "buyToSellRatio24h": 0.57,
  "volumeToLiquidity": 0.02
}
```

Plus `volumeM5/H1/H6`, `txnsM5/H1/H6` buys/sells, `priceNative`, `liquidityBase/Quote`, `imageUrl`, `quoteTokenName`, `quoteTokenAddress` — **35 fields total.**

#### Pair details (audit + metadata)

```json
{
  "chain": "solana",
  "pairAddress": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
  "baseTokenAddress": "So11111111111111111111111111111111111111112",
  "baseSymbol": "SOL",
  "baseName": "Solana",
  "isMintable": false,
  "isFreezable": false,
  "lpHolderCount": 1794,
  "lpTopHolderAddress": "DgbCWnbXg43nmeiAveMCkUUPEpAr3rZo3iop3TyP6S63",
  "lpTopHolderPercentage": 74.56,
  "locksTotalPercentage": 0.01,
  "cgId": "wrapped-solana",
  "cgTotalSupply": 12213723.07,
  "cgCategories": "Crypto-Backed Tokens, Wrapped-Tokens, Solana Ecosystem",
  "cmcId": 16116,
  "cmcTags": "defi, ethereum-ecosystem, solana-ecosystem, ...",
  "websites": "https://solana.com",
  "socials": "twitter:https://x.com/solana"
}
```

#### OHLC bar

```json
{
  "chain": "solana",
  "pairAddress": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
  "dex": "solamm",
  "quoteTokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "res": "60",
  "ts": 1777478400000,
  "open": 82.928,
  "high": 83.8549,
  "low": 82.857,
  "close": 82.857,
  "volumeUsd": 182921.96,
  "txCount": 9110
}
```

`ts` is milliseconds. `txCount` is `null` for the oldest bar in each response (it's a delta of an internal counter).

#### Transaction

```json
{
  "chain": "solana",
  "pairAddress": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
  "dex": "solamm",
  "quoteTokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "timestampMs": 1778222256000,
  "walletAddress": "269VzyzVGcFLJdypDfx3BYdA1YVp7FwGnXptzKaytVKZCbJTnaMgsAXvsRtnWQXcBjV7BzuLuaTCByKEet8YCoZA",
  "txHash": "SHARKRdGLNYRZrhotqvZi3XAtT62CRGCFxmg5LJgSHC",
  "side": "sell",
  "priceUsd": "87.8039",
  "amountUsd": "0.27",
  "amountBase": "0.003167",
  "amountQuote": "0.2781"
}
```

#### Top trader (KOL)

```json
{
  "chain": "solana",
  "pairAddress": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
  "dex": "solamm",
  "quoteTokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "isKol": true,
  "rank": 1,
  "walletAddress": "69z4qTgQ5DBRTJvnQzx2h8jZhNsv5UgADotEwwKUm2JS",
  "twitterHandle": "thekryptoking_",
  "twitterUrl": "https://x.com/thekryptoking_",
  "numBuys": 161,
  "numSells": 134,
  "buyVolumeUsd": 52094.02,
  "sellVolumeUsd": 63470.17,
  "firstTradeMs": 1775817316000,
  "lastTradeMs": 1778221724000
}
```

For non-KOL rows, `isKol` is `false` and `twitterHandle` / `twitterUrl` are `null`.

`boosted`, `profiles`, `ctos`, `ads`, `orders`, `metas`, and the registry modes follow the same flat shape — open the dataset on a sample run for the full field list. Download as JSON, CSV, Excel, or pull via API.

### How much does DexScreener Scraper cost?

Pay-per-result, flat across every mode: **$2 per 1,000 results** ($0.002 per record). No per-run fee, no monthly minimum.

The Apify Free plan ($5/month credits) covers around **2,500 results**. The Starter plan ($29/month) covers about **14,500 results**.

**Worked examples:**

| Job | Results | Cost |
|---|---|---|
| Search "PEPE" (all pairs) | 30 | $0.06 |
| All pairs for one token | ~50 | $0.10 |
| Pair-details audit for 50 pairs | 50 | $0.10 |
| 200 OHLC bars × 1 pair (default) | 200 | $0.40 |
| 720 4-hour bars × 30 pairs | 21,600 | $43.20 |
| Live trades (~100) × 30 pairs | 3,000 | $6.00 |
| Top traders (~100) × 1 pair | 100 | $0.20 |
| KOL traders (~60) × 1 pair | 60 | $0.12 |
| Daily monitor of 50 tokens | 1,500 | $3.00 |
| Full DEX registry | ~300 | $0.60 |

Cap aggressive jobs with `maxResults`.

### Use cases

- 📈 **DeFi trading signals** — Watch buy/sell ratios, volume spikes, and liquidity moves for early entries.
- 🛡️ **Token safety screening** — Pull mintable/freezable flags, LP locks, and top-holder concentration before a buy.
- 🪙 **Memecoin discovery** — Sweep boosted tokens, new profiles, narrative metas, and community takeovers daily.
- 📊 **Backtesting and quant research** — Pull historical OHLC bars at minute resolution to feed strategies.
- 🏆 **KOL and smart-money tracking** — Identify influential wallets per pair, then follow their trades.
- 🔬 **Multi-chain coverage** — Compare a token's pairs across Ethereum, Solana, BSC, Base, and 80+ more in one query.
- 📋 **DeFi market reports** — Export pair, volume, and liquidity data to Sheets for weekly research.
- 🤖 **Trading bot data feed** — Plug structured pair, trade, and OHLC data into automated strategies.

### Limitations

- **Search caps at 30 pairs per query.** Run multi-line queries to widen coverage.
- **`pair` mode batches up to 30 addresses per chain per request.** Larger batches get split.
- **`transactions` and `top-traders` cap around 100 rows per pair** — same depth the live UI shows. They're a snapshot of the most recent swaps / top traders, not a paginated archive.
- **OHLC daily resolution (`D`) returns HTTP 500 from DexScreener's origin.** Use `240` (4-hour) for daily-equivalent until upstream fixes it. All other resolutions work.
- **`pair-details` audit fields are chain-specific.** Solana pairs return the richest set; some EVM chains return fewer audit fields.
- **`chainId` filter on `boosted`, `ctos`, and `ads` is applied client-side** because DexScreener's API doesn't filter those endpoints server-side — you pay for the unfiltered fetch before the filter.

### FAQ

#### How much does DexScreener Scraper cost?

DexScreener Scraper uses pay-per-result pricing. You pay **$2 for 1,000 results**. The Apify Free plan gives you $5 in usage credits a month, enough for around 2,500 results. If you run regularly, the $29/month Starter plan covers about 14,500 results.

No subscription lock-in. Pause whenever.

#### Is it legal to scrape DexScreener?

Scraping public data is generally allowed in the US and most of the EU, as long as you don't collect personal data covered by GDPR or CCPA without a lawful basis. This actor only touches publicly accessible pages, but how you use the output is on you.

A few modes (`pair-details`, `ohlc`, `transactions`, `top-traders`) use DexScreener's internal endpoints alongside the documented public API. DexScreener's API Terms of Service prohibit reselling the data or building products that compete directly with DexScreener — make sure your use case is compatible. Apify's full breakdown: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

#### Can I integrate DexScreener Scraper with other tools?

Push results into **Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive**, and more. Apify treats every actor as a webhook source, so anything that consumes webhooks or pulls from an API works.

Full list: [Apify integrations](https://docs.apify.com/platform/integrations).

#### Can I use DexScreener Scraper with the Apify API?

Yes. Every run is available via the Apify REST API:

```bash
curl -X POST "https://api.apify.com/v2/acts/sourabhbgp~dexscreener-scraper/runs?token=APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "search", "queries": "PEPE"}'
```

Docs: [Apify API reference](https://docs.apify.com/api/v2).

#### Can I use DexScreener Scraper through an MCP Server?

Yes. Apify ships an MCP server that exposes every actor as a tool, so Claude Desktop, Cursor, and any other MCP-capable client can call DexScreener Scraper. Setup: [Apify MCP docs](https://docs.apify.com/platform/integrations/mcp).

#### What's the difference between `boosted`, `ads`, and `ctos`?

- `boosted` — tokens with active DexScreener boost promotions (record carries the boost amount).
- `ads` — tokens currently displaying ads on DexScreener.
- `ctos` — community takeover events (project handed over to its community).

### Your feedback

Bug, missing field, or odd behavior? Drop a note in the [Issues tab](https://console.apify.com/actors/V3ZyIxiJLmZC6CeFi/issues). Reports go to a human and fixes usually ship the same week.

# Actor input Schema

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

What to extract.

## `queries` (type: `string`):

One query per line. Required for: search, pair, token, orders. Format depends on mode — search: token name/symbol/address; pair: chain:pairAddress; token & orders: chain:tokenAddress.

## `pairs` (type: `string`):

One per line. Format depends on mode — pair-details: chain:pairAddress (2-tuple). ohlc / transactions / top-traders: chain:pairAddress:dex:quoteTokenAddress (4-tuple — example: solana:58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2:solamm:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v). Transactions returns up to ~100 swaps per pair per request; top-traders returns up to ~100 trader rows per pair (or ~60 KOLs when kol=true).

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

Maximum number of results to push. Truncates after dedup, before push, in iterable order. Leave empty for no cap.

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

Filter by chain slug (e.g. solana, ethereum, base, bsc). Passed as query param for boosted and metas (with client-side enforcement for boosted). Client-side filter for: ctos, ads. Ignored for other modes.

## `sort` (type: `string`):

Only applies to: boosted (latest|top), chains-registry (trending|txns).

## `recency` (type: `string`):

Only applies to mode: profiles. 'created' = newly created profiles. 'updated' = recently updated profiles.

## `slug` (type: `string`):

Required for mode: metas-detail. Drill-down into one narrative (e.g. 'dog', 'ai', 'memes').

## `ohlcRes` (type: `string`):

Bar resolution for mode: ohlc. 1/5/15/60/240 = minutes; D = daily. Note: D currently returns HTTP 500 from DexScreener — use 240 for daily-equivalent until upstream is fixed.

## `ohlcCount` (type: `integer`):

Number of OHLC bars to fetch per pair (1-2000). Each bar is one charged result at $0.002. Example: 365 daily bars at res=240 = $0.73 per pair. 1-minute resolution caps at 1440 bars (1 day).

## `kol` (type: `boolean`):

Only applies to mode: top-traders. When true, returns the KOL-only leaderboard (Twitter-tagged influencer wallets) instead of the all-trader leaderboard.

## Actor input object example

```json
{
  "mode": "search",
  "queries": "PEPE"
}
```

# Actor output Schema

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

Flat JSON records — schema and view depend on the mode (pair, pair-details, ohlc, transactions, top-traders, boosted, profiles, ctos, ads, orders, metas, metas-detail, dexes-registry, chains-registry).

# 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 = {
    "mode": "search",
    "queries": "PEPE"
};

// Run the Actor and wait for it to finish
const run = await client.actor("sourabhbgp/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 = {
    "mode": "search",
    "queries": "PEPE",
}

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

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

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

```

## CLI example

```bash
echo '{
  "mode": "search",
  "queries": "PEPE"
}' |
apify call sourabhbgp/dexscreener-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=sourabhbgp/dexscreener-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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