Skip to main content
GET
Get statistics flat (GET)

Authorizations

X-API-Key
string
header
required

Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Query Parameters

rangeFrom
string
required

Date range start. Supports YYYY-MM-DD and YYYY-MM-DD HH:mm:ss.

rangeTo
string
required

Date range end. Supports YYYY-MM-DD and YYYY-MM-DD HH:mm:ss.

page
integer
default:1

Page number.

perPage
integer
default:10

Items per page.

sortField
string

Sort by column key. Default is added_timestamp.

sortDirection
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc
columns
string

Comma-separated metric keys.

breakdown
string

Primary grouping dimension.

breakdowns
string

Additional grouping dimensions (comma-separated).

originalCurrency
enum<string>

Return monetary values in the original currency without conversion. Pass yes to enable.

Available options:
yes,
no

Search text.

Response

Statistics in flat format.

message
string
rows
object[]
totals
object