---
title: "Pinterest Pin analytics API: GET /pins/{pin_id}/analytics"
description: "When PubNio calls Pinterest's Pin analytics request, GET /pins/{pin_id}/analytics: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Pinterest Pin analytics API: GET /pins/{pin_id}/analytics

PubNio calls Pinterest's `GET /pins/{pin_id}/analytics` (`pins/analytics`) to read a published Pin's metrics.

## How PubNio calls it

- Post analytics: the analytics sync makes this call for published posts; [`POST /api/v1/analytics/refreshes`](https://pubnio.com/api/v1/docs#tag/analytics/POST/api/v1/analytics/refreshes) asks for an early read.
- PubNio asks only for the metrics the agent requested that Pinterest reports for Pins, over the clamped date range.
- The `metric_types`, `start_date`, and `end_date` query parameters carry the request. PubNio stores `summary_metrics` as totals and `daily_metrics` as the day-by-day series, from the entry keyed by the Pin ID, or the first entry when that key is missing.
- When none of the requested metrics maps to a Pinterest Pin metric, PubNio sends no request at all.

## Scopes

- The pinned spec lists 2 scopes, all required: `boards:read` and `pins:read`.
- PubNio's Pinterest sign-in requests every one of them.
- Before the post analytics sync makes this call, PubNio checks that the account granted `pins:read` and `user_accounts:read`.

## Errors

PubNio has no Pinterest error code pages yet. [Provider error codes](https://pubnio.com/docs/errors/providers/) covers the providers that have them.

## Spec and changes

`pins/analytics` in the pinned spec, revision `5c6c1fc9a6dbdee1df537f3f805f09262c496917`.

Refreshed by hand: no weekly change record.

## Limits

- Pinterest reports Pin analytics with a delay, so a new Pin reads as pending first.

## Sources

- [Pinterest REST API OpenAPI description](https://github.com/pinterest/api-description/blob/5c6c1fc9a6dbdee1df537f3f805f09262c496917/v5/openapi.json)

## Related

- [Provider API operations PubNio calls](https://pubnio.com/docs/providers/operations/)
- [Pinterest rate limits and quota](https://pubnio.com/docs/providers/pinterest/quota/)

Source: https://pubnio.com/docs/providers/pinterest/operations/pins-analytics/index.mdx
