Skip to main content
GET
Get revenue analytics over time

Authorizations

Authorization
string
header
required

A personal API token from the platform's settings page, or an OAuth access token.

Query Parameters

uid
integer
required

A single publisher ID

range
enum<string>
default:seven_days

Date range to report on. Preset ranges end yesterday. week_to_date, month_to_date, quarter_to_date and year_to_date run from the start of the current period to yesterday. month_on_month covers the last 12 full months plus this month so far, and quarter_on_quarter the last two years, both grouped by month or quarter. custom uses start and end (YYYY-MM-DD) and falls back to all_time when either is missing. An empty value means yesterday. Other values return a 400 error

Available options:
custom,
all_time,
yesterday,
seven_days,
fourteen_days,
thirty_days,
three_months,
six_months,
week_to_date,
month_to_date,
quarter_to_date,
year_to_date,
last_week,
last_month,
last_quarter,
last_year,
month_on_month,
quarter_on_quarter
start
string<date>

Start date (YYYY-MM-DD) when range is custom

end
string<date>

End date (YYYY-MM-DD) when range is custom

date_group
enum<string>
default:day

Groups the series by day, month or quarter. Months and quarters start from the first day of the month the range starts in. month_on_month and quarter_on_quarter group automatically. Other values group by day

Available options:
day,
month,
quarter

Response

OK: Revenue and traffic series.

results
object
required

The report

success
boolean
required

Always true