Skip to content

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/videoList

Aanvraagparameters ​

VeldTypeVerplichtBeschrijving
product_idstringJaProduct-ID
daysintNeeAfgelopen N dagen (publicatietijd)
create_time_rangeintNeePublicatieperiode van de video (Unix-tijdstempel)
is_adintNeeIs een advertentie (0: nee, 1: ja)

Let op: days en create_time_range kunnen 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 ​

VeldTypeBeschrijving
product_idstringProduct-ID
video_idstringVideo-ID
uidstringGebruikers-ID
seller_idstringVerkoper-ID
is_adintIs een advertentie
comment_countintAantal reacties
digg_countintAantal likes
play_countintAantal weergaven
share_countintAantal shares
create_datestringAanmaakdatum
units_soldintVerkoopvolume
gmvfloatOmzet
regionstringLand/regio
videoobjectVideo-info-object

data.list.video ​

VeldTypeBeschrijving
video_descstringVideobeschrijving
coverstringCoverafbeelding-URL
durationintDuur (seconden)
fastmoss_urlstringFastmoss-link
tiktok_urlstringTikTok-link
uidstringGebruikers-ID
create_timetimestampAanmaaktijd

data.total ​

VeldTypeBeschrijving
totalstringRecords 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"
}