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

v2.video.get_video_list

GET /api/v2/video/get_video_list

Get the danh sách video in draft status or video already post to Shopee Video.

Đường dẫn Endpoint

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

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ả
page_noint32True1The start index of request. Starting from 1.
page_sizeint32True10The number of affiliate returned by this request, Max is 20.
list_typeint32True1Search tpye for video in draft status or video already post to Shopee Video. 1: draft 2: post

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.
total_countint641Tổng số video that match the tình trạng.
has_morebooleanfalseThis is to indicate whether the danh sách video is more than one page. If this value is true, you may want to continue to check next page to retrieve the rest of data.
listobjectThe danh sách video that match the tình trạng.
video_upload_idstringid-11110201-6ko2m-mczrffx878mba3ID of uploaded video.
post_idstringYwOo_gZqCACXbM0UAAAAAA==The mã định danh duy nhất for post Shopee Video. Only have value when the trạng thái video is 300 (POSTED).
post_timetimestamp1761188662147The time when the video post to Shopee Video. Only have value when the trạng thái video is 300 (POSTED).
video_urlstringhttps://down-bs-id.vod.susercontent.com/c3/50007225/201/A3oxONdWALgpg8thEbEBACc.mp4Video play url.
statusint32300Video current status. Các giá trị áp dụng: 200: DRAFT 300: POSTED 400: DELETED 500: SCHEDULED 600: SCHEDULED_FAILED
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.
viewsint641Số lượt xem of post Shopee Video. Only have value when the trạng thái video is 300 (POSTED).
likesint641Số lượt thích the post Shopee Video. Only have value when the trạng thái video is 300 (POSTED).
commentsint641Số lượt bình luận the post Shopee Video. Only have value when the trạng thái video is 300 (POSTED).
has_performancebooleanfalseWhether there is video metric data.
item_listobjectDanh sách products linked with the Shopee Video.
shop_idint64Shopee's mã định danh duy nhất for a shop of the item.
item_idint6434002Shopee's mã định danh duy nhất for an item.
item_namestringseller discountName of the item.
custom_item_namestringName of the item displayed on Shopee Video (max 255 characters).
item_cover_image_urlstringẢnh bìa url of the item.
min_pricefloat100000.0Min price of the item.
max_pricefloat100000.0Max price of the item.
stockint6410Stock of the item.
allow_infoobjectWhether allow stitch and duet.
allow_stitchbooleantrueWhether allow stitch.
allow_duetbooleantrueWhether allow duet.
scheduled_infoobjectWhen scheduled_post is true, scheduled_post_time must not empty. When scheduled_post is false, scheduled_post_time must empty.
scheduled_postbooleantrueWhether post it to Shopee Video at scheduled time.
scheduled_post_timetimestamp1761734929450Scheduled thời gian đăng, millisecond timestamp.
update_timetimestamp1761734929450The lasted update time the video.

Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.get("https://partner.shopeemobile.com/api/v2/video/get\_video\_list?access\_token=access\_token&list\_type=0&page\_no=0&page\_size=0&partner\_id=partner\_id&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\_list?access\_token=access\_token&list\_type=0&page\_no=0&page\_size=0&partner\_id=partner\_id&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\_list?access\_token=access\_token&list\_type=0&page\_no=0&page\_size=0&partner\_id=partner\_id&sign=sign&timestamp=timestamp&user\_id=user\_id' import requests url = "https://partner.shopeemobile.com/api/v2/video/get\_video\_list?access\_token=access\_token&list\_type=0&page\_no=0&page\_size=0&partner\_id=partner\_id&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)

, "allow_info": { "allow_stitch": true, "allow_duet": true }, "scheduled_info": { "scheduled_post": true, "scheduled_post_time": 1761734929450 }, "update_time": 1761734929450 } } }