Documentation Index
Fetch the complete documentation index at: https://www.macaly.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The API is available exclusively on Enterprise plans. Contact us to learn more about enterprise pricing and features.
Getting an API Key
- Log in to your Macaly account
- Click on your profile (top right)
- Go to Settings → API Keys
- Click “Create New API Key”
- Copy the key immediately (it will only be shown once)
Using the API Key
Include the API key in theAuthorization header for all requests:
Example Request
API Key Format
| Property | Value |
|---|---|
| Prefix | macaly_ |
| Full length | 39 characters |
| Example | macaly_abc123def456ghi789jkl012mno345 |
Security Best Practices
- Store keys securely - Use environment variables, never commit to code
- Rotate keys regularly - Revoke and recreate keys periodically
- Use separate keys - Create different keys for different environments/applications
- Monitor usage - Check your balance regularly via the dashboard
- Revoke compromised keys - If a key is exposed, revoke it immediately
Rate Limits
- Failed API key attempts are rate limited to 5 per minute per IP
- This protects against brute-force attacks
Key Management
You can manage your API keys in the Macaly dashboard:- View keys - See all active keys with their creation date and last used time
- Create keys - Generate new keys with optional names for identification
- Revoke keys - Disable keys that are no longer needed or compromised