Analytics

Get post samples

Changed on

Returns the raw readings behind a post's numbers, oldest first.

Each sample is one analytics sync: the views and engagement as the platform reported them at syncedAt. Zernio only stores what it fetched from the platform, so nothing here was self-reported.

Null values

  • shares and saves are null on platforms that do not return that counter, which is different from a real zero.
  • watchSeconds and completionRate are null when the platform gives no watch signal.
get/v1/analytics/samples

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/analytics/samples
  • Auth
    HTTP bearer

Query parameters

postIdstring required

The post to read samples for. Accepts an external post id, a platform post id or a Zernio post id.

fromDatestring date-time

Earliest sample to return (ISO 8601).

toDatestring date-time

Latest sample to return (ISO 8601).

limitinteger

Maximum number of samples.

Response

Samples for the post

postIdstring required

The postId that was requested

Changes