Skip to main content
GET
Get analytics

Authorizations

Authorization
string
header
required

A pb_live_ API key

Query Parameters

from
string<date>

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

to
string<date>

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

post_id
string<uuid>

Just this post (ignores the dates).

channel_id
string<uuid>
platform
string
sort
enum<string>
default:date
Available options:
date,
impressions,
likes,
comments,
shares,
saves,
engagement
order
enum<string>
default:desc
Available options:
desc,
asc
limit
integer
default:50
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

Posts and totals

from
string<date> | null
to
string<date> | null
totals
object
posts
object[]
has_more
boolean