Chuyển tới nội dung chính

v2.video.get_video_detail_performance

GET /api/v2/video/get_video_detail_performance

Get detailed dữ liệu hiệu suất for individual post Shopee Video. There is at least a one-day delay.

Đường dẫn Endpoint

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

Tham số chung

TênKiểuMẫuMô tả
partner_idint1Partner ID được gán khi đăng ký thành công. Bắt buộc cho tất cả các yêu cầu.
timestamptimestamp1610000000Dùng để chỉ định thời gian của yêu cầu. Bắt buộc cho tất cả các yêu cầu. Hết hạn sau 5 phút.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1Token truy cập API, dùng để xác định quyền của bạn đối với API. Có thể sử dụng nhiều lần và hết hạn sau 4 giờ.
user_idint1Shopee's mã định danh duy nhất 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.

Tham số Request

TênKiểuBắt buộcMẫuMô tả
post_idstringTrueYwOo_gZqCACXbM0UAAAAAA==A mã định danh duy nhất for Shopee videos.

Tham số Response

TênKiểuMẫuMô tả
errorstringLoại lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.
messagestringChi tiết lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.
request_idstring2af852cd-7420-4714-b7cd-33317f6fe548Mã định danh của yêu cầu API dùng để theo dõi lỗi.
responseobjectDetail informations you are querying.
video_infoobjectVideo post detail informations you are querying.
post_idstringYwOo_gZqCACXbM0UAAAAAA==A mã định danh duy nhất for Shopee videos.
post_timetimestamp1761188662147The time when the video post to Shopee Video.
video_urlstringhttps://down-bs-id.vod.susercontent.com/c3/50007225/201/A3oxONdWALgpg8thEbEBACc.mp4Video play url.
cover_image_urlstringhttps://down-sp-id.vod.susercontent.com/c3/50007225/201/A3oyOUXSAFAbg8thIfYBBgAn.jpgẢnh bìa url of the Shopee Video.
captionstring#tt Tt1Mô tả về the Shopee Video.
durationint646866Video thời lượng time in millisecond.
related_item_countint641Number of products linked with the Shopee Video.
video_performanceobjectOverall dữ liệu hiệu suất of the video you are querying.
viewsint641Amount of views from the video.
likesint641Total likes from the video.
commentsint641Total comments from the video.
sharesint641Total shares from the video.
followers_growthint641Amount of new followers from the Video.
placed_ordersint641Amount of product orders from the video.
placed_salesfloat1.0Amount of product sales from the video.
unique_buyersint641Buyers of the products in the video.
conversion_ratefloat1.0Amount of products sold from the video/amount of views from the video.
sold_itemsint641Amount of products sold from the video.
product_clicksint641The product click value of orders for item.
product_click_ratefloat2.0The product click rate value of orders for item.
sales_per_orderfloat1.0Amount of product sales from the video/amount of product orders from the video.
sales_per_buyerfloat1.0Amount of product sales from the video/amount of buyers from the video.

Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.get("https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_performance?access\_token=access\_token&partner\_id=partner\_id&post\_id=YwOo\_gZqCACXbM0UAAAAAA%3D%3D&sign=sign&timestamp=timestamp&user\_id=user\_id") .asString();<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_performance?access\_token=access\_token&partner\_id=partner\_id&post\_id=YwOo\_gZqCACXbM0UAAAAAA%3D%3D&sign=sign&timestamp=timestamp&user\_id=user\_id', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_HTTPHEADER => array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; curl --location --request GET 'https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_performance?access\_token=access\_token&partner\_id=partner\_id&post\_id=YwOo\_gZqCACXbM0UAAAAAA%3D%3D&sign=sign&timestamp=timestamp&user\_id=user\_id' import requests url = "https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_performance?access\_token=access\_token&partner\_id=partner\_id&post\_id=YwOo\_gZqCACXbM0UAAAAAA%3D%3D&sign=sign&timestamp=timestamp&user\_id=user\_id" payload={} headers = { } response = requests.RPCRequest("GET",url,headers=headers, data=payload, allow_redirects=False) print(response.text)

, "video_performance": { "views": 1, "likes": 1, "comments": 1, "shares": 1, "followers_growth": 1, "placed_orders": 1, "placed_sales": 1, "unique_buyers": 1, "conversion_rate": 1, "sold_items": 1, "product_clicks": 1, "product_click_rate": 2, "sales_per_order": 1, "sales_per_buyer": 1 } } }