Posts

Post stats

Retrieves stats snapshots for one or more posts. Returns all matching snapshots (not just the latest) so you can see trends over time, with optional filtering by profiles/networks and timespan.

get/api/posts/stats

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/posts/stats
  • Auth
    HTTP bearer

Query parameters

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

post_idsstring required

Comma-separated list of post ids (max 50)

profilesstring

Comma-separated list of profile ids or platform names (e.g. instagram,twitter or abc123,def456 or mixed). Platform names are matched against known platforms; anything else is treated as a profile id.

fromstring date-time

ISO 8601 timestamp — only include snapshots recorded at or after this time

tostring date-time

ISO 8601 timestamp — only include snapshots recorded at or before this time

Response

Stats snapshots keyed by post id

dataobject

Keyed by post id

Changes

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