Analytics

Endpoints related to social media analytics for published posts.

Get analytics for a published post

get

Returns the latest known analytics and snapshot history for a published post. This endpoint does not trigger a re-fetch.

Authorizations
blotato-api-keystringRequired
Path parameters
idstringRequired

The id of the published post.

Example: 12345
Responses
chevron-right
200

Default Response

application/json
publishedPostIdstringRequired

The id of the published post.

Example: 12345
platformstring ยท enumRequired

Social media platform

Example: twitterPossible values:
lastFetchedAtstring ยท nullableRequired
lastErrorstring ยท nullableRequired
get
/v2/posts/{id}/analytics

List top performing posts

get

Returns the user's top performing published posts ordered by the requested metric over the given time range.

Authorizations
blotato-api-keystringRequired
Query parameters
sincestringOptional

Only include posts published on or after this ISO 8601 timestamp. Defaults to 30 days ago.

untilstringOptional

Only include posts published on or before this ISO 8601 timestamp. Defaults to now.

platformstringOptional
sortBystring ยท enumOptionalPossible values:
limitinteger ยท min: 1 ยท max: 100OptionalDefault: 20
Responses
chevron-right
200

Default Response

application/json
get
/v2/analytics

Last updated