Lista filmów powiązanych ze sklepem
Wprowadzenie
Pobierz listę filmów powiązanych ze wskazanym sklepem. Obsługiwane funkcje:
- Wyszukiwanie po ID sklepu
- Zwraca szczegółowe informacje o filmie, w tym opis, liczbę odtworzeń i dane zaangażowania
- Zawiera dane sprzedaży powiązane z filmami, takie jak wielkość sprzedaży i przychód
Punkt końcowy API
bash
POST /shop/v1/videoListTreść żądania
| Pole | Typ | Wymagane | Opis |
|---|---|---|---|
filter | object | Nie | Parametry filtra |
orderby | array | Nie | Parametry sortowania |
page | integer | Nie | Domyślnie: 1 |
pagesize | integer | Nie | Domyślnie: 10 |
Opcjonalne wartości filter
| Pole | Typ | Wymagane | Opis |
|---|---|---|---|
seller_id | string | Nie | ID sklepu |
creator_uid | string | Nie | UID twórcy powiązanego ze sklepem |
creator_unique_id | string | Nie | Unikalny ID twórcy powiązanego ze sklepem: @xxxxxxx |
seller_name | string | Nie | Nazwa sklepu |
region | string | Nie | Kraj/region sklepu |
create_time_range | object | Nie | Zakres czasu publikacji filmu: {"min":1700000000,"max":1700000000} |
seller_nameiregionmuszą być przekazane jednocześnie
Opcjonalne wartości orderby
| Pole | Wymagane | Opis |
|---|---|---|
play_count | Nie | Liczba odtworzeń |
digg_count | Nie | Liczba polubień |
comment_count | Nie | Liczba komentarzy |
share_count | Nie | Liczba udostępnień |
units_sold | Nie | Wielkość sprzedaży |
gmv | Nie | Wartość sprzedaży (GMV) |
Przykład żądania
bash
curl 'https://openapi.fastmoss.com/shop/v1/videoList' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
"filter": {
"seller_id": "7495500842223700917"
# "creator_uid": "xxxxxxxxxxx",
# "creator_unique_id": "xxxxxxx",
# "seller_name": "xxxxxx",
# "region": "US",
# "create_time_range": {
# "min": 1700000000,
# "max": 1700000000
# }
},
"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
}'Treść odpowiedzi
data.list
| Pole | Typ | Opis |
|---|---|---|
product_id | string | ID produktu |
video_id | string | ID filmu |
uid | string | ID użytkownika |
seller_id | string | ID sprzedawcy |
is_ad | int | Czy to reklama |
comment_count | int | Liczba komentarzy |
digg_count | int | Liczba polubień |
play_count | int | Liczba odtworzeń |
share_count | int | Liczba udostępnień |
create_date | string | Data utworzenia |
units_sold | int | Wielkość sprzedaży |
gmv | float | Przychód |
region | string | Kraj/region |
video | object | Obiekt informacji o filmie |
data.list.video
| Pole | Typ | Opis |
|---|---|---|
video_desc | string | Opis filmu |
cover | string | URL obrazu okładki |
duration | int | Czas trwania (sekundy) |
fastmoss_url | string | Link Fastmoss |
tiktok_url | string | Link TikTok |
uid | string | ID użytkownika |
create_time | timestamp | Czas utworzenia |
data.total
| Pole | Typ | Opis |
|---|---|---|
total | string | Rekordy łącznie |
Przykład odpowiedzi
json
{
"code": 0,
"data": {
"list": [
{
"product_id": "1729421229342823356",
"video_id": "7468186866076880170",
"uid": "6790997286808093702",
"create_time": 1738838400,
"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",
"create_time": 1738838400
},
"region": "US"
}
],
"total": "3809"
},
"message": "success",
"timestamp": 1743573480,
"request_id": "efd631c4-92cf-5d27-4f41-de09f20dd714"
}