get_account_analytics
Use this when the user asks how their Pinterest account is performing overall — impressions, engagement, saves, clicks — or wants a trend over time: returns account-wide totals plus a per-day series. Covers claimed and unclaimed content alike, the same numbers Pinterest Insights shows in Tailwind. Totals combine paid (promoted) and organic activity unless contentType says otherwise: pass ORGANIC for how unpromoted Pins are doing, or PAID for promoted only. get_pin_analytics figures are always organic-only, so compare them against ORGANIC totals, not the default blend.
This is the account rollup. For the best-performing Pins use list_top_pins; for one Pin use get_pin_analytics. Reading analytics is free and consumes no credits. 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 |
|---|---|---|---|
| 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. | |
| contentType | No | Which activity to count: ORGANIC for unpromoted performance only, PAID for promoted (ad) performance only, ALL for both blended. Defaults to ALL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | Last day actually reported on, inclusive | |
| accountId | Yes | ||
| startDate | Yes | First day actually reported on | |
| contentType | Yes | The paid/organic filter actually applied | |
| 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. |