Get affiliate stats breakdown by period

Returns time-series statistics for a specific affiliate, grouped by day, week, or month. Useful for rendering charts and historical performance views.

Required API Key Scope: service_role

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The identifier of the affiliate

date
required

Start date for the breakdown period (ISO 8601 date format)

date
required

End date for the breakdown period (ISO 8601 date format). Must be after from.

string
enum
required

Time period to group results by

Allowed:
integer
≥ 0

Optional. Filter by the conversion's external_id for this project.
Cannot be used together with conversion_name.

string

Optional. Filter by conversion name (exact match).
Cannot be used together with conversion_external_id.

uuid

Filter stats by a specific currency ID

Responses

400

Bad Request - Invalid parameters, missing required fields, or from date is after to date

401

Unauthorized - Missing or invalid API key, or insufficient scope

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json