Skip to main content
GET
Get a workspace's analytics
Needs analytics:read. See Permissions.
Gives the totals of the workspace’s published posts, and in accounts every account of the workspace with its latest follower count, whatever the dates. The dates pick which posts count, by the day each was published. On Free (the workspace owner’s plan), the dates are limited to the workspace’s last 7 days, in its time zone: only the asked days inside them count, and the 7 days when you send no dates. The answer has range_limited. See Plan limits.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
integer
required

The workspace's id.

Query Parameters

start_date
string<date>

Only posts published on this day or later (Y-m-d, in the workspace's time zone). Leave both dates out for lifetime numbers over every post (on the free plan, only the last 7 days; see range_limited).

Example:

"2030-03-01"

end_date
string<date>

Only posts published on this day or earlier. It must not be before start_date.

Example:

"2030-03-31"

Response

The workspace's totals and accounts.

workspace_id
integer
required
total
object
required

Totals of the published copies counted: each counter summed over the copies whose network reports it (0 when none does).

accounts
object[]
required

Every account in the workspace, by id, whatever the dates.

range_limited
object

Only when the workspace's owner is on Free: the numbers cover the posts published in its last 7 days (today and the 6 days before, in the workspace's time zone). Asked dates inside those days are kept and the rest left out; without dates it is these 7 days instead of every post.