The auth platform for
modern applications
Global Infrastructure
Auth at the edge,
everywhere
Edge Verification
Sub-50ms API key verification deployed globally on the edge.
Built-in Rate Limits
Named rate limits with cost tracking for usage-based pricing.
Real-time Analytics
Monitor auth events and API usage with live dashboards and alerts.
Sessions, simplified
Multi-strategy session validation with JWT, Bearer tokens, and cookies. Built on Better Auth with full TypeScript support.
import { createAuthClient } from '@erikey/node';
const authClient = createAuthClient({
authUrl: process.env.ERIKEY_URL,
});
// Validate session from request
const result = await authClient.validateSession(request);
if (result.session) {
console.log('User:', result.session.user);
console.log('Organization:', result.session.organization);
}API keys, one line
Zero-config API key verification with built-in rate limiting, permissions, and customer identity. Perfect for B2B SaaS and developer APIs.
import { verifyKey } from '@erikey/node';
const { result, error } = await verifyKey({
key: request.headers.get('x-api-key'),
});
if (error) {
return new Response(error.message, { status: 401 });
}
// Access verified key data
console.log(result.valid); // true
console.log(result.customer); // { id, name, email }
console.log(result.permissions); // ["users.read", "users.write"]Architected for speed and reliability
Edge-deployed infrastructure with global distribution. Type-safe SDKs, built-in rate limiting, and multi-tenant isolation out of the box. Ship auth that scales with your product.
- <50ms
- Verification latency
- 10M+
- Keys verified daily
- 99.99%
- Uptime SLA
Ready to get started?
Start building with secure authentication and API key management in minutes.
Not sure where to start? Talk to sales
