API Key Management
Instant key issuance, rate limiting, usage analytics, and Stripe billing โ the complete access layer for your API. Drop in one middleware and you're done.
Free for 1,000 calls/mo. No credit card required.
import Gate from '@gate/sdk'
const gate = new Gate(process.env.GATE_SECRET)
// Protect any route โ one line
app.use('/api', gate.protect())
// Gate injects into every request:
// req.gate.plan โ "pro"
// req.gate.remaining โ 98,241
// req.gate.keyId โ "key_xK8mP2n9"
Powering APIs at
Gate handles the parts of API access that take weeks to build right โ so you ship the API itself, not the infrastructure around it.
Generate live and test keys the moment a customer signs up. Scoped, revocable, and tied to their plan automatically.
Per-key rate limits enforced at the edge. Set monthly call quotas and per-second burst limits by plan tier.
Real-time call volume, latency percentiles, error rates, and top endpoints โ for you and surfaced to your customers.
Plans sync directly with Stripe subscriptions. Upgrade, downgrade, and overage billing handled without custom code.
Get notified when keys are created, revoked, or hit limits. Subscribe to any event with a single URL.
Multiple team members per account. Fine-grained roles control who can issue keys, view analytics, or manage billing.
Define your API, set rate limits per tier, and connect your Stripe account. Gate generates your secret key and SDK config instantly.
One import and one line of middleware. Gate intercepts every request, verifies the key, checks the plan, and injects usage data โ all before your handler runs.
Customers sign up, get keys, and start calling your API immediately. You see every call in the dashboard. Billing runs on autopilot.
No per-key fees on the base plan. Upgrade when your API starts to grow.
Create a free account and explore the full developer dashboard โ API keys, usage stats, plan management, and the Stripe upgrade flow.
Quick demo: sign up with any email โ no real email sent.