0

Is there a possibility to set an API limit for a specific endpoint in Vercel?.

I am Building an Next.js Application for a certain endpoint I want to limit the number of incoming request from the user's is there a possibility to do it?

Is there a predefined solution from vercel?

imnotiam
  • 94
  • 8
  • Check https://vercel.com/new/templates/next.js/api-rate-limit-upstash – paulogdm Jun 05 '23 at 15:35
  • @paulogdm, Thanks. But is there any upper limit within vercel for any api that is created. Example: If I have an API which is built using Next.js – imnotiam Jun 06 '23 at 07:41
  • Also, does web-client in vercel have API Gateway or rate-limiting feature? – imnotiam Jun 06 '23 at 07:42
  • 1
    There are limits for concurrency (you don't want to hit that at all): https://vercel.com/docs/concepts/limits/overview#serverless-function-concurrency Any custom limits needs to be handled by your own code. – paulogdm Jun 06 '23 at 19:14

0 Answers0