Skip to main content

Step 1: Create a Project

  1. Go to the Throttlr Dashboard and sign in with Google.
  2. Click New Project and give it a name (e.g. my-api).
  3. Your project is created with a unique API Key — copy it from the API Key tab.
Your API key is only shown once in plaintext at creation time. Store it in your environment variables immediately.

Step 2: Create a Rate Limit Rule

In your project dashboard, go to the Rules tab and click New Rule.
Rule names are what you pass to limiter.check(). Use descriptive names like login_attempt or generate_report.

Step 3: Install the SDK


Step 4: Initialize & Check


Step 5: View Logs

Head to the Logs tab in your project dashboard. You’ll see every request checked by the SDK in real time, with status (✅ Allowed / ❌ Blocked), identifier, rule name, and timestamp.

What’s Next?

SDK Reference

Full API for check() and RateLimitermiddleware

Algorithms Explained

Fixed Window vs Sliding Window — which should you use?