Documentation · API reference
GET/api/v1/across/revenue

Revenue, across the sites

Revenue across the sites in hard mode.

Parameters

periodin the address
neededThe period, as everywhere: 7d when left out.
inin the address
needed easy, hard or a group's id; every site when left out.
dimin the address
neededThe dimension: page, entry, exit, source, channel, utm_campaign, country, device, browser, os, …
limitin the address
neededRows at most: 50 when left out, 200 at the most.

The answer

Status 200

AcrossRevenue Revenue across the sites in hard mode, added up per currency.

period
PeriodViewneeded
scope
SitesScopeneeded
sites
list of RevenueSiteneeded
totals
list of RevenueTotalneededEach currency's sum.

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/across/revenue \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/across/revenue", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());