AccountAnalytics
account objectrequired
My InstagrammyhandlePossible values: [instagram, tiktok, pinterest, twitter, linkedin, facebook_page, youtube, mastodon]
Provider-specific metadata.
Public URL of the account's profile on the network, when known.
Only present when the account is embedded in a post. Publishing state of this account for the post.
Possible values: [pending, publishing, published, failed]
Only present when the account is embedded in a post. How many parts (for example thread items or a first comment) are live on the network.
Possible values: >= 0
Only present when the account is embedded in a post. URL of the published post on the network, null until it is live.
errors object[]
Only present when the account is embedded in a post. Why publishing to this account failed.
A raw network error is stored as two entries: a readable line
("<Network>: <message> (code <code>)") and an object {platform, code, message, raw} with the
network's original response in raw. Other failures are a single readable string.
- string
- object
UTC, formatted Y-m-d H:i:s.
2026-10-11 09:30:00The analytics tab returned.
Tabs this account supports; any of them can be passed as type.
period objectrequired
Start of the equally long range before this one, used for comparisons.
initial_sync objectrequired
Sync progress while the first analytics import runs.
data objectrequired
Provider- and tab-specific metrics. Chart series are lists of {date, value} points.
Provider- and tab-specific metrics. Chart series are lists of {date, value} points.
{
"account": {
"id": 0,
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My Instagram",
"username": "myhandle",
"image": "string",
"provider": "instagram",
"data": {},
"authorized": true,
"profile_url": "string",
"publish_status": "pending",
"published_parts": 0,
"external_url": "string",
"errors": [
"string",
{
"platform": "string",
"code": "string",
"message": "string"
}
],
"created_at": "2026-10-11 09:30:00"
},
"type": "string",
"tabs": [
"string"
],
"period": {
"start_date": "2024-07-29",
"end_date": "2024-07-29",
"previous_start_date": "2024-07-29",
"previous_end_date": "2024-07-29"
},
"initial_sync": {
"in_progress": true
},
"data": {}
}