Skip to main content
GET
string
required
Your project’s domain, e.g. example.com.
string
Time period. See Periods on Account API page. Defaults to 30d. Also accepts all (since your first event), yesterday and custom; those two use your project’s time zone.
string
First day to include, YYYY-MM-DD, with period=custom. Days are in your project’s time zone. A range is capped at 366 days.
string
Last day to include, YYYY-MM-DD, with period=custom.
integer
Max rows per section. Maximum 500, default 100. A section that reaches the limit is marked # Top N rows only.

Response

text/csv
Response body is CSV, not JSON.
string
attachment; filename="openrevenue-{domain}-{period}.csv".

Errors