Discord
Display Discord online count, member count, and online member count.
Server widget online count
GET/discord/:serverId.svg
Path Parameters
required
Server must have widget enabled in Server Settings → Widget.

Invite member count
GET/discord/members/:inviteCode.svg
Path Parameters
required
Public invite code. Uses Discord invite API with with_counts=true.

Invite online member count
GET/discord/online-members/:inviteCode.svg
Path Parameters
required
Public invite code. Uses Discord invite API with with_counts=true.

Data source
The default /discord/{serverId}.svg badge uses the Discord Widget API. No API key required. Cached 1 hour.
The /discord/members/{inviteCode}.svg and /discord/online-members/{inviteCode}.svg badges use the Discord Invite API with with_counts=true, similar to badgen. No API key required. Cached 1 hour.