Analytics

Get analytics

Published posts in a date range with each channel's latest metrics, plus totals for the whole range.

get/analytics

Request

  • Base URL: https://www.postbase.so/api/v1
  • URL: https://www.postbase.so/api/v1/analytics
  • Auth: HTTP bearer

Query parameters

fromstring date

First day (YYYY-MM-DD). Defaults to 29 days before to.

tostring date

Last day (YYYY-MM-DD). Defaults to today (UTC). Up to 366 days.

post_idstring uuid

Just this post (ignores the dates).

channel_idstring uuid
platformstring
sort'date' | 'impressions' | 'likes' | 'comments' | 'shares' | 'saves' | 'engagement'
order'desc' | 'asc'
limitinteger
offsetinteger

Response

Posts and totals

fromstring date nullable
tostring date nullable
has_moreboolean

Changes

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