Overview

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:

HeaderDescription
reporting-api-tokenYour reporting API token
client-idYour client UUID

Available Endpoints

EndpointDescription
GET /revenueRevenue data aggregated by date and campaign
GET /revenue/domainsRevenue 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 a data array
  • csv - 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

StatusDescription
400Invalid parameters (e.g., date range exceeds 31 days)
401Missing or invalid reporting API token
403Token does not match the provided client ID