# Discord Invite Validator — Bulk Server Invite Checker (`maged120/discord-invite-validator`) Actor

Check Discord invite links in bulk: valid or dead, server name, member and online counts, verification, boosts, expiry and more.

- **URL**: https://apify.com/maged120/discord-invite-validator.md
- **Developed by:** [Maged](https://apify.com/maged120) (community)
- **Categories:** Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

**Check thousands of Discord invite links in one run.** For each invite you get whether it still works, plus the server name, **member count, online count**, verification and partner badges, boost level and expiry. One clean row per invite, ready to export.

### What does Discord Invite Validator do?

Discord Invite Validator takes a list of [Discord](https://discord.com) invite links or codes and checks each one live. Dead, expired and mistyped invites are flagged. For every working invite it returns the server's public profile: name, description, size, activity, badges and boost status.

It runs on the Apify platform, so you get API access, scheduled runs (for example, re-checking your invite list every morning), integrations with Google Sheets, Zapier and Make, and run monitoring.

### Why use Discord Invite Validator?

- **Server list and directory owners**: find and remove dead invites before your visitors hit them.
- **Community managers and marketers**: check partner and sponsor invites and compare server size and activity before a collaboration.
- **Server buyers and investors**: look up real member and online counts, verification and boost level before a deal.
- **Researchers**: build datasets of community size and engagement across many servers.
- **Link hygiene**: audit invites embedded in websites, bios, docs and videos at scale.

### How to check Discord invites in bulk

1. Click **Try for free** (or **Start**) on this page.
2. Paste your invite links or codes into **Invite links or codes**, one per line. Any format works: `https://discord.gg/abc`, `discord.com/invite/abc`, or just `abc`.
3. Click **Start**.
4. When the run finishes, open the **Output** tab, or download the results as JSON, CSV, Excel or HTML.

### Input

| Field | Description |
|---|---|
| **Invite links or codes** | One invite per line, up to 5,000 per run. Duplicates are removed automatically. |
| **Proxy configuration** | The default setting works well, including for large lists. |

```json
{
    "invites": [
        "https://discord.gg/minecraft",
        "discord-developers",
        "discord.gg/thisinvitedoesnotexist"
    ]
}
```

### Output

Each invite produces one row. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

**A working invite:**

```json
{
    "input": "discord-developers",
    "inviteCode": "discord-developers",
    "inviteUrl": "https://discord.gg/discord-developers",
    "valid": true,
    "status": "valid",
    "inviteType": "server",
    "serverName": "Discord Developers",
    "serverId": "613425648685547541",
    "description": "Welcome to Discord Developers (DDevs), the official home for the community of developers building apps, bots, games, and more with Discord APIs.",
    "memberCount": 305563,
    "onlineCount": 77359,
    "verified": true,
    "partnered": false,
    "community": true,
    "discoverable": true,
    "vanityCode": "discord-developers",
    "boostCount": 53,
    "boostTier": 3,
    "verificationLevel": "high",
    "nsfw": false,
    "channelName": "rules",
    "inviterUsername": null,
    "isPermanent": true,
    "expiresAt": null,
    "iconUrl": "https://cdn.discordapp.com/icons/613425648685547541/a_1d18823294be0ccfbcdec090c8ffcc0d.gif",
    "bannerUrl": "https://cdn.discordapp.com/banners/613425648685547541/f02442ea4d3d218bbeb15ce12cff0387.png",
    "error": null,
    "scrapedAt": "2026-10-01T20:14:57.740282+00:00"
}
```

**A dead invite:**

```json
{
    "input": "discord.gg/thisinvitedoesnotexist",
    "inviteCode": "thisinvitedoesnotexist",
    "inviteUrl": "https://discord.gg/thisinvitedoesnotexist",
    "valid": false,
    "status": "invalid",
    "error": null,
    "scrapedAt": "2026-10-01T20:14:57.740282+00:00"
}
```

#### Data fields

| Field | Meaning |
|---|---|
| `status` | `valid`, `invalid` (dead, expired or nonexistent) or `error` (the check could not finish; run it again) |
| `serverName`, `description` | The server's public name and description |
| `memberCount`, `onlineCount` | Approximate total members and members online right now |
| `verified`, `partnered` | Discord's official Verified and Partner badges |
| `community`, `discoverable` | Whether it is a Community server and listed in Server Discovery |
| `boostCount`, `boostTier` | Number of boosts and boost level (0–3) |
| `verificationLevel` | Join requirements: none, low, medium, high or highest |
| `vanityCode` | The server's custom invite code, if it has one |
| `isPermanent`, `expiresAt` | Whether the invite never expires, and when it expires if it does |
| `channelName`, `inviterUsername` | The channel the invite opens, and who created the invite |
| `iconUrl`, `bannerUrl` | Server icon and banner images |

#### Dataset views

- **Invites**: status, server, size, badges and expiry at a glance.
- **Server details**: the full server profile for each invite.

### How many results will I get?

| Input | Rows |
|---|---|
| 1 invite | 1 row |
| 1,000 invites | 1,000 rows (duplicates removed first) |

You pay per result, so the cost scales with the number of unique invites you submit. Remove duplicates and obviously broken links beforehand to keep the run lean.

### Tips

- **Schedule it.** Re-run your list daily or weekly to catch invites as they die, and to track member growth over time.
- **Paste anything.** Full links, short links and bare codes can be mixed in the same list.
- **Watch the `error` status.** It is rare, but invites that could not be checked are marked `error` and not `invalid`, so you can re-run just those.

### FAQ

**Is checking Discord invites legal?**
The Actor only reads the public preview that Discord shows anyone who opens an invite link. It does not join servers, read messages or access private data. You are responsible for using the results in line with Discord's terms and applicable law.

**Why are member counts "approximate"?**
Discord itself reports rounded, cached member and online counts for invites. They are the same numbers shown on the invite preview.

**Can it check group DM or friend invites?**
Yes. These are returned with `inviteType` set to `group_dm` or `friend`. Server-only fields (members, boosts, badges) will be empty for them.

**Found a bug or need a custom solution?**
Open an issue in the **Issues** tab. We usually reply within a day and can build custom versions on request.

***

⭐ **Found this Actor useful?** A quick review on the Store helps other users find it and keeps it maintained.

# Actor input Schema

## `invites` (type: `array`):

One invite per line. Accepts discord.gg links, discord.com/invite links, or bare invite codes. Duplicates are removed automatically. Up to 5,000 per run.

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

Proxy used for the checks. The default works well for large lists.

## Actor input object example

```json
{
  "invites": [
    "https://discord.gg/minecraft",
    "discord-developers",
    "discord.gg/thisinvitedoesnotexist"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "invites": [
        "https://discord.gg/minecraft",
        "discord-developers",
        "discord.gg/thisinvitedoesnotexist"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("maged120/discord-invite-validator").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 = {
    "invites": [
        "https://discord.gg/minecraft",
        "discord-developers",
        "discord.gg/thisinvitedoesnotexist",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("maged120/discord-invite-validator").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 '{
  "invites": [
    "https://discord.gg/minecraft",
    "discord-developers",
    "discord.gg/thisinvitedoesnotexist"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call maged120/discord-invite-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maged120/discord-invite-validator"
        }
    }
}
```

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/JGQjKgnkItzegmBnU/builds/SkThuQa5LjUOjdmGf/openapi.json
