Skip to main content
POST
Get statistics flat (POST)

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.

Body

application/json
rangeFrom
string
required

Supports YYYY-MM-DD and YYYY-MM-DD HH:mm:ss.

rangeTo
string
required

Supports YYYY-MM-DD and YYYY-MM-DD HH:mm:ss.

page
integer
default:1
perPage
integer
default:10
sortField
string

Sort by column key. Default is added_timestamp.

sortDirection
enum<string>
default:desc
Available options:
asc,
desc
columns
string

Comma-separated metric column keys to include in the response.

breakdown
string

Primary grouping dimension key (e.g., "offer", "country", "device").

breakdowns
string

Additional comma-separated grouping dimension keys.

originalCurrency
enum<string>

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

Available options:
yes,
no

Free-text search to filter result rows by name or identifier.

filters
object

Key-value filter criteria to narrow results (offers, countries, devices, etc.).

Response

Statistics in flat format.

message
string
rows
object[]
totals
object