Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

109
Vistas
Next.js vercel API rate limiting

I am working on a full-stack Next.js application. There I have these API endpoints

-api/foo
-api/bar
-api/apoo

Bad guys shouldn't be able to loop the API call and take the server down. I think the technical term for that is rate limiting. Since I am not using Nginx or any other server, I think rate-limiting should be handled by the vercel configuration.

How do I achieve this using vercel and Next.js?

Also I would like to know if there is a way to set different different limits to endpoints as well? Like api/foo two requests for a minute, api/bar 10 requests for minute.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda