discord-is.fun
ReferenceHTTP API

Rate limits

Rate limit headers, the global and invalid-request limits, and other hard caps.

21 entries Rate limits
21 / 21

Response headers 8

HeaderMeaning
X-RateLimit-LimitThe number of requests that can be made in the current bucket window.
X-RateLimit-RemainingRequests left before the bucket is exhausted.
X-RateLimit-ResetEpoch time in seconds (with decimals) at which the bucket resets.
X-RateLimit-Reset-AfterSeconds until the bucket resets. Can have decimals for millisecond precision.
X-RateLimit-BucketOpaque id for the bucket hit. Shared across similar routes; excludes top-level resources in the path.
X-RateLimit-GlobalOnly on 429s, set when the limit hit is the global one rather than per-route.
X-RateLimit-ScopeOnly on 429s: user, global or shared. Shared 429s don’t count toward the invalid request limit.
Retry-AfterSeconds to wait before retrying. Mirrored as retry_after in the 429 JSON body.

Limits worth knowing 13

LimitValueDetails
Global REST limit50 req/sPer bot token (or per IP when unauthenticated). Independent of route buckets. Interaction endpoints are exempt.
Invalid requests10,000 / 10 minPer IP. 401, 403 and 429 responses count; hitting it means a temporary Cloudflare ban.
Gateway send rate120 / 60 sEvents an app can send per gateway connection, about 2 per second.
Gateway payload size4096 bytesLarger payloads close the connection with 4002.
Identify concurrencymax_concurrencyShards that may identify per 5 seconds, from session_start_limit on Get Gateway Bot.
Initial interaction response3 sRespond or defer within 3 seconds or the token is invalidated.
Interaction token lifetime15 minFollowups and edits to the original response work for 15 minutes.
Message content2000 charsPer message sent by a bot or webhook.
Embeds per message10Up to 10 rich embeds, 6000 characters combined across all of them.
Components per message40Total components including nested ones. Legacy messages: 5 action rows, 5 buttons each.
Select options25Max options in a string select, and the max for min_values / max_values.
Slowmode0–21600 srate_limit_per_user range. Bots and members with BYPASS_SLOWMODE are unaffected.
Default upload limit20 MiBPer file. Higher with Nitro or server boosts; attachment_size_limit on interactions gives the effective max.
↑ ↓ navigate↵ open> commands/ focus filter

Appearance

Theme

Accent colour

Font

Density

Corners

Motion

Sidebar

Keyboard shortcuts

CtrlK
Search everything
>
In search: run a command (theme, density, copy URL…)
/
Filter the current list
W
Watch the current page
JK
Older, newer build (Shift: with notes)
[
Collapse or expand the sidebar
,
Appearance
?
Keyboard shortcuts
Esc
Close

Press G and then a letter to jump straight to a page

Overview

D
Dashboard
A
Activity
J
This week
Z
Daily digests
N
News
W
Watchlist
U
Status

Client

B
Builds
X
Compare builds
S
Strings
L
Client flags
M
Mobile builds
I
Release stats

Experiments & rollouts

E
Experiments
R
Rollouts

Developer API

C
API changelog
H
OpenAPI changes
Y
Endpoints
Q
Upcoming
P
API routes

Platform

V
Versions
K
Stickers
G
Games

Data & tools

T
Tools
F
Reference
O
Feeds & data

Keyboard shortcuts

CtrlK
Search everything
>
In search: run a command (theme, density, copy URL…)
/
Filter the current list
W
Watch the current page
JK
Older, newer build (Shift: with notes)
[
Collapse or expand the sidebar
,
Appearance
?
Keyboard shortcuts
Esc
Close

Press G and then a letter to jump straight to a page

Overview

D
Dashboard
A
Activity
J
This week
Z
Daily digests
N
News
W
Watchlist
U
Status

Client

B
Builds
X
Compare builds
S
Strings
L
Client flags
M
Mobile builds
I
Release stats

Experiments & rollouts

E
Experiments
R
Rollouts

Developer API

C
API changelog
H
OpenAPI changes
Y
Endpoints
Q
Upcoming
P
API routes

Platform

V
Versions
K
Stickers
G
Games

Data & tools

T
Tools
F
Reference
O
Feeds & data