RateLimit header fields

Response headers that tell a client its rate-limit budget: the limit, how much remains and when it resets.

In more detail

They are hints for pacing, not permission, and the server still enforces the limit. Keep their units and scope consistent so clients can pace themselves without guessing.

Examples

In the APIs course: The IETF is standardising RateLimit and RateLimit-Policy; many services still use the older X-RateLimit-Limit, -Remaining and -Reset, as the course service does.
X-RateLimit-Limit: 2
X-RateLimit-Remaining: 1

Related terms

Taught in

References