---
title: "Pinterest account analytics API: GET /user_account/analytics"
description: "When PubNio calls Pinterest's account analytics request, GET /user_account/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 account analytics API: GET /user_account/analytics

PubNio calls Pinterest's `GET /user_account/analytics` (`user_account/analytics`) to read a Pinterest account's daily metrics.

## How PubNio calls it

- Account analytics: the account sync makes this call; [`GET /api/v1/workspaces/{workspaceId}/analytics/accounts/{accountId}`](https://pubnio.com/api/v1/docs#tag/analytics/GET/api/v1/workspaces/{workspaceId}/analytics/accounts/{accountId}) returns what it stored.
- PubNio sends the range and only the account metrics it can map, and reads daily values from the response.
- PubNio reads the `ALL` entry of the answer, or the first entry when there is none. The follower count is not part of it: when followers are asked for, a separate `GET /user_account` read supplies `follower_count`.

## Scopes

- The pinned spec lists one scope: `user_accounts:read`.
- PubNio's Pinterest sign-in requests every one of them.
- Before the account 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

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

Refreshed by hand: no weekly change record.

## Limits

- Board-level analytics are not read: every board of the account shares these account figures.

## 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/user-account-analytics/index.mdx
