API reference

Reports

Bring clicks, installs and revenue into your own systems.

Get a report

GET/reportsreports:read

Returns totals, daily figures, platforms, links, campaigns, events and delivery results.

ParameterTypeDescription
days integer Period of 7, 30 or 90 days. Defaults to 30.
app_id integer The app this belongs to, from GET /apps.
limit integer Number of results. 1 to 100 for links, up to 5000 for report rankings.
curl -X GET "https://baiocodesolutions.com/api/v1/reports?days=30" \
  -H "Authorization: Bearer $DEEPBERTH_TOKEN"

200 OK

{
    "data": {
        "totals": {
            "people": 18400,
            "bots": 210,
            "installs": 3120,
            "attributed": 2710
        },
        "days": [
            {
                "date": "2026-11-08",
                "label": "Nov 8",
                "people": 640,
                "bots": 8,
                "installs": 104
            }
        ],
        "platforms": [
            {
                "label": "ios",
                "value": 10200
            }
        ],
        "matches": [
            {
                "label": "install_referrer",
                "value": 1400
            }
        ],
        "links": [
            {
                "url": "link.yourbrand.com/summer",
                "title": "Summer sale",
                "deleted": false,
                "people": 1840,
                "installs": 312
            }
        ],
        "campaigns": [
            {
                "name": "summer-2026",
                "people": 1840,
                "installs": 312
            }
        ],
        "events": [
            {
                "name": "purchase",
                "total": 420,
                "revenue": 8390.5
            }
        ],
        "deliveries": [
            {
                "label": "delivered",
                "value": 980
            }
        ]
    }
}

Get cohorts

GET/reports/cohortsreports:read

Returns devices, events and USD revenue by install day and days since install. Available on plans with the cohort API.

ParameterTypeDescription
days integer Period of 7, 30 or 90 days. Defaults to 30.
app_id integer The app this belongs to, from GET /apps.
event string Return only this event name.
curl -X GET "https://baiocodesolutions.com/api/v1/reports/cohorts?days=30&event=purchase" \
  -H "Authorization: Bearer $DEEPBERTH_TOKEN"

200 OK

{
    "data": [
        {
            "install_date": "2026-11-01",
            "day": 3,
            "event_name": "purchase",
            "devices": 118,
            "event_count": 143,
            "revenue_usd": 2841.5
        }
    ]
}