Skip to main content
GET
Spend by day

Authorizations

Authorization
string
header
required

API key with the vk_ prefix. Create one from the dashboard.

Query Parameters

days
integer<int32>

Window length in days, 1 to 365 (default 30)

Response

200 - application/json

Spend per UTC day with totals and a month-end projection

window_days
integer<int32>
required
start_date
string<date>
required
end_date
string<date>
required
days
object[]
required

One entry per UTC day from start_date to end_date inclusive, oldest first.

totals
object
required
average_per_day_usd
number<double>
required
month_to_date_usd
number<double>
required

Spend since the first of the current month (UTC).

projected_month_usd
number<double>
required

month_to_date_usd scaled to the full month at the month's average pace.

peak
null | object

The day with the highest total, null when nothing was spent.