counr
Enforce rate limits, quotas, and credits — in a single API call
Stop writing Redis scripts. Ship in minutes.
Example request
curl https://api.countr.dev/v1/check-consume \
-H "Authorization: Bearer ck_use_live_xxx" \
-H "Content-Type: application/json" \
-d '{"subject":"user_123","metric":"api_calls","cost":1}'What you get back
{
"allowed": true,
"remaining": 1249,
"reason": null
}Rate limit, quota, and credit systems — without Redis, cron jobs, or edge cases.
- Single API call: check + consume
- Atomic. Fast. Redis-backed.
- Works per user, API key, team, or anything you define
~50ms avg latency. Built for the hot path.
You stay in control — define limits, fallback behavior, and ownership of decisions.