API Keys
Atlas uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard.| Key Type | Prefix | Description |
|---|---|---|
| Test | sk_test_... | Use for development. No real charges. |
| Live | sk_live_... | Use in production. Real charges processed. |
Making Authenticated Requests
Include your API key in theAuthorization header as a Bearer token:
Warning: Never expose your secret key in client-side code, public repositories, or client-side JavaScript. Use environment variables and server-side code to make API calls.
Idempotency
Use idempotency keys to safely retry requests without accidentally performing the same operation twice. Include theIdempotency-Key header with a unique value (e.g., order ID or UUID).
Rate Limits
The API is rate limited to ensure fair usage:| Limit | Value |
|---|---|
| Requests per minute | 1,000 |
| Requests per day | 100,000 |
| Concurrent requests | 50 |
X-RateLimit-Limit- Maximum requests allowedX-RateLimit-Remaining- Requests remaining in current windowX-RateLimit-Reset- Unix timestamp when the limit resets