# Discord Server Search Scraper — 1.9M+ Servers (`easyapi/discord-server-search-scraper`) Actor

Search 1.9M+ indexed Discord servers with member, online, boost and vanity filters — plus verified invite links for discovery and outreach.

- **URL**: https://apify.com/easyapi/discord-server-search-scraper.md
- **Developed by:** [EasyApi](https://apify.com/easyapi) (community)
- **Categories:** Social media, Lead generation, Open source
- **Features:** Limited permissions
- **Stats:** 137 total users, 36 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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

## Discord Server Search Scraper

Search a 1.9M+ indexed Discord catalogue with real filters — members, online count, boosts, vanity, NSFW — and walk away with invite links when available.

### What does Discord Server Search Scraper do?

You search by keywords (name / vanity) and optional filters. The Actor returns matching servers from the index so growth, partnerships and directory products can discover communities without manual Discord browsing.

### Why use this Actor?

- Scale: 1.9M+ servers indexed for discovery
- Actionable filters (size, online, age, boosts, vanity) plus invites when verified
- Built for community / growth workflows, not single-server scrapes
- Pay per result

### Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `keywords` | array | yes | Search by server name or vanity |
| `maxItems` | integer |  | Max servers per keyword |
| `maxPages` | integer |  | Max pages per keyword |
| `from_members` / `to_members` | string |  | Member count range |
| `from_online` / `to_online` | string |  | Online member range |
| `from_boosts` / `to_boosts` | string |  | Boost count range |
| `from_created` / `to_created` | string |  | Created date range `YYYY-MM-DD` |
| `from_added` / `to_added` | string |  | Added-to-index date range |
| `tag` | string |  | Clan tag filter |
| `badge` | string |  | Badge ID filter |
| `nsfw` | string |  | NSFW filter |
| `vanity` | string |  | Vanity URL availability |
| `proxyConfiguration` | object |  | Proxy settings |

### Output fields

| Field | Description |
| --- | --- |
| server name | Display name |
| invite / URL | Join link when available |
| member / meta | Size and listing metadata |
| tags / category | Discovery filters |

### Example run

```json
{
  "keywords": ["ai"],
  "maxItems": 50,
  "from_members": "1000"
}
```

Open the run’s dataset in Apify Storage to export results.

### Use cases

- Find partnership communities by niche and size
- Build or refresh Discord directories
- Research where a product launch should show up

### Pricing & limits

See the Actor page for pricing. Use proxy if the index endpoint throttles. Respect Discord’s terms; only use public server listing data lawfully.

### FAQ

**Are invites always valid?** Invites are verified when possible, but Discord links can expire — re-check before outreach at scale.

**Looking for users, not servers?** [Discord User Search Scraper](https://apify.com/easyapi/discord-user-search-scraper).

### Related Actors

- [Discord User Search Scraper](https://apify.com/easyapi/discord-user-search-scraper)

# Actor input Schema

## `keywords` (type: `array`):

Keywords to search Discord servers by name or vanity URL

## `tag` (type: `string`):

Filter by clan tag, e.g. SAB

## `badge` (type: `string`):

Filter by badge ID number. Leave empty for any badge

## `from_members` (type: `string`):

Minimum member count

## `to_members` (type: `string`):

Maximum member count

## `from_online` (type: `string`):

Minimum online member count

## `to_online` (type: `string`):

Maximum online member count

## `from_created` (type: `string`):

Server created on or after this date (YYYY-MM-DD)

## `to_created` (type: `string`):

Server created on or before this date (YYYY-MM-DD)

## `from_added` (type: `string`):

Server added on or after this date (YYYY-MM-DD)

## `to_added` (type: `string`):

Server added on or before this date (YYYY-MM-DD)

## `from_boosts` (type: `string`):

Minimum server boost count

## `to_boosts` (type: `string`):

Maximum server boost count

## `nsfw` (type: `string`):

Filter NSFW servers

## `vanity` (type: `string`):

Filter servers by vanity URL availability

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

Maximum number of servers to scrape per keyword

## `maxPages` (type: `integer`):

Maximum number of pages to scrape per keyword

## `proxyConfiguration` (type: `object`):

Proxy settings for the actor

## Actor input object example

```json
{
  "keywords": [
    "ai"
  ],
  "tag": "",
  "badge": "",
  "from_members": "",
  "to_members": "",
  "from_online": "",
  "to_online": "",
  "from_created": "",
  "to_created": "",
  "from_added": "",
  "to_added": "",
  "from_boosts": "",
  "to_boosts": "",
  "nsfw": "",
  "vanity": "",
  "maxItems": 50,
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "keywords": [
        "ai"
    ],
    "tag": "",
    "badge": "",
    "from_members": "",
    "to_members": "",
    "from_online": "",
    "to_online": "",
    "from_created": "",
    "to_created": "",
    "from_added": "",
    "to_added": "",
    "from_boosts": "",
    "to_boosts": "",
    "nsfw": "",
    "vanity": "",
    "maxItems": 50,
    "maxPages": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("easyapi/discord-server-search-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 = {
    "keywords": ["ai"],
    "tag": "",
    "badge": "",
    "from_members": "",
    "to_members": "",
    "from_online": "",
    "to_online": "",
    "from_created": "",
    "to_created": "",
    "from_added": "",
    "to_added": "",
    "from_boosts": "",
    "to_boosts": "",
    "nsfw": "",
    "vanity": "",
    "maxItems": 50,
    "maxPages": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("easyapi/discord-server-search-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 '{
  "keywords": [
    "ai"
  ],
  "tag": "",
  "badge": "",
  "from_members": "",
  "to_members": "",
  "from_online": "",
  "to_online": "",
  "from_created": "",
  "to_created": "",
  "from_added": "",
  "to_added": "",
  "from_boosts": "",
  "to_boosts": "",
  "nsfw": "",
  "vanity": "",
  "maxItems": 50,
  "maxPages": 10
}' |
apify call easyapi/discord-server-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,easyapi/discord-server-search-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/mVcguV4FPfxPDay5X/builds/1kk6QAhOcHG4l7kVc/openapi.json
