商品相关视频列表
简介
获取指定商品相关的视频列表数据,支持以下功能:
- 支持按商品 ID 查询
- 返回视频详细信息,包括视频描述、播放量、互动数据等
- 包含视频关联的销售数据,如销量、销售额等
接口
bash
POST /product/v1/video请求参数
| 字段 | 类型 | 必选 | 描述 |
|---|---|---|---|
product_id | string | 是 | 商品 ID |
date_type | integer | 是 | 时间范围,例如:25表示最近 25 天 ,最大不超过 28 天 |
request example
bash
curl 'https://openapi.test.fastmoss.com/product/v1/video?client_id=XXX×tamp=XXX&access_token=XXX&sign=XXX' \
--header 'Content-Type: application/json' \
{
"filter": {
"product_id": "1729421229342823356",
"date_type": "7"
},
"page": 1,
"pagesize": 10
}response body
data.list
| 字段 | 类型 | 描述 |
|---|---|---|
product_id | string | 商品 ID |
video_id | string | 视频 ID |
uid | string | 用户 ID |
is_ad | string | 是否为广告 |
seller_id | string | 卖家 ID |
comment_count | string | 评论数 |
digg_count | string | 点赞数 |
play_count | string | 播放量 |
share_count | string | 分享数 |
create_date | string | 创建日期 |
sold_count | string | 销量 |
sale_amount | string | 销售额 |
region | string | 国家/地区 |
video | object | 视频信息对象 |
data.list.video
| 字段 | 类型 | 描述 |
|---|---|---|
video_desc | string | 视频描述 |
cover | string | 封面图片 URL |
duration | string | 视频时长(秒) |
fastmoss_url | string | Fastmoss 链接 |
tiktok_url | string | TikTok 链接 |
uid | string | 用户 ID |
data.total
| 字段 | 类型 | 描述 |
|---|---|---|
total | string | 总记录数 |
response example
json
{
"code": 0,
"data": {
"list": [
{
"product_id": "1729421229342823356",
"video_id": "7468186866076880170",
"uid": "6790997286808093702",
"is_ad": "0",
"seller_id": "7495150597721263036",
"comment_count": "0",
"digg_count": "14",
"play_count": "4592",
"share_count": "0",
"create_date": "2025-02-06",
"sold_count": "28",
"sale_amount": "700.0000",
"video": {
"video_desc": "@tarte cosmetics #tiktokshoploveatfirstfind #fypシ #tartecosmetics ",
"cover": "https://s.500fd.com/tt_video/oIMPp5BmEi2ZEHYBiVzCkBKA0IlmpTGfwAhiOI",
"duration": "12",
"fastmoss_url": "https://www.fastmoss.com/zh/media-source/video/7468186866076880170",
"tiktok_url": "https://www.tiktok.com/@brriiddgett/video/7468186866076880170",
"uid": "6790997286808093702"
},
"region": "US"
}
],
"total": "3809"
},
"message": "success",
"timestamp": 1743573480,
"request_id": "efd631c4-92cf-5d27-4f41-de09f20dd714"
}