Discord Online Count

Display the live online member count for a Discord server.

Show how many members are currently online using the Discord widget API.

GET/discord/:serverId.svg

Path Parameters

required

Server must have widget enabled in Server Settings → Widget.

![badge](https://shieldcn.dev/discord/1316199667142496307.svg)
badge preview

URL format

/discord/{serverId}.svg

Examples

discord
Default variant
discord
Branded (blurple)
discord
Secondary variant
discord
Outline variant

Copy-paste examples

discord

Branded — Discord blurple background

![discord](https://shieldcn.dev/discord/1316199667142496307.svg?variant=branded)

How to find your server ID

  1. Enable Developer Mode in Discord (User Settings → Advanced → Developer Mode)
  2. Right-click your server name and click "Copy Server ID"

Requirements

The server must have the widget enabled:

  1. Go to Server Settings → Widget
  2. Enable "Enable Server Widget"

Data source

Uses the Discord Widget API. No API key required. Cached 1 hour.