Aan het product gerelateerde videolijst
Inleiding
Haal een lijst op van video's die bij opgegeven producten horen, met deze mogelijkheden:
- Zoeken op product-ID
- Geeft gedetailleerde video-informatie terug, waaronder beschrijving, aantal weergaven en betrokkenheidsgegevens
- Bevat verkoopgegevens die bij video's horen, zoals verkoopvolume en omzet
API-eindpunt
bash
POST /product/v1/videoListAanvraagparameters
| Veld | Type | Verplicht | Beschrijving |
|---|---|---|---|
product_id | string | Ja | Product-ID |
days | int | Nee | Afgelopen N dagen (publicatietijd) |
create_time_range | int | Nee | Publicatieperiode van de video (Unix-tijdstempel) |
is_ad | int | Nee | Is een advertentie (0: nee, 1: ja) |
Let op:
daysencreate_time_rangekunnen niet samen worden meegegeven
Voorbeeld van een aanvraag
bash
curl 'https://openapi.fastmoss.com/product/v1/videoList' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
"filter": {
"product_id": "1729421229342823356",
# "days": 3,
"create_time_range": {
"min": 1767196800,
"max": 1777278619
}
},
"orderby": {
"field": "play_count",
"order": "desc"
},
# "orderby": {
# "field": "digg_count",
# "order": "desc"
# },
# "orderby": {
# "field": "comment_count",
# "order": "desc"
# },
# "orderby": {
# "field": "share_count",
# "order": "desc"
# },
# "orderby": {
# "field": "units_sold",
# "order": "desc"
# },
# "orderby": {
# "field": "gmv",
# "order": "desc"
# },
"page": 1,
"pagesize": 10
}'Antwoordbody
data.list
| Veld | Type | Beschrijving |
|---|---|---|
product_id | string | Product-ID |
video_id | string | Video-ID |
uid | string | Gebruikers-ID |
seller_id | string | Verkoper-ID |
is_ad | int | Is een advertentie |
comment_count | int | Aantal reacties |
digg_count | int | Aantal likes |
play_count | int | Aantal weergaven |
share_count | int | Aantal shares |
create_date | string | Aanmaakdatum |
units_sold | int | Verkoopvolume |
gmv | float | Omzet |
region | string | Land/regio |
video | object | Video-info-object |
data.list.video
| Veld | Type | Beschrijving |
|---|---|---|
video_desc | string | Videobeschrijving |
cover | string | Coverafbeelding-URL |
duration | int | Duur (seconden) |
fastmoss_url | string | Fastmoss-link |
tiktok_url | string | TikTok-link |
uid | string | Gebruikers-ID |
create_time | timestamp | Aanmaaktijd |
data.total
| Veld | Type | Beschrijving |
|---|---|---|
total | string | Records in totaal |
Voorbeeld van een antwoord
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_time": 1765024218000,
"units_sold": 28,
"gmv": 700.0,
"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"
}