# DexScreener Scraper – New Token Alerts, Solana & pump.fun (`johto.data/dexscreener-new-token-alerts`) Actor

New and trending crypto tokens from the official DexScreener API as clean JSON for bots and AI agents: price, liquidity, volume, FDV, age, boosts, website and socials. Filter by chain, liquidity, volume, age.

- **URL**: https://apify.com/johto.data/dexscreener-new-token-alerts.md
- **Developed by:** [Jo](https://apify.com/johto.data) (community)
- **Categories:** AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

## DexScreener New Token Alerts – Solana, pump.fun, Base, ETH

**DexScreener new token scraper with an official API, no proxies.** New and boosted tokens on Solana, pump.fun, Base, ETH and more, with price, liquidity, volume, FDV, age and socials. Flat JSON for trading bots and AI agents.

**Quick start:** click **Start**. The prefilled input returns real results in about a minute for a few cents. New Apify accounts include free monthly credits, so your first runs are effectively free.

Find **new and trending crypto tokens** the moment they appear on DexScreener, as **clean, flat JSON built for trading bots, Telegram alert bots, dashboards and AI agents**. It uses the **official public DexScreener API** (no scraping, no browser, no proxies) and respects its published rate limits.

### What you get per token

Chain, DEX, token address, name, symbol, pair address, **price (USD/native), liquidity, 5m/1h/24h volume, price change, buys/sells, FDV, market cap, pair age in hours**, pump.fun / bonding-curve flags, boost amount, **website, X/Twitter, Telegram, Discord**, image, description and DexScreener link.

### How it works

1. Discovers candidates from DexScreener's official feeds: latest token profiles, latest and top boosts, community takeovers, plus optional search terms.
2. Enriches every token with live pair data (best-liquidity pair).
3. Filters by **chain, min liquidity, min 24h volume, max age, pump.fun only**, then returns the newest first.

### Pricing

**$0.0015 per token returned**, so a run that returns 50 alerts costs about $0.075. You only pay for tokens that pass your filters. Schedule it every 5–15 minutes for a live feed.

### Input example

```json
{ "chains": ["solana"], "pumpFunOnly": true, "minVolume24hUsd": 10000, "maxAgeHours": 6, "maxItems": 100 }
```

### Use with AI agents

Call it through the Apify API or Apify MCP server. Fields are flat, numeric where they should be, and self-describing.

### Disclaimer

Data comes from DexScreener and is provided as is. New tokens are extremely risky and many are scams. This is not financial advice.

### Scheduled alerts and only-new mode

- **`onlyNew: true`** remembers what earlier runs returned (stored in your own Apify account) and returns **only new records**, so a daily or hourly schedule charges you only for fresh data.
- **`webhookUrl`** POSTs every new batch as JSON with a ready-to-post `text` and `content` summary. It works with Slack and Discord incoming webhooks, Zapier, Make and n8n.

### Use from AI agents and code

- **Apify MCP server:** add `johto.data/dexscreener-new-token-alerts` as a tool. Every input field is documented in the input schema.
- **REST, one call, returns JSON:**

```bash
curl -X POST "https://api.apify.com/v2/acts/johto.data~dexscreener-new-token-alerts/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' -d '{"maxItems": 50, "onlyNew": true}'
```

- **Python:** `ApifyClient(token).actor("johto.data/dexscreener-new-token-alerts").call(run_input={...})`

# Actor input Schema

## `chains` (type: `array`):

DexScreener chain IDs (solana, ethereum, base, bsc, robinhood...). Empty = all chains.

## `sources` (type: `array`):

Official DexScreener feeds used to discover new tokens.

## `searchQueries` (type: `array`):

Optional DexScreener search terms (token name, symbol or address) to add candidates, e.g. AI, ELON.

## `pumpFunOnly` (type: `boolean`):

Only Solana tokens launched on pump.fun (bonding curve or PumpSwap).

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

0 = no minimum.

## `includeBondingCurve` (type: `boolean`):

Bonding-curve pairs report no liquidity; keep them when a min liquidity is set.

## `minVolume24hUsd` (type: `integer`):

0 = no minimum.

## `maxAgeHours` (type: `integer`):

Only pairs created within N hours. 0 = any age.

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

Maximum tokens to return (each is one charged result).

## `onlyNew` (type: `boolean`):

Remember results across runs (per account) and return only items not seen before. Ideal for scheduled runs: you pay only for new records.

## `webhookUrl` (type: `string`):

Optional. POSTs the new items as JSON with a 'text'/'content' summary (Slack, Discord, Zapier, Make, n8n compatible).

## Actor input object example

```json
{
  "chains": [
    "solana",
    "base"
  ],
  "sources": [
    "profiles",
    "boosts",
    "topBoosts",
    "takeovers"
  ],
  "searchQueries": [],
  "pumpFunOnly": false,
  "minLiquidityUsd": 0,
  "includeBondingCurve": true,
  "minVolume24hUsd": 0,
  "maxAgeHours": 24,
  "maxItems": 200,
  "onlyNew": false
}
```

# Actor output Schema

## `tokens` (type: `string`):

One item per token (best-liquidity pair).

# 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 = {
    "chains": [
        "solana",
        "base"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("johto.data/dexscreener-new-token-alerts").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 = { "chains": [
        "solana",
        "base",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("johto.data/dexscreener-new-token-alerts").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 '{
  "chains": [
    "solana",
    "base"
  ]
}' |
apify call johto.data/dexscreener-new-token-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,johto.data/dexscreener-new-token-alerts"
        }
    }
}
```

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/hWNV3aXkmkRmmfnUS/builds/vKykIKU8PHTiDEv2V/openapi.json
