← Back to SaaS Starter
API Rate Controller
$4.99
Python API rate limiting per tenant and plan: quotas, throttling, and overage handling. Protect your API from abuse. Runs on Python 3.10+ stdlib only.
- Token bucket and sliding window rate limiting algorithms
- Per-tenant rate limits tied to subscription plan
- Global, per-endpoint, and per-user limit scopes
- Overage handling: block, throttle, or charge
- Rate limit headers (X-RateLimit-Limit, Remaining, Reset)
- Burst allowance for temporary traffic spikes
- Real-time quota dashboard data
- Configurable via JSON with hot-reload support
# Run rate controller demo
python src/main.py --demo
# Check rate limit status
python src/main.py --status --tenant acme --endpoint /api/v1/users
# Configure limits for a plan
python src/main.py --set-plan pro --rpm 1000 --rpd 50000
Grab This — $4.99