api keys and rate limiting

Im building an api in my nextjs 14 project that i want to put behind auth using api keys and rate limit it. What is the go to way to handle generating unique api keys and authenticating the request + rate limiting?
1 Reply
Rhys
Rhys12mo ago
Have you seen https://unkey.dev/ ?
unkey.dev
Unkey
Accelerate your API Development
Want results from more Discord servers?
Add your server