Introduction
Authentication
Learn how to authenticate your requests to our API
Authentication
Our API uses a multi-layered authentication system designed to ensure secure access while maintaining high performance and reliability.
API Key Authentication
All requests to our API must include an API key in the headers:
Domain-Based Access Control
The API implements domain-based CORS protection:
- Each API key is associated with specific allowed domains
- Requests must include both the API key and origin header
- The system validates that the origin is allowed for the provided API key
- If validated, appropriate CORS headers are set for the response
Rate Limiting
To protect our services, we implement Redis-based rate limiting:
- Default limit: 40 requests per time window
- Block duration: 12 seconds
- Rate limits are tracked per IP address
- Special bypass for trusted API keys
Special Access
For special access please contact the founding team.
Best Practices
- Implement proper error handling for rate limit responses (429 status)
- Setup the correct cors settings for the given api key
Error Responses
The API may return the following authentication-related errors:
401
: Missing or invalid API key403
: Unauthorized domain429
: Rate limit exceeded
For implementation examples, refer to our SDK Introduction guide.