Analytics

Get a paginated result for analytics based on the applied filters

get/v1/analytics

Request

  • Base URL
    https://api.post-bridge.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

offsetnumber

Number of items to skip

limitnumber

Number of items to return

platformstring

Filter by platform (e.g. tiktok)

post_result_idstring[]

Filter by post result IDs. Multiple values imply OR logic.

timeframestring

Filter by timeframe: 7d, 30d, 90d, or all

media_type'video' | 'slideshow'

Filter by media type: video or slideshow. Told apart by duration: slideshow = TikTok photo posts, video = TikTok and YouTube videos. Instagram and Facebook do not report duration, so their posts are excluded when this is set.

Response

Paginated data set for analytics.

Example response

{
  "meta": {
    "next": "https://api.post-bridge.com/v1/items?offset=10&limit=10"
  }
}

Changes