Access revenue and analytics data for your campaigns
The Reporting API provides programmatic access to revenue and analytics data for your campaigns.
Base URL
https://api.appnomix.app/api/v2/reporting
Authentication
All requests require two headers:
| Header | Description |
|---|---|
reporting-api-token | Your reporting API token |
client-id | Your client UUID |
Available Endpoints
| Endpoint | Description |
|---|---|
GET /revenue | Revenue data aggregated by date and campaign |
GET /revenue/domains | Revenue data broken down by domain and source |
Response Formats
All endpoints support both JSON and CSV responses. Specify the format using the format query parameter:
json(default) - Returns a JSON object with adataarraycsv- Returns comma-separated values
Date Range
All endpoints require start_date and end_date parameters in YYYY-MM-DD format. The maximum date range is 31 days.
Error Responses
| Status | Description |
|---|---|
| 400 | Invalid parameters (e.g., date range exceeds 31 days) |
| 401 | Missing or invalid reporting API token |
| 403 | Token does not match the provided client ID |