Rate limiting your RESTful API

Rate limiting: use X-RateLimit-* HTTP headers and 429 status code

  • X-Rate-Limit-Limit: the rate limit ceiling for that given endpoint
  • X-Rate-Limit-Remaining: the number of requests left for the 15 minute window
  • X-Rate-Limit-Reset: the remaining window before the rate limit resets, in UTC epoch seconds
  • X-RateLimit-Limit: The maximum number of requests you're permitted to make per hour.
  • X-RateLimit-Remaining: The number of requests remaining in the current rate limit window.
  • X-RateLimit-Reset: the time at which the current rate limit window resets in UTC epoch seconds

--

--

--

Développeur web et passionné de finances personnelles

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Basic Git Commands that Every Developer Absolutely Should Know

Scrum has events to inspect and adapt Artifacts

Normalization in DBMS

They only keep the slot open for two weeks before awarding it to someone else and a week had…

Bankruptcy Law

bankruptcy law

Python Fundamentals for Beginners: (For Loops with Lists)

Practical Hints on Choosing Between FAT and NTFS

Transport yourself to the metaverse of Monopolon🤩

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Guillaume Viguier-Just

Guillaume Viguier-Just

Développeur web et passionné de finances personnelles

More from Medium

How to use GraphQL Directives efficiently?

GraphQL Directives

Connection Pooling in Database

Do you know why database is considered backend?

why is database considered backend

How we store data on client (browser). Improve performance, reliability and user experience.