acme / api Open
Spec: Rate-limit free-tier API keys
Acceptance criteria
Given a free-tier key that has made 100 requests in the last minute, when it sends another, then the API returns 429 with a Retry-After header.
Given a paid key, when it sends requests, then the current limits apply.
src/middleware/rateLimit.ts:42 at 7f3b2c1