DELAPARRA
Index
Color
NL
Category: HTTP headers

X-Rate-Limit-*

Explained by Updated

What is X-Rate-Limit-*?

X-Rate-Limit-*: Custom headers reporting rate-limit state. Conventional but not standardised — X-Rate-Limit-Limit, X-Rate-Limit-Remaining, X-Rate-Limit-Reset. X-Rate-Limit-* and similar headers tell API clients about their rate limit: how many requests are allowed, how many remain and when the limit resets. Names vary by API, such as X-RateLimit-Remaining or RateLimit-Remaining. They are a convention, not a strict standard, although a standard RateLimit header is being developed. Each provider documents its own names and formats.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about X-Rate-Limit-*

What should you keep in mind with X-Rate-Limit-*?

When consuming an API, read these headers and slow down before you hit the limit, rather than waiting for 429 errors. That is especially important for imports and synchronisation jobs that make many calls. When building an API, sending them is a friendly gesture that helps integrators behave well. Laravel's rate limiter adds X-RateLimit-Limit and X-RateLimit-Remaining headers automatically.

What does an example of X-Rate-Limit-* look like?

X-Rate-Limit-Remaining: 47 X-Rate-Limit-Reset: 1735689600

At a glance

CategoryHTTP headers
Explained by
Updated

More HTTP headers terms

All terms starting with X

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.