LimitYourAPI is a software-as-a-service application that protects auth, billing, and AI endpoints with atomic Redis rate limits, realtime visibility, and fast drop-in integration.
import { LimitYourAPIClient } from 'limityourapi-sdk';
import express from 'express';
const app = express();
// Initialize client
const limiter = new LimitYourAPIClient({ apiKey: process.env.RL_API_KEY });
// Protect all routes globally
app.use(limiter.middleware());
app.listen(3000);
LimitYourAPI is a cloud-based rate limiting service that helps developers protect their web applications and APIs from abuse, scraping, and excessive usage. We provide a centralized platform to create rate-limiting rules, manage user quotas, and monitor traffic in real-time, ensuring your servers stay online and performant. Users can sign in with Google to access the dashboard; we only use your email address and profile picture for authentication purposes. Read our Privacy Policy to learn how we handle your data.
Backed entirely by Redis Lua scripts. Ensures strict rate limits across distributed systems without race conditions.
Select the mathematical model that fits your use case. Apply Token Bucket or Sliding Window logic per endpoint.
Enforce limits globally, by individual IP address, by customer API key, or mapped to specific URL paths.
Engineered for resilience. If the rate limiter service times out or loses connection, your API implicitly allows traffic.
Inspect drop rates, blocked IP ranges, and overall throughput volumes directly from the dashboard.
Integrate natively using Express middleware in JavaScript, or hit the REST API directly from Go, Rust, or Python.
A bucket starts with a set capacity of tokens. Every request removes a token. Tokens are replenished at a constant rate over time.
Tracks exact timestamps of recent requests. Counts the number of requests strictly within the trailing time window.
import { LimitYourAPIClient } from 'limityourapi-sdk';
import express from 'express';
const app = express();
const limiter = new LimitYourAPIClient({
baseUrl: 'https://api.v2.limityourapi.tech',
apiKey: process.env.RL_API_KEY,
timeoutMs: 500 // Fails open after 500ms
});
// Protect a strict route by IP
app.post('/api/auth/login', limiter.middleware({
scope: 'ip',
rule: 'strict_login_limit'
}), (req, res) => {
// Application logic ...
});
// Protect a public API route by API Key
app.get('/api/v1/data', limiter.middleware({
scope: 'api_key'
}), (req, res) => {
// Application logic ...
});
Edge firewalls are built for infrastructure protection. LimitYourAPI is built for deep, application-level quota management and superior developer experience.
| Capability | LimitYourAPI | Cloudflare / AWS WAF |
|---|---|---|
| Application-Level Context | Deep (Rate limit by User ID, API Key, Custom Tier) | Shallow (Limited to IP, headers, geo) |
| AI / LLM Token Limiting | Built-in Cost & Token Bucket routing | Not natively supported |
| Developer Experience (DX) | 2 lines of code with Native SDKs | Complex IaC / Terraform / Dashboard configs |
| Algorithm Choice | Sliding Window & Token Bucket | Mostly Fixed Window |
| Vendor Lock-in | Zero. Runs on any cloud (Vercel, AWS, GCP) | Locked to their specific network/DNS edge |