Get user account top pins analytics

GET {{baseUrl}}/user_account/analytics/top_pins?start_date=<date>&end_date=<date>&sort_by=OUTBOUND_CLICK&from_claimed_content=BOTH&pin_format=ALL&app_types=ALL&content_type=ALL&source=ALL&metric_types=ENGAGEMENT_RATE,ENGAGEMENT&num_of_pins=10&created_in_last_n_days=30&ad_account_id=15266090296

Gets analytics data about a user's top pins (limited to the top 50). - By default, the operation user_account is the token user_account.

Optional: Business Access: Specify an adaccountid to use the owner of that adaccount as the "operation useraccount".

Request Params

KeyDatatypeRequiredDescription
start_datestring(Required) Metric report start date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days back from today.
end_datestring(Required) Metric report end date (UTC). Format: YYYY-MM-DD. Cannot be more than 90 days past start_date.
sort_bystring(Required) Specify sorting order for metrics
from_claimed_contentstringFilter on Pins that match your claimed domain.
pin_formatstringPin formats to get data for, default is all.
app_typesstringApps or devices to get data for, default is all.
content_typestringFilter to paid or organic data. Default is all.
sourcestringFilter to activity from Pins created and saved by your, or activity created and saved by others from your claimed accounts
metric_typesstringMetric types to get data for, default is all.
num_of_pinsnumberNumber of pins to include, default is 10. Max is 50.
created_in_last_n_daysnumberGet metrics for pins created in the last "n" days.
ad_account_idnumberUnique identifier of an ad account.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;date_availability&quot;:{&quot;latest_available_timestamp&quot;:&quot;\u003cnumber\u003e&quot;,&quot;is_realtime&quot;:&quot;\u003cboolean\u003e&quot;},&quot;pins&quot;:[{&quot;metrics&quot;:{&quot;proident_4&quot;:&quot;\u003cnumber\u003e&quot;,&quot;Excepteur_14&quot;:&quot;\u003cnumber\u003e&quot;},&quot;data_status&quot;:{&quot;mollit520&quot;:&quot;BEFORE_CORE_METRIC_START_DATE&quot;},&quot;pin_id&quot;:&quot;\u003cstring\u003e&quot;},{&quot;metrics&quot;:{&quot;indd0&quot;:&quot;\u003cnumber\u003e&quot;},&quot;data_status&quot;:{&quot;Ut_a&quot;:&quot;BEFORE_DEMOGRAPHIC_FILTERS_START_DATE&quot;,&quot;pariatur_393&quot;:&quot;IN_BAD_TAG_DATE&quot;,&quot;tempor_5f&quot;:&quot;BEFORE_PUBLISHED_METRIC_START_DATE&quot;},&quot;pin_id&quot;:&quot;\u003cstring\u003e&quot;}],&quot;sort_by&quot;:&quot;ENGAGEMENT&quot;}