get_pin_analytics
Use this when the user asks how a specific Pin performed: returns that Pin's totals over a window, a per-day series, and lifetime totals that ignore the window. This is the only analytics tool that reports comments (totalComments) and reactions (totalReactions), in lifetimeMetrics; get_account_analytics and list_top_pins do not. Figures are organic-only: Pinterest's per-Pin analytics exclude paid (promoted) distribution, so a promoted Pin reads far lower here than in list_top_pins or get_account_analytics — that gap is expected, not an error.
Only a Pin this account OWNS can be read; anything else returns 404, including a Pin on a group board this account merely collaborates on. Pinterest itself would report on those, but this endpoint does not — do not retry a shared-board Pin, and do not tell the user the id was wrong. A 403 means Pinterest permanently forbids analytics for that Pin — it will never report, so do not retry it. Reading analytics is free and consumes no credits. pinId is the PINTEREST Pin id, NOT the Tailwind postId that list_posts and get_post return as id; a published post carries the Pinterest id in its own pinId field, so pass that. list_pins and list_top_pins return it too. Passing a Tailwind postId returns a 404. Omit startDate and endDate for the last 30 days; supply BOTH to choose a window (supplying one is an error). Dates are UTC YYYY-MM-DD. Pinterest reports at most 90 days back and at most a 90-day span. The range actually used comes back as startDate/endDate — report those, do not assume the period. If the user did not say which Pinterest account to use and list_accounts returns more than one, ask the user which account to use before calling this — do not choose for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinId | Yes | The PINTEREST Pin id (a numeric string): the `pinId` field on a published post from list_posts or get_post, or a pinId from list_pins or list_top_pins. NOT the Tailwind postId (the post's `id`). | |
| endDate | No | Last day of the window (inclusive), UTC YYYY-MM-DD. Requires startDate. | |
| accountId | Yes | Numeric Tailwind account ID returned by list_accounts | |
| startDate | No | First day of the window, UTC YYYY-MM-DD. Requires endDate. Omit both for 30 days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pinId | Yes | ||
| boardId | No | The Pinterest board the Pin is saved to — the same id list_boards returns | |
| endDate | Yes | ||
| accountId | Yes | ||
| startDate | Yes | ||
| dailyMetrics | Yes | Per-day metrics across the window, earliest first | |
| summaryMetrics | Yes | Pinterest metrics, camelCased. A null value means Pinterest has not finished computing that metric for that day; an absent one means it does not report it for this subject. Per-Pin fields include impression, save, saveRate, pinClick, outboundClick, profileVisit, userFollow, and video metrics on video Pins. Comment and reaction counts are not windowed: read them from lifetimeMetrics. | |
| lifetimeMetrics | No | Totals since the Pin was created, ignoring the requested window. The only place Pinterest reports totalComments (the comment count) and totalReactions; absent when Pinterest reports none. |