Analytics

List top-performing posts

Posts ranked by metric (default engagementTotal) accumulated within the window. Covers posts published from the workspace's connected accounts. Filter with platforms and socialAccountIds; from/to may span up to 400 days. Metrics are collected periodically per post, so the most recent hours may still be filling in.

get/v0/analytics/top-posts

Request

  • Base URL: https://api.schedulin.app
  • URL: https://api.schedulin.app/v0/analytics/top-posts
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (authorization code, authorization URL https://api.schedulin.app/oauth/authorize, token URL https://api.schedulin.app/oauth/token, scopes: analytics:read)

Query parameters

fromstring required

Start of the window (inclusive), ISO 8601. The window may span up to 400 days.

tostring required

End of the window (exclusive), ISO 8601

platformsstring[]

Only include these platforms

socialAccountIdsstring[]

Only include these social accounts

metric'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'videoViews' | 'engagementTotal'

Metric to rank by

limitinteger

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.