Skip to main content
PostQueen analytics: engagement chart, followers, impressions and video views
Ask her how last week went and she answers with numbers, per channel or per post.

Platform Analytics

Get analytics for a specific integration/channel. Returns metrics like followers, impressions, and engagement over time.

Options

Examples

The response is an array of metrics, each with daily data points:
The metrics returned depend on the platform. For example, X returns followers and impressions, while YouTube may return subscribers and views.

Post Analytics

Get analytics for a specific published post. Returns metrics like likes, comments and impressions.

Options

Examples

The response follows the same format as platform analytics:
Post analytics are only available for published posts. Draft or queued posts will not return analytics data. An empty array [] means either the post has not been published yet or that network does not report per-post metrics; run postqueen posts:list to confirm the post has a release ID.

When a post shows {"missing": true}

If analytics:post returns {"missing": true}, the post was published but the platform did not return a usable post ID, so it is not connected to its published content yet. Resolve it, then retry:
The full error table: Troubleshooting.

Scripting with Analytics

Extract specific metrics using jq. Every analytics command prints a one-line header before the JSON, so tail -n +2 drops it first; the header line is not JSON.