---
title: "List combined daily stats (Meta + RedTrack)"
method: GET
path: "/api/v1/analytics"
tags: ["Analytics"]
---

# List combined daily stats (Meta + RedTrack)

`GET /api/v1/analytics`

## Request

- Base URL: `https://getscaleforge.com`
- URL: `https://getscaleforge.com/api/v1/analytics`
- Auth: HTTP bearer

Returns `CombinedDailyStat` rows scoped to the user's ad accounts.
Defaults to last 7 days. Requires scope `analytics:read`.

## Query parameters

- `account_id` string
- `campaign_id` string
- `date_from` string, date
- `date_to` string, date
- `page` integer
- `per_page` integer

## Response `200`

Success

- object
  - `data` object[]
    - `id` integer
    - `stat_date` string, date
    - `meta_account_id` string
    - `campaign_id` string, nullable
    - `campaign_name` string, nullable
    - `spend` number
    - `revenue` number
    - `impressions` integer
    - `clicks` integer
    - `link_clicks` integer
    - `conversions` integer
    - `cpl` number, nullable: Cost-per-lead
    - `roi` number: Percent
  - `meta` Pagination
    - `page` integer
    - `per_page` integer
    - `total_count` integer
    - `total_pages` integer

## Other responses

- `400`: Invalid date format
- `401`: Unauthorized
- `403`: Missing analytics:read scope

---

[API](https://skmtc.dev/getscaleforge/apis/scaleforge-api.md) · [All operations](https://skmtc.dev/getscaleforge/apis/scaleforge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getscaleforge/apis/scaleforge-api/revisions/ca382e62f404?raw)
