Instagram engagement in the PubNio analytics API
Instagram post engagement is Meta's own total_interactions, not PubNio's likes + comments + shares + saves formula: when the provider sends engagement, PubNio keeps it and derives nothing. Account engagement is unsupported. Post engagement_rate is unsupported because PubNio has no Instagram impressions to divide by (impressions_removed), and account engagement_rate is not_exposed.
What PubNio returns
| Metric | Scope | Instagram field | Unit | Combines by |
|---|---|---|---|---|
engagement | post | total_interactions | count | sum |
engagement | account | not returned: not_exposed | count | sum |
engagement_rate | post | not returned: impressions_removed | ratio | ratio |
engagement_rate | account | not returned: not_exposed | ratio | ratio |
engagement: Derived: likes + comments + shares + saves.
engagement_rate: Engagement divided by impressions, 0 to 1.
How PubNio reads it
- Derivation never overwrites a provider value: the shared step adds
engagementonly when the reading lacks one. - Every placement's request includes
total_interactions, Stories too, so Story engagement is reported even though Story likes and saves are not applicable.
Example
The capabilities endpoint answers without calling Instagram. Under the Instagram provider, these are its entries for engagement.
GET /api/v1/workspaces/4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b/analytics/capabilities
Authorization: Bearer pn_live_***
[
{
"key": "engagement",
"scope": "post",
"granularity": "day",
"unit": "count",
"aggregation": "sum",
"availability": "available",
"supported": true,
"renamedFrom": "total_interactions"
},
{
"key": "engagement",
"scope": "account",
"granularity": "day",
"unit": "count",
"aggregation": "sum",
"availability": "unsupported",
"supported": false,
"reason": "not_exposed"
}
]
Limits
- PubNio stops re-reading an Instagram post 90 days after it is published, so a post's
engagementstops changing then. - A metric Instagram does not report comes back with
value: nulland an availability state that says why. A post with no stored values whose last read failed on permissions, a rate limit, or a transient error answers with that error instead.

