| title | Introduction |
|---|---|
| description | Programmatically access logs and metrics for your apps. |
The Apitally API lets you programmatically access request logs and traffic metrics for your apps. Use it to export data for analysis, or integrate with your own systems.
API access requires the Premium plan.
- List apps: Retrieve all apps in your team.
- List consumers: Retrieve all consumers for an app.
- Get request logs: Retrieve request log data for an app.
- Get traffic: Retrieve aggregated traffic metrics for an app.
The API uses API keys for authentication. Include your API key in the Api-Key header.
curl -H "Api-Key: your-api-key" https://api.apitally.io/v1/appsYou can manage API keys in the Apitally dashboard under Settings > API keys. Keys are scoped to a team and grant access to all apps within that team.
The API allows up to 100 requests per minute per API key. Rate limit information is included in response headers:
X-RateLimit-Limit: Maximum requests allowed per minuteX-RateLimit-Remaining: Requests remaining in the current windowX-RateLimit-Reset: Unix timestamp when the limit resets
If you exceed the limit, the API returns a 429 Too Many Requests response.
Endpoints that return lists use cursor-based pagination. Responses include:
data: Array of items for the current pagehas_more: Boolean indicating whether more items existnext_token: Token to fetch the next page (only present ifhas_moreistrue)
Use the limit query parameter to control page size (default 100, max 1000). To fetch the next page, pass the next_token value from the previous response:
curl -H "Api-Key: your-api-key" \
"https://api.apitally.io/v1/apps/123/request-logs?limit=100&next_token=abc123"