Read post performance
posts_performanceHow published posts are performing, one row per destination: views, likes, comments, shares and saves, each with how far it has moved over the period. Best first, so the default answers "what did well" in one call rather than by listing everything. Sort by change instead to find what is moving now. Numbers are as of the last sweep, and every row carries the time it was measured — a delivery nobody has measured yet has no metrics at all rather than zeroes, and sorts last.
Each row also carries insights: what the platform's own analytics said on that delivery, never summed across deliveries. reach (distinct accounts), totalWatchMs and avgWatchMs, replays, follows (gained from the post), completionRate and skipRate as fractions 0..1, retention — the full audience-retention curve as Facebook sends it, points[i] being the share still watching at i twentieths of the video and bucketMs one twentieth in milliseconds — and breakdowns such as clicks by type. retentionAt3s and retentionAtHalf are read off that curve, interpolated between buckets, so hooks can be ranked by how many viewers they held; null without a curve or a known video length. Null means the platform does not report it; a name listed in unavailable means it would have and refused this time. Compare watch time across platforms as totalWatchMs / views: Facebook averages per play and Instagram per viewer, so avgWatchMs is not comparable between them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Rank by the running total, or by how much it moved over the period. Defaults to the total. A post with no observation in the window has no change and sorts last either way. | |
| limit | No | How many to return. Defaults to 10. Ask for more only when you need them — every row carries its post and account. | |
| period | No | The window a change is measured over. Defaults to 24h. | |
| sort_by | No | Which counter or insight to rank by. Defaults to views. Insights rank by value only; deliveries without one sort last. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes |