Analytics

List combined daily stats (Meta + RedTrack)

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

get/api/v1/analytics

Request

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

Query parameters

account_idstring

Filter by Meta account ID (e.g. act_123)

campaign_idstring
date_fromstring date

ISO date; defaults to 7 days ago

date_tostring date

ISO date; defaults to today

pageinteger
per_pageinteger

Response

Success

Example response

{
  "data": [
    {
      "id": 10234,
      "stat_date": "2026-04-15",
      "meta_account_id": "act_123456789",
      "campaign_id": "23851234567890123",
      "spend": 42.17,
      "revenue": 78,
      "impressions": 5421,
      "clicks": 312,
      "link_clicks": 204,
      "conversions": 6,
      "cpl": 7.03,
      "roi": 84.9
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 25,
    "total_count": 137,
    "total_pages": 6
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.