Skip to content

Aan de shop gerelateerde livestreamlijst ​

Inleiding ​

Haal de livestreamlijst op die bij een opgegeven shop hoort.

Eindpunt ​

bash
    POST /shop/v1/liveList

Aanvraagbody ​

VeldTypeVerplichtBeschrijving
filterobjectNeeFilterparameters
orderbyarrayNeeSorteerparameters
pageintegerNeeStandaard: 1
pagesizeintegerNeeStandaard: 10

Optionele waarden van filter ​

VeldTypeVerplichtBeschrijving
seller_idstringNeeShop-ID
creator_uidstringNeeCreator-UID die aan de shop is gekoppeld
creator_unique_idstringNeeUnieke creator-ID die aan de shop is gekoppeld: @xxxxxxx
seller_namestringNeeShopnaam
regionstringNeeLand/regio van de shop

seller_name en region moeten samen worden meegegeven

Optionele waarden van orderby ​

VeldVerplichtBeschrijving
start_timeNeeStarttijd
product_countNeeAantal producten in de livestreamruimte
total_user_countNeeTotaal aantal kijkers
units_soldNeeVerkoopvolume
gmvNeeVerkoopbedrag (GMV)

Voorbeeld van een aanvraag ​

bash
curl 'https://openapi.fastmoss.com/shop/v1/liveList' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{
    "filter": {
        "seller_id": "7495500842223700917"
        # "creator_uid": "6913013214088004614",
        # "creator_unique_id": "caffeinecandleschaos",

        # "seller_name": "Caffeine, Candles & Chaos",
        # "region": "US",
    },
    "orderby": [{
        "field": "start_time",
        "order": "desc"
    }],
    # "orderby": [{
    #     "field": "product_count",
    #     "order": "desc"
    # }],
    # "orderby": [{
    #     "field": "total_user_count",
    #     "order": "desc"
    # }],
    # "orderby": [{
    #     "field": "units_sold",
    #     "order": "desc"
    # }],
    # "orderby": [{
    #     "field": "gmv",
    #     "order": "desc"
    # }],
    "page": 1,
    "pagesize": 10
}'

Antwoordbody ​

data.list ​

VeldTypeBeschrijving
titlestringTitel van de livestreamruimte
room_idstringLivestreamruimte-ID
seller_idstringShop-ID
uidstringCreator-UID die aan de shop is gekoppeld
coverstringCoverafbeelding-URL
main_category_namestringNaam van de hoofdzakelijk gepromote categorie
main_category_idintID van de hoofdzakelijk gepromote categorie
start_timeintStarttijd
units_soldintVerkoopvolume
gmvfloatVerkoopbedrag (GMV)
product_countintAantal producten in de livestreamruimte
total_userintTotaal aantal kijkers
durationintLivestreamduur (seconden)
max_user_countintMaximaal aantal gelijktijdige kijkers
inc_follower_countintVolgersgroei
share_countintAantal shares
is_liveintIs nu live
live_typeintLivestreamtype 1: shoplivestream 2: individuele livestream
creatorobjectGegevens van de gekoppelde creator

data.list.creator ​

VeldTypeBeschrijving
uidstringGebruikers-ID
nicknamestringGebruikersbijnaam
unique_idstringUnieke gebruikers-ID
avatarstringGebruikersavatar-URL
regionstringLand/regio van de gebruiker
follower_countintAantal volgers van de gebruiker
category_idintGebruikerscategorie-ID
category_namestringNaam van de gebruikerscategorie

data.total ​

VeldTypeBeschrijving
totalstringTotaal aantal records

Voorbeeld van een antwoord ​

json
{
  "code": 0,
  "data": {
    "total": 11943,
    "list": [
      {
        "title": "Food and snacks",
        "room_id": "7539139975317703438",
        "cover": "https://s.500fd.com/tt_live/7411364270883588910~tplv-obj.image",
        "main_category_id": 24,
        "main_category_name": "Food & Beverages",
        "creator": {
          "uid": "73083231876554752",
          "avatar": "https://s.500fd.com/tt_author/5aa17bc74b4fd2b91ae364d2a2c6e4d6~tplv-tiktokx-cropcenter:1080:1080.jpeg",
          "region": "US",
          "nickname": "Courtney Luper 🗝️✨",
          "unique_id": "courtneyluper",
          "follower_count": 17183,
          "category_id": 5,
          "category_name": "Food & Beverage"
        },
        "start_time": 1755343248,
        "units_sold": 1939,
        "gmv": 4253.69,
        "product_count": 99,
        "total_user": 84333,
        "duration": 37159,
        "max_user_count": 430,
        "inc_follower_count": 243,
        "share_count": 188,
        "is_live": 0,
        "live_type": 2
      }
    ]
  },
  "message": "success",
  "timestamp": 1773751121,
  "request_id": "76d984e2-e0f8-d04c-dc2d-c1fc9a18ffda"
}