Skip to content
Back to Templates

Vercel Edge Middleware Rate Limit

Add rate limiting to your application with any frontend framework.

Vercel rate Limit example

Vercel Edge Middleware + Vercel KV Rate Limit

This template shows how to add rate limiting to any application with Vercel KV and Vercel Edge Middleware.

Note: If you are using Next.js, you can use the built in Middleware support rather than needing @vercel/edge used in this package. Please refer to the Next.js example.