---
title: "Get user account analytics"
method: GET
path: "/user_account/analytics"
tags: ["user_account"]
---

# Get user account analytics

`GET /user_account/analytics`

Get analytics for the "operation user_account"
- By default, the "operation user_account" is the token user_account.

Optional: Business Access: Specify an ad_account_id to use the owner of that ad_account as the "operation user_account".

## Query parameters

- `start_date` string, date, required
- `end_date` string, date, required
- `from_claimed_content` 'OTHER' | 'CLAIMED' | 'BOTH'
- `pin_format` 'ALL' | 'PRODUCT' | 'REGULAR' | 'VIDEO'
- `app_types` 'ALL' | 'MOBILE' | 'TABLET' | 'WEB'
- `source` 'ALL' | 'YOUR_PINS' | 'OTHER_PINS'
- `metric_types` string[]
- `split_field` 'NO_SPLIT' | 'APP_TYPE' | 'OWNED_CONTENT' | 'SOURCE' | 'PIN_FORMAT'
- `ad_account_id` string

## Response `200`

Success

- AnalyticsResponse

## Other responses

- `400` — Invalid user accounts analytics parameters.
- `403` — Not authorized to access the user account analytics.
- `default` — Unexpected error

## Changes

- **2023-07-14** (v5) `52586a274771` — 2 info
  - added the new optional `query` request parameter `source`
  - added the new enum value `SOURCE` to the `query` request parameter `split_field`
- **2022-11-14** (v5) `e041d7b0cef0` — 1 warning
  - for the `query` request parameter `ad_account_id`, the maxLength was set to `18`
- **2022-07-11** (v5) `0d5998752011` — 1 info
  - added the non-success response with the status `400`
- **2022-04-08** (v5) `c561dee8c137` — 4 breaking, 1 warning
  - removed the enum value `ATTRIBUTION_EVENT` from the `query` request parameter `split_field`
  - removed the enum value `CONTENT_TYPE` from the `query` request parameter `split_field`
  - removed the enum value `CONVERSION_TYPE` from the `query` request parameter `split_field`
  - removed the enum value `SOURCE` from the `query` request parameter `split_field`
  - …1 more
- **2021-12-16** (v5) `2a34d1d22a47` — 1 warning
  - changed the pattern of the `query` request parameter `ad_account_id` from `\d+` to `^\d+$`

[Full history](https://skmtc.dev/pinterest/apis/pinterest-rest-api/changes/user_account/analytics/get.md)

---

[API](https://skmtc.dev/pinterest/apis/pinterest-rest-api.md) · [All operations](https://skmtc.dev/pinterest/apis/pinterest-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pinterest/pinterest-rest-api/revisions/0ff12596bafd/schema)
