# Pump Fun Crypto Coin Scraper (`louisdeconinck/pump-fun-crypto-coin-scraper`) Actor

Discover Solana's token landscape with lightning-fast data extraction from Pump.fun! Effortlessly sort listings by trade activity, creation date, or market cap. Access vital stats like market metrics, social links, and trading data. Perfect for market analysis, and spotting emerging trends.

- **URL**: https://apify.com/louisdeconinck/pump-fun-crypto-coin-scraper.md
- **Developed by:** [Louis Deconinck](https://apify.com/louisdeconinck) (community)
- **Categories:** Developer tools, Automation
- **Stats:** 181 total users, 0 monthly users, 100.0% runs succeeded, 13 bookmarks
- **User rating**: 4.42 out of 5 stars

## Pricing

$4.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/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

This actor scrapes detailed information about crypto coins from Pump.fun, a platform for Solana-based tokens. Get comprehensive data about tokens including market caps, trading activity, social links, and more.

### Features

- Fast & efficient scraping of 1050 tokens in a single run
- Simple configuration with just 3 options:
  - Sort by: Last Trade, Creation Time, Last Reply, or Market Cap
  - Sort order: Ascending or Descending
  - Include/exclude NSFW content
- Comprehensive token data returned automatically:
  - Basic info (name, symbol, mint address)
  - Market metrics (cap, reserves, trading data)
  - Social presence (Twitter, Telegram, website)
  - Full metadata (descriptions, images)

### Use Cases

- Market research and analysis: Get comprehensive data to understand token performance, market trends, and investor behavior
- Token discovery: Find promising new tokens early by monitoring creation dates and initial trading activity
- Trading strategy development: Access historical price data and market metrics to build and backtest trading strategies
- Market cap monitoring: Track changes in market capitalization to identify growing projects and market movements
- Social engagement tracking: Monitor social metrics and community growth through reply counts and platform engagement
- Due diligence: Verify token legitimacy and project activity through comprehensive metadata
- Competitive analysis: Compare similar tokens and track relative performance metrics
- Community insights: Analyze social presence and engagement levels across platforms

### Input Configuration

- `sort` (String): Sort results by: `last_trade_timestamp`, `created_timestamp`, `last_reply`, or `market_cap` (default: `created_timestamp`)
- `order` (String): Sort order: `ASC` or `DESC` (default: `DESC`)
- `includeNsfw` (Boolean): Whether to include NSFW tokens in results (default: false)
- `searchTerms` (Array of Strings): Optional array of search terms to filter tokens by.
- `maxItems` (Number): Maximum number of tokens to scrape (default: 1050, min: 50, max: 1050)

#### Example Input

```json
{
    "sort": "created_timestamp",
    "order": "ASC",
    "includeNsfw": true,
    "searchTerms": ["doge", "pepe"],
    "maxItems": 500
}
```

### Output Dataset

The actor stores results in a dataset, with each item containing detailed token information.

Here's a description of all fields in the output dataset:

#### Token Information

- `mint`: Unique token mint address on Solana
- `name`: Display name of the token
- `symbol`: Trading symbol of the token
- `description`: Token's description text
- `total_supply`: Total token supply
- `show_name`: Whether to display the name (boolean)

#### Market Data

- `market_cap`: Market capitalization in SOL
- `usd_market_cap`: Market capitalization in USD
- `virtual_sol_reserves`: Virtual SOL reserves in the pool
- `virtual_token_reserves`: Virtual token reserves in the pool
- `market_id`: Unique market identifier
- `inverted`: Whether the market is inverted (boolean)
- `is_currently_live`: Whether the market is currently active (boolean)
- `raydium_pool`: Raydium pool address
- `bonding_curve`: Bonding curve contract address
- `associated_bonding_curve`: Associated bonding curve address

#### Metadata & URIs

- `image_uri`: URI of the token's image
- `metadata_uri`: URI of the token's metadata
- `website`: Project website URL
- `twitter`: Twitter/X profile URL
- `telegram`: Telegram group URL

#### Activity & Timestamps

- `created_timestamp`: Token creation timestamp
- `last_trade_timestamp`: Last trade timestamp
- `king_of_the_hill_timestamp`: King of the hill timestamp
- `last_reply`: Last reply timestamp
- `reply_count`: Number of replies/comments

#### Creator & Profile

- `creator`: Creator's wallet address
- `username`: Creator's username
- `profile_image`: Creator's profile image URL

#### Flags & Status

- `complete`: Whether token setup is complete (boolean)
- `hidden`: Whether token is hidden (boolean or null)
- `nsfw`: Whether token is marked as NSFW (boolean)

#### Example output:

```json
{
	"mint": "AxGAbdFtdbj2oNXa4dKqFvwHzgFtW9mFHWmd7vQfpump",
	"name": "TOP HAT",
	"symbol": "HAT",
	"description": "Solana's first no-code AI agent launchpad.",
	"image_uri": "https://ipfs.io/ipfs/QmPPhPbe9t5AKkBgBP4uon7aBdwLzukdS5PJoujC4YjJBj",
	"metadata_uri": "https://ipfs.io/ipfs/QmRGP81WsfLPtw4VaExcsJr2sE2P1qftuiszQx5aHBwce6",
	"twitter": "https://x.com/TopHat_One",
	"telegram": "https://t.me/+DLUgJl8MCDBjNTFk",
	"bonding_curve": "EopMZSxBTEad6Y43zvfd4LntmULkqp5hFYViC5cFn4oT",
	"associated_bonding_curve": "9v7VXvR2rytENnBrYbzAfTpwACNxTdGubD5Wdi7Y8xM8",
	"creator": "BXjEFPEDwgNrAdLRHb9kqLK4DrLtd3uQPcmiQpKPZTd5",
	"created_timestamp": 1730374103343,
	"raydium_pool": "Hoz3sC78FMWSziyyvJuv5kTEamBMSe2j1LUGAMP9SbYU",
	"complete": true,
	"virtual_sol_reserves": 115005359321,
	"virtual_token_reserves": 279900000000000,
	"hidden": null,
	"total_supply": 1000000000000000,
	"website": "tophat.one",
	"show_name": true,
	"last_trade_timestamp": 1730375245000,
	"king_of_the_hill_timestamp": 1730374135000,
	"market_cap": 121100,
	"reply_count": 429,
	"last_reply": 1734886752430,
	"nsfw": false,
	"market_id": "HTJT8npsXVVAYH9QTZ3cJAFpZ33JzaR9QBBkvtxR9NDF",
	"inverted": true,
	"is_currently_live": false,
	"username": null,
	"profile_image": null,
	"usd_market_cap": 22678397
}
```

# Actor input Schema

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

Choose the valueto sort by

## `order` (type: `string`):

Order ascending or descending

## `includeNsfw` (type: `boolean`):

Include NSFW content

## `searchTerms` (type: `array`):

Optional array of search terms to filter tokens by name or symbol

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

Maximum number of tokens to scrape (default: 1000, max: 1050)

## Actor input object example

```json
{
  "sort": "created_timestamp",
  "order": "DESC",
  "includeNsfw": true,
  "maxItems": 1050
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("louisdeconinck/pump-fun-crypto-coin-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("louisdeconinck/pump-fun-crypto-coin-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 '{}' |
apify call louisdeconinck/pump-fun-crypto-coin-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,louisdeconinck/pump-fun-crypto-coin-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/zGQhqaJtjexiRE5JA/builds/bFdLoTmlIUHdXa7q3/openapi.json
