Skip to main content

v2.video.get_metric_trend

GET /api/v2/video/get_metric_trend

Query video data indicator trends.

Endpoint URL

URL: https://partner.shopeemobile.com/api/v2/video/get_metric_trend

Common Request Parameters

NameTypeSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
user_idint1Shopee's unique identifier for a user.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by(depends on different APIs) partner_id, api path, timestamp, access_token, user_id and partner_key via HMAC-SHA256 hashing algorithm.

Request Parameters

NameTypeRequiredSampleDescription
period_typestringTrueWeekPeriod Type. Applicable values: Day Week Month Last7d Last15d Last30d Note: The end date must align with the Period Type.
end_datestringTrue2025-09-21The end_date format should be "YYYY-MM-DD". - For Day, Last7d, Last15d, and Last30d, the end_date must before current day. - For Week, the end_date must be Sunday and must be less than or equal to the current week. - For Month, the end_date must be the end of the month and must be less than or equal to the current month.

Response Parameters

NameTypeSampleDescription
errorstringIndicate error type if hit error. Empty if no error happened.
messagestringIndicate error details if hit error. Empty if no error happened.
request_idstring2af852cd-7420-4714-b7cd-33317f6fe548The identifier for an API request for error tracking.
responseobjectDetail informations you are querying.
video_total_metric_listobject[]
placed_salesfloat2.2The placed value of orders from all videos in the period selected.
confirmed_salesfloat2.0The confirmed value of orders from all videos in the period selected.
placed_ordersint642The number of placed orders from all videos in the period selected.
confirmed_ordersint642The number of confirmed orders from all videos in the period selected.
placed_item_soldint643Number of item sold from placed orders in the video.
confirmed_item_soldint643Number of item sold from confirmed orders in the video.
total_viewersint643Number of viewers in the video.
effective_viewsint643Number of views from the video that lasted for more than 3 seconds.
avg_view_durationint642Total watch duration per video.
placed_buyersint642Number of unique buyers who placed order from the video.
confirmed_buyersint642Number of unique buyers who confirmed order from the video.
total_atcint642Number of "Add To Cart" button clicked for all products in the orange bag during video viewing.
ctrfloat2.1Number of products clicks divided by Number of video views.
placed_co_ratefloat2.1Number of placed product orders from the video divided by Number of product clicks from the video.
confirmed_co_ratefloat2.1Number of confirmed product orders from the video divided by Number of product clicks from the video.
placed_absfloat2.1Total placed sales divided by Total placed orders.
confirmed_absfloat2.1Total confirmed sales divided by Total confirmed orders.
placed_gpmfloat2.1The placed Sales generated for every 1,000 views.
confirmed_gpmfloat2.1The confirmed Sales generated for every 1,000 views.
video_with_productsint641Videos with at least one product in the orange bag
placed_revenue_generating_videosint641Videos that generates placed revenues.
confirmed_revenue_generating_videosint641Videos that generates confirmed revenues.
total_viewsint641Number of views from all videos.
total_likesint641Number of likes from all videos.
total_sharesint641Number of shares from all videos.
total_commentsint641Number of comments from all videos.
video_new_followersint641Number of new followers from all videos.
data_periodstring2025-10-29Data offline computation time.