Pinterest analytics API: the metrics PubNio reads
PubNio's Pinterest adapter declares 11 post metrics and 5 account metrics as supported. It re-reads each post on a schedule for 90 days after publishing. A metric Pinterest does not report comes back as null with a reason.
What PubNio returns
| Metric | Post field | Account field |
|---|---|---|
impressions | IMPRESSION | IMPRESSION |
views | VIDEO_MRC_VIEW (video pins only) | not returned: not_exposed |
likes | TOTAL_REACTIONS | not returned: not_exposed |
comments | TOTAL_COMMENTS | not returned: not_exposed |
saves | SAVE | SAVE |
clicks | PIN_CLICK | PIN_CLICK |
link_clicks | OUTBOUND_CLICK | OUTBOUND_CLICK |
profile_visits | PROFILE_VISIT | not declared |
follows | USER_FOLLOW | not declared |
| followers | — | follower_count |
watch_time_ms | VIDEO_V50_WATCH_TIME (video pins only) | not returned: not_exposed |
avg_watch_time_ms | VIDEO_AVG_WATCH_TIME (video pins only) | not returned: not_exposed |
engagement | not returned: shares_not_exposed | not returned: shares_not_exposed |
engagement_rate | not returned: shares_not_exposed | not returned: shares_not_exposed |
Pinterest returns no value for the other keys, reach, shares, page_views, follower_gained, follower_lost, and completion_rate: the adapter marks each not_exposed or leaves it out.
“Not declared” means the adapter's capabilities leave the metric out. A post reading then comes back unsupported with reason not_exposed; an account reading comes back pending with reason account_analytics_pending and stays there, because the account sync reads only declared metrics.
How PubNio reads it
- Every Pinterest read, pin or account, starts no earlier than 89 days before its end date: PubNio moves
start_dateforward to keep the window at 90 days. - Pin reads ask only for the Pinterest metric types the request needs, and the daily series is Pinterest's own
daily_metrics, not a PubNio delta.
PubNio reads a Pinterest post no sooner than 1 day after it is published; a post the sync pass finds later is read when it is found. After the first read it reads every 6 hours until day 7, daily until day 30, and weekly after that. It stops reading the post 90 days after publishing.
A post's daily points are Pinterest's own daily values, stored as Pinterest returns them for each day of the read.
Account metrics are read once a day, each time for the UTC dates from 30 days before the read through the day of the read, and readings count as stale two days after the last read.
Capabilities also declare latencySeconds: 86400, how long the adapter expects Pinterest's numbers to take to settle. PubNio publishes the figure; reads are scheduled only by the rules above.
PubNio's Pinterest analytics capabilities require these OAuth scopes on the connected account: pins:read, user_accounts:read. When one is missing, the sync marks the metrics permission_missing and lists what is absent in missingScopes.
watch_time_ms: Pinterest watch time in PubNio is VIDEO_V50_WATCH_TIME for watch_time_ms and VIDEO_AVG_WATCH_TIME for avg_watch_time_ms, read from pin analytics with Pinterest's daily rows. PubNio stores both as returned, with no unit conversion. Only pins report them; the account has no watch time.
- The metric types are requested only when a watch-time metric is asked for. A pin that returns neither field keeps the readings pending with reason
not_reported. - Completion rate is unsupported for Pinterest (
not_exposed).
views: PubNio's Pinterest views is the video metric VIDEO_MRC_VIEW, so a pin without video reports none. Pin impressions are a separate reading from IMPRESSION. Neither views nor reach exists at account level: account views are unsupported with reason not_exposed.
- Pin analytics return
summary_metricsanddaily_metrics; the summary becomes the reading's value and each day becomes a provider-daily point. - When the response holds entries for several pins, the adapter uses the one keyed by the requested pin ID and otherwise the first entry.
link_clicks: Pinterest has two click counts in PubNio. link_clicks is OUTBOUND_CLICK, a click through to the pin's destination; clicks is PIN_CLICK. Both exist for pins and for the account, with Pinterest's own daily rows.
- Pin and account reads use the same Pinterest metric types for clicks, link clicks, impressions, and saves; the account read sends them to
/user_account/analytics.
Example
impressions is declared, and no daily account read has stored it yet, so it is pending with reason not_published until the first read lands. engagement and engagement_rate are metrics Pinterest does not supply: each comes back unsupported with its reason. The request answers 200 with one entry per key.
GET /api/v1/workspaces/4e5f6a7b-8c9d-4e0f-9a1b-2c3d4e5f6a7b/analytics/accounts/7f3c2a10-5b4e-4d6f-8a9b-0c1d2e3f4a5b?metrics=impressions&metrics=engagement&metrics=engagement_rate
Authorization: Bearer pn_live_***
[
{
"key": "impressions",
"value": null,
"availability": "pending",
"reason": "not_published"
},
{
"key": "engagement",
"value": null,
"availability": "unsupported",
"reason": "shares_not_exposed"
},
{
"key": "engagement_rate",
"value": null,
"availability": "unsupported",
"reason": "shares_not_exposed"
}
]
Limits
- No reach, shares, or completion rate for Pinterest, and so no engagement or engagement rate (
shares_not_exposed): PubNio will not publish an engagement total with a missing part. - A request covers at most 366 days and 30 metrics, in UTC dates, and defaults to the last 30 days. How far back a daily series reaches depends on the workspace plan, and stored daily points are deleted after 400 days.

