Get user account top pins analytics

GET {{baseUrl}}/user_account/analytics/top_pins?start_date=2009-07-05&end_date=2009-07-05&sort_by=SAVE&from_claimed_content=BOTH&pin_format=ALL&app_types=ALL&metric_types=SAVE_RATE,ENGAGEMENT_RATE&num_of_pins=25&created_in_last_n_days=30&ad_account_id=88006977

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
end_datestring(Required) Metric report end date (UTC). Format: YYYY-MM-DD
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.
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

{"date_availability":{"latest_available_timestamp":1649116799000,"is_realtime":false},"pins":[{"metrics":{"ENGAGEMENT":100,"CLICKTHROUGH_RATE":0.2,"CLICKTHROUGH":200,"CLOSEUP":37,"CLOSEUP_RATE":0.5,"ENGAGEMENT_RATE":0.2,"SAVE":20,"SAVE_RATE":0.18,"IMPRESSION":240},"data_status":{"fugiat1b":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"deserunt15":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"pin_id":"642396334344813594"},{"metrics":{"ENGAGEMENT":100,"CLICKTHROUGH_RATE":0.2,"CLICKTHROUGH":200,"CLOSEUP":37,"CLOSEUP_RATE":0.5,"ENGAGEMENT_RATE":0.2,"SAVE":20,"SAVE_RATE":0.18,"IMPRESSION":240},"data_status":{"amet_fa":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"pin_id":"642396334344813594"}],"sort_by":"IMPRESSION"}