API Introduction
The analyze.swiss API allows you to programmatically access your analytics data and send events.
Base URL
Section titled “Base URL”https://analyze-api.thismatters.workers.dev/api/v1Authentication
Section titled “Authentication”All API requests require authentication via API key:
Authorization: Bearer YOUR_API_KEYRate Limits
Section titled “Rate Limits”| Plan | Requests/min |
|---|---|
| Free | 60 |
| Pro | 300 |
| Enterprise | Unlimited |
Response Format
Section titled “Response Format”All responses are JSON:
{ "success": true, "data": { ... }}Errors:
{ "success": false, "error": { "code": "RATE_LIMIT", "message": "Rate limit exceeded" }}