Skip to main content
POST
Get Aggregated Reporting Data
The main reporting endpoint for affiliates. Pivot your performance data by one or more dimensions (offer, country, device, sub-parameters, etc.) over a date range. Returns aggregated metrics including clicks, conversions, revenue, and computed rates. This endpoint is scoped to the authenticated affiliate’s data only — no affiliate filter is needed. The API key determines which affiliate’s data is returned. Results are limited to 10,000 rows. Reduce columns or narrow filters to get complete results.

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the same X-Eflow-Api-Key header as the Network API, but the key belongs to the affiliate user rather than the network admin.

Body

application/json
from
string
required

Start date for the reporting period. Format YYYY-MM-DD.

to
string
required

End date for the reporting period. Format YYYY-MM-DD.

timezone_id
integer
required

Timezone identifier for the request.

currency_id
string
required

Currency code for monetary values (e.g. "USD").

columns
object[]
required

Columns to group/pivot data by. Minimum 1, maximum 10. Only one time column (hour, date, week, month, year) is allowed per request.

Required array length: 1 - 10 elements
customer_value_columns
string[]

Customer Value data points to group by, in addition to columns. Use the identifiers returned by List Customer Value Data Points. An identifier the network has not made visible to you is ignored rather than rejected.

Example:
query
object

Query configuration.

Response

200 - application/json
table
object[]

Array of reporting data rows.