Skip to content

Analytics for a period

GET
/analytics/overview
curl --request GET \
--url 'https://api.dropslate.top/v1/analytics/overview?compare=0' \
--header 'Authorization: Bearer <token>'

Posts published through Dropslate that went live in the period, with the latest numbers each network reported, and the accounts’ followers and views by day. The worker reads accounts daily and posts every few hours (young posts more often), so numbers can lag a few hours behind the network. coverage says per account whether its login lets Dropslate read analytics (needs_reconnect: connect it again to grant it).

from
string format: date

UTC day, included. Default: 29 days before to. Moved up to the plan’s history (Free 30 days, Creator 90, Studio and Agency 365).

to
string format: date

UTC day, included. Default: today. At most 366 days after from.

accountIds
string

Comma-separated; an id of another workspace answers 404.

platforms
string

Comma-separated, e.g. youtube,instagram.

compare
string
Allowed values: 0 1

Also total the period just before.

Totals, by day and by network.

Media typeapplication/json
object
period
object
from
string format: date
to
string format: date
previous
object
from
string format: date
to
string format: date
history
object
days
integer
nullable
clamped
boolean
totals
object
views

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
engagements

Likes, comments, shares and saves together.

integer
nullable
engagementRate

Engagements per view; null when either is unknown or nothing was viewed.

number
nullable
followersNet

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
postsLive
integer
previousTotals
object
views

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
engagements

Likes, comments, shares and saves together.

integer
nullable
engagementRate

Engagements per view; null when either is unknown or nothing was viewed.

number
nullable
followersNet

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
postsLive
integer
daily
Array<object>
object
date
string format: date
platform
string
Allowed values: youtube instagram facebook threads
views

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
engagements

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
followers

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
followersNet

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
byPlatform
Array<object>
object
platform
string
Allowed values: youtube instagram facebook threads
views

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
engagements

Null when the network gives no such metric; never 0 for unknown.

integer
nullable
engagementRate

Engagements per view; null when either is unknown or nothing was viewed.

number
nullable
postsLive
integer
coverage
Array<object>
object
accountId
string
platform
string
Allowed values: youtube instagram facebook threads
insights
string
Allowed values: ok needs_reconnect unsupported pending
updatedAt
string format: date-time
nullable
countries

Followers by country (ISO 3166-1 alpha-2), the latest breakdown of each account up to the end of the period, summed; Instagram and Threads give one (1.4.0).

Array<object>
object
country
string
followers
integer
countriesFrom

The networks the countries come from.

Array<string>
Allowed values: youtube instagram facebook threads
updatedAt
string format: date-time
nullable
Example
{
"daily": [
{
"platform": "youtube"
}
],
"byPlatform": [
{
"platform": "youtube"
}
],
"coverage": [
{
"platform": "youtube",
"insights": "ok"
}
],
"countries": [
{
"country": "UA"
}
],
"countriesFrom": [
"youtube"
]
}

A date or filter that is not one (invalid_request).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}

No valid key, session or MCP token was sent (unauthenticated).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}

The workspace’s plan does not include the public API (quota_exceeded, with upgradeUrl).

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}

Does not exist, or belongs to a different workspace - the two look identical from here.

Media typeapplication/problem+json
object
type

Where the code is explained: the errors page of the API reference, at the code.

string format: uri
title

The code again, for readers of RFC 9457.

string
status
integer
code
required
string
message
required
string
hint
string
details

Facts some codes carry: retryAfterSeconds on rate_limited, rows on plan_has_issues, kind, plan, limit, used and upgradeUrl on quota_exceeded. A quota kind is one of accounts, posts, storage, file, members, groups, api and mcp; for groups, api and mcp (a plan without groups, without the public API, or one that lets an agent read but not publish) limit and used are 0.

limit

quota_exceeded only: what the plan includes.

number
used

quota_exceeded only: what is in use.

number
upgradeUrl

quota_exceeded only: where the plans and what each includes are listed.

string format: uri
Example
{
"type": "https://docs.dropslate.top/api-reference/errors/#not_found",
"status": 404,
"code": "not_found",
"message": "The post does not exist.",
"hint": "Check the id and try again."
}