API Reference
Profile Stats
Publishing stats scoped to a single profile (brand): summary totals with prior-period comparison and a daily time-series for the chosen metric
GET
Profile Stats
The same data as Publishing Stats, but scoped to a single profile (brand) — all connected accounts under that profile. Returns the profile metadata plus summary totals (with prior-period comparison) and a daily time-series for the chosen metric.This endpoint requires authentication.
The
{profileId} is the id shown by the Copy profile ID action in the
publishing dashboard’s profile selector.Authentication
Your Submagic API key starting with
sk-Path Parameters
The unique identifier (UUID) of the profile to scope the analytics to
Query Parameters
Start of the date range (ISO 8601), e.g.
2026-05-01T00:00:00Z. When both
from and to are omitted, the range defaults to the last 7 days.End of the date range (ISO 8601), e.g.
2026-05-31T23:59:59Z. Defaults to the
current time. The prior period used for comparison is the equally sized window
immediately before from.Filter by platform. Allowed values:
youtube, tiktok, instagram,
twitter, facebook, linkedin.Which metric the
timeseries returns: views, engagement, or followers.
Defaults to views. The summary block always includes all three.Response
Metadata for the scoped profile
The requested window and the prior period used for comparison
Totals for the current period with prior-period comparison. Each metric is an
object with
current and prior values.The metric the
timeseries represents (echoes the metric query parameter)Daily data points spanning the range (UTC days)

