Authentication
All API requests require an API key passed as a header. Use Authorization: Bearer as the primary scheme.
API Key
Asterwise also accepts the key via an X-API-Key: <key> header for compatibility, but Authorization: Bearer is recommended.
Authorization: Bearer YOUR_API_KEY
Get your key from the Asterwise Dashboard.
Rate Limits
| Plan | Calls/month | Rate limit |
|---|---|---|
| Sandbox | 500 | 10/min |
| Builder | 15,000 | 60/min |
| Launch | 60,000 | 200/min |
| Scale | 3,00,000 | 500/min |
Errors
| Code | Meaning |
|---|---|
| 401 | Invalid or missing API key |
| 429 | Rate limit exceeded |
| 422 | Validation error — check request body |
| 500 | Internal server error |