Get a token
Use your
limitem_sk_... token. The JavaScript SDK also reads LIMITEM_TOKEN or LIMITEM_KEY.Create a limiter
Pick a namespace, a limit, and a duration. Optionally pick an algorithm.
Check the identifier
Call
limit("user:123") — or POST /limit — before you do the expensive thing.Quick start
- JavaScript
- cURL
What to read next
Concepts
Namespaces, products, identifiers, and fail-open.
JavaScript SDK
new limit.em(...) and limit(identifier).Algorithms
Fixed window, sliding window, token bucket, leaky bucket.
API Reference
POST /limit. The one endpoint that matters.