---
title: "Summary totals per ad account for a date range"
method: GET
path: "/api/v1/analytics/summary"
tags: ["Analytics"]
---

# Summary totals per ad account for a date range

`GET /api/v1/analytics/summary`

## Request

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

Aggregates spend / revenue / conversions per `meta_account_id`. Defaults to last 7 days.

## Query parameters

- `date_from` string, date
- `date_to` string, date

## Response `200`

Success

- object
  - `data` object[]
    - `ad_account_id` string
    - `account_name` string, nullable
    - `total_spend` number
    - `total_revenue` number
    - `total_conversions` integer
    - `total_impressions` integer
    - `total_clicks` integer
    - `roi` number: Percent

## Other responses

- `400`: Invalid date format
- `401`: Unauthorized

---

[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)
