Skip to main content
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.
Both from and to are optional — omit them to get the last 7 days (the dashboard’s default period).
This endpoint requires authentication.
The {profileId} is the id shown by the Copy profile ID action in the publishing dashboard’s profile selector.

Authentication

string
required
Your Submagic API key starting with sk-

Path Parameters

string
required
The unique identifier (UUID) of the profile to scope the analytics to

Query Parameters

string
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.
string
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.
string
Filter by platform. Allowed values: youtube, tiktok, instagram, twitter, facebook, linkedin.
string
Which metric the timeseries returns: views, engagement, or followers. Defaults to views. The summary block always includes all three.

Response

object
Metadata for the scoped profile
object
The requested window and the prior period used for comparison
object
Totals for the current period with prior-period comparison. Each metric is an object with current and prior values.
string
The metric the timeseries represents (echoes the metric query parameter)
array
Daily data points spanning the range (UTC days)

Error Responses

object
object
object
object
object