Is your feature request related to a problem? Please describe.
Rate limiting is one of the most common production requirements when building on Supabase. Today, developers must implement their own solutions whether through custom Postgres functions, Redis in Edge Functions, external proxies (Cloudflare, Zuplo, etc.), or third-party services. This adds boilerplate, maintenance overhead, and inconsistency across projects.
Describe the solution you'd like
A native, built-in rate limiter that is:
config.toml for self-hosted)429 responses with Retry-After headersAdditional context
We recently implemented a production-grade rate limiter for our own backend and have been using it successfully. We would love to contribute this implementation back to Supabase so it becomes a first-class, built-in feature.
We are happy to open a PR and adapt the code to fit Supabase’s architecture as well as documentation and tests.
Questions for the team
We’re ready to move forward with a PR once we have guidance. Thank you!
Amirhossein Ghanipour requests a built-in rate limiter for Supabase, highlighting the current need for custom solutions that add complexity. The proposed feature should be configurable via the dashboard, support various strategies, and work across multiple Supabase components. Amirhossein is willing to contribute their implementation and seeks guidance on integration.
This is a wonderful feature. We also needed this ability a lot when we were developing our application using Supabase..