Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Kuaishou Livestream Search

Documentazione API
https://api.sandbase.ai/v1/api/kuaishou/app/search-live

Searches Kuaishou livestreams using a specified search term. Returns matching active broadcast rooms with cursor pagination support.

Prezzo
$0.01USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali

Playground

Input
Cursor, empty for first page
OutputEsempio
Rispostaoutputs · 21.5 KB · 535 righe
[
  {
    "data": {
      "debug_id": "bdad46da",
      "debug_info": "gAAAAABqu8W-b4mOdoQhTJzMzcAsvP94kXcJXFwgI0TPL5qFKxJXi8VgECnk6kWZTB0xtvc0AyPkC88h2rP3kk0zxDHxiItsghuRO5FGxLzYBzduuwLZQC1o1l6QdYpLxqZDRWggTwhayIWEcXVbUKByeYvP_R2RQKy0aVNejT4CQ2M4DhkGG7m5B0RzNOSr9rVt0aisvMVfJlJ3sQ6uaPTG3KpmDbU5PFg_LnqHokZU1vh-otmb4ZLTWDV64kv7Qlu11uE-jcQm",
      "extParams": {
        "disablePhotoInsert": false,
        "dynamicShard": false,
        "enableUserInfoNewLine": true,
        "filterModels": [
          [
            {
              "filterType": "900",
              "multiSelect": false,
              "name": "Default sorting"
            },
            {
              "filterType": "921",
              "multiSelect": false,
              "name": "Fever priority"
            },
            "… 2 more items in the full response"
          ]
        ],
        "isCreativeMode": false,
        "isShowPymkUserPhotos": true,
        "isShowScrollTopButton": false,
        "livePendantResource": "https://static.yximgs.com/udata/pkg/ks-nearby/nearby_living_tag/origin_196uxh2cvc4d2xh4qqxtb9pa4xutwddqgyzeo1dzo8ia2ux1nbhunibu0mo6x6kpui0w0g70j72ik1fzxiao.webp",
        "outerStreamFetch": 6,
        "pageSingleDoubleStyle": 0,
        "rsRecoAfterPlayInterval": 2,
        "searchTaskParam": {},
        "sessionParams": "",
        "streamExtParams": "{\"single\":false,\"predict\":false,\"searchDetailCost\":{\"filterItem\":0,\"getView\":198}}",
        "subtagWithPic": false
      },
      "host-name": "public-bjmt-c26-kce-node88.idchb1az4.hb1.kwaidc.com",
      "jumpToSlideMode": true,
      "llsid": "2010134199673545217",
      "mixFeeds": [
        {
          "atmosphereType": 0,
          "extInfo": {
            "authorTag": {
              "style": 2,
              "text": "回头客超同行15%"
            },
            "ext_params": {
              "is_live_eshop": "1",
              "show_tag": "3_直播卖货_"
            },
            "liveCornerTagInfo": {
              "contentText": "直播卖货",
              "iconType": 3,
              "imgUrl": "https://p66-live.wsbkwai.com/udata/widget/5xuj9y39wx5mrji",
              "recommendReasonText": "",
              "recommendReasonType": 0,
              "type": 2
            },
            "liveGoodPendant": {
              "coverUrl": [
                {
                  "cdn": "p1-ec.ecukwai.com",
                  "url": "https://p1-ec.ecukwai.com/bs2/image-kwaishop-product/ITEM_IMAGE-2265223840-f0c05dc2c22a4900a0e726ace29de49f.jpg"
                }
              ],
              "goodsId": 24682395222840,
              "priceNum": "17.9",
              "pricePrefix": "¥",
              "rank": 0,
              "reportGoodsId": "aw5nrXShRII",
              "soldAmount": "老铁已抢169.4k件",
              "suffixTag": "秒杀价",
              "title": "叮佳伊水胶原蛋白发膜"
            },
            "liveGoodPopup": {
              "jsonInfo": "{\"itemId\":\"aw5nrXShRII\",\"sellerId\":\"J2o_MBfTLFo\",\"merchantSource\":1,\"displayMills\":5000,\"itemTwinkleIntervalMills\":10000,\"anchorDisplayType\":0,\"extraInfo\":\"{\\\"merchant\\\":{\\\"globalMerchantExtraInfo\\\":\\\"{\\\\\\\"maishouTraceTag\\\\\\\":\\\\\\\"1G8P8YexHcbJV0d1APTx1A\\\\\\\",\\\\\\\"maishouReplaceTraceTag\\\\\\\":{\\\\\\\"2468239…"
            },
            "recallSource": "LIVE_QUERY",
            "screenItemKey": "LIVE_STREAM$$1$$0"
          },
          "feedLogCtx": {
            "stExParams": "",
            "stidContainer": "CkExfDIwMTAxMzQxOTk2NzM1NDUyMTd8bGl2ZVN0cmVhbTota0NtcU0yOGdXRXx7InBnIjoic2x2In18eyJyIjowfSJ9MXwyMDEwMTM0MTk5NjczNTQ1MjE3fGxpdmVTdHJlYW06LWtDbXFNMjhnV0V8eyJwZyI6InNsdiJ9fHsiYml6Ijoic2VhcmNoIiwicmFuayI6MCwic3NpZCI6Ik1UUmZNRjh4Tnprd05qa3dOelE1TlRJNFgxODFPRFV6In0="
          },
          "isSingleColumnMode": false,
          "itemTransferInfo": "{\"refer_single_double_type\":0}",
          "itemType": 6,
          "live": {
            "acu": 0,
            "audienceCount": "788",
            "autoEnterDelay": 0,
            "caption": "早秋新款复工第一场",
            "clientComponentLoadScene": 2,
            "coverWidgets": [
              {
                "backgroundColorGradientAngle": 0,
                "extraInfo": "",
                "iconType": 3,
                "imageHeightPx": 14,
                "imageUrls": [
                  "…",
                  "…"
                ],
                "imageWidthPx": 14,
                "newIconStyle": 1,
                "pageType": 2,
                "reasonTextInfo": {
                  "content": "",
                  "extraInfo": "…",
                  "extraParam": "",
                  "imageHeightPx": 0,
                  "imageWidthPx": 0,
                  "languageType": 0,
                  "textColor": "… 0 items in the full response",
                  "textType": 0
                },
                "style": 0,
                "textInfo": {
                  "content": "直播卖货",
                  "extraParam": "{}",
                  "languageType": 0,
                  "textColor": "",
                  "textType": 6
                },
                "type": 3
              }
            ],
            "cover_thumbnail_urls": [
              {
                "cdn": "hw2.a.kwimgs.com",
                "url": "http://hw2.a.kwimgs.com/bs2/lnc/liveNewCover_wcw_-kCmqM28gWE.webp"
              },
              {
                "cdn": "ty2.a.kwimgs.com",
                "url": "http://ty2.a.kwimgs.com/bs2/lnc/liveNewCover_wcw_-kCmqM28gWE.webp"
              }
            ],
            "customized": false,
            "enableAutoPlay": true,
            "enableColorWeaknessMode": true,
            "enableLiveFeedRerank": true,
            "enterSimpleLiveDelayMs": 5000,
            "exp_tag": "1_i/2010134199673545217_slv0",
            "ext_params": {
              "color": "D1D2D0",
              "h": 1280,
              "w": 720
            },
            "feedBuildTime": 1790690750144,
            "feedCreateTime": 1790690750141,
            "feedLogCtx": {
              "stExParams": "",
              "stidContainer": "CkExfDIwMTAxMzQxOTk2NzM1NDUyMTd8bGl2ZVN0cmVhbTota0NtcU0yOGdXRXx7InBnIjoic2x2In18eyJyIjowfSJ9MXwyMDEwMTM0MTk5NjczNTQ1MjE3fGxpdmVTdHJlYW06LWtDbXFNMjhnV0V8eyJwZyI6InNsdiJ9fHsiYml6Ijoic2VhcmNoIiwicmFuayI6MCwic3NpZCI6Ik1UUmZNRjh4Tnprd05qa3dOelE1TlRJNFgxODFPRFV6In0="
            },
            "flowType": 0,
            "fromGroupChat": false,
            "functionShieldSwitchInfo": {},
            "hosts": [
              "live.gifshow.com",
              "live.ksapisrv.com"
            ],
            "isProgrammeOfficialAccount": false,
            "likeCount": "6.2k",
            "liveInnerSwitchInfo": {
              "disableDislike": false
            },
            "liveLiteActivityFlag": 0,
            "liveLiteElementsSwitch": {
              "enableLiteAttachGift": true,
              "enableLiteAttachGiftOpaqueBackground": true,
              "enableLiteDistrictRank": true,
              "enableLiteGiftPanelScroll": true,
              "enableLiteMoreLive": true,
              "enableLiteOnlineCount": true,
              "enableLiteProfitArea": true,
              "enableLiteRecommendLabel": true,
              "enableLiteSendAndShowGift": true,
              "enableLiteWatchingList": true
            },
            "liveModel": 1,
            "liveStreamId": "-kCmqM28gWE",
            "liveStreamRedefinedType": {
              "mainType": 3,
              "subType": [
                1
              ]
            },
            "location": {},
            "lv_params": "{}",
            "merchantData": {
              "liveType": 7
            },
            "multiTabLive": false,
            "newSimpleLiveCard": true,
            "playInfo": {
              "abrConfigs": "{\"businessType\":2,\"dynamicConfig\":\"{\\\"ver\\\":25091703,\\\"use_dynamic_config\\\":1,\\\"fail_bw_ratio\\\":1,\\\"abr_report_option\\\":1,\\\"dynamic_library_option\\\":15,\\\"library_first_buffer_only\\\":1,\\\"library_first_rep_only\\\":1,\\\"library_buffer_control_only\\\":1,\\\"library_next_rep_only\\\":1,\\\"max_thermal_state\\\":3,\\…",
              "adaptiveSpecialConfig": "HighRes",
              "enableLiveStreamPreload": true,
              "enableNativeWebSocket": true,
              "giftComboBuffSeconds": 10,
              "giftComboBuffThreshold": 50,
              "hosts": [
                "live.gifshow.com",
                "live.ksapisrv.com"
              ],
              "landscape": false,
              "liveAdaptiveManifest": [
                {
                  "Mue": 438.1889524263495,
                  "adaptationSet": "…",
                  "adaptiveSpecialConfig": "HighRes",
                  "autoDefaultSelect": true,
                  "businessType": 2,
                  "cdnFeature": "… 0 items in the full response",
                  "freeTrafficCdn": false,
                  "hideAuto": false,
                  "rtmConfig": "",
                  "type": "dynamic",
                  "version": "2.0"
                }
              ],
              "livePolicy": [
                "multiRate"
              ],
              "liveResolutionConfig": {
                "displayConfig": {
                  "AUTO": "…",
                  "SUPER": "…"
                },
                "logInfo": {
                  "common": "{\"fts\":\"\",\"kc\":\"videoLive.strategyConfig.ec_fhd_265_4m_20fps_to6_k265Pro\"}",
                  "flv": "{\"codec\":\"H265_1080P\",\"bId\":0,\"cId\":0}",
                  "straInfo": "{\"vcc\":33,\"pp\":104,\"sut\":-1,\"tbt\":\"ec\",\"st\":1,\"prt\":0}"
                },
                "playerStrategyStat": {
                  "prePullVideo": 2
                }
              },
              "liveStreamId": "-kCmqM28gWE",
              "locale": "en_US",
              "loudness": "{\"operateType\":1,\"value\":-20.0,\"timestamp\":1790690750153}",
              "multiTabLive": false,
              "patternType": 5,
              "playRtmpUrl": "http://aliyun-pull.voip.yximgs.com/live/6000_-kCmqM28gWE.flv?txSecret=8460e46e0adb77f283e541e1f74a636b&txTime=6abd173e&stat=kryVoSmRoulSftQGYak03KqWJ5xFwhDwUyD4kut6OWF8wFKCnPgSpyWsLazKQmpj",
              "playUrls": [
                {
                  "Mue": 438.1889524263495,
                  "bitrate": 1500,
                  "cdn": "Huawei",
                  "codec": "HEVC",
                  "freeTrafficCdn": false,
                  "pushCdn": "OriginMainApp",
                  "url": "http://hw-origin.pull.yximgs.com/gifshow/-kCmqM28gWE_EcHevcHdL0Prok265-AuditAvcOriginL3.flv?hwTime=6abd173e&hwSecret=a3c4f0e22d79fd1140b54fcfd64636a8&tsc=origin&oidc=watchmen&sidc=207211&no_script=1&srcStrm=-kCmqM28gWE&ss=s23&tfc_buyer=1"
                }
              ],
              "restartPlayer": {
                "restartPlayerType": "no"
              },
              "stat": {
                "clientId": "IPHONE"
              },
              "streamType": 1,
              "subType": 0,
              "webSocketLiveServer": {
                "enableFallBackTcp": true,
                "enableWss": true,
                "serverGroupPath": "/group28"
              }
            },
            "profilePagePrefetchInfo": {
              "profilePageType": 2
            },
            "recoTags": [],
            "searchFillCover": false,
            "serverExpTag": "feed_live|-kCmqM28gWE|225707931|1_i/2010134199673545217_slv0|{\"SearchSessionId\":\"MTRfMF8xNzkwNjkwNzQ5NTI4X181ODUz\"}",
            "showGrDetailPage": false,
            "…": "14 more fields in the full response"
          },
          "rank": 0
        },
        {
          "atmosphereType": 0,
          "extInfo": {
            "authorTag": {
              "style": 2,
              "text": "回头客超同行55%"
            },
            "ext_params": {
              "is_live_eshop": "1",
              "show_tag": "3_直播卖货_"
            },
            "liveCornerTagInfo": {
              "contentText": "直播卖货",
              "iconType": 3,
              "imgUrl": "https://p66-live.wsbkwai.com/udata/widget/5xuj9y39wx5mrji",
              "recommendReasonText": "",
              "recommendReasonType": 0,
              "type": 2
            },

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

Kuaishou Livestream Search API

Searches active Kuaishou livestreams by keyword and returns a list of matching broadcast rooms. It needs one input, keyword, and accepts an optional pcursor to page through results.

Use cases

  • Find live rooms that are broadcasting about a topic or brand name right now.
  • Collect live room captions and cover images for a keyword to review what streamers are showing.
  • Check whether any livestream matches a keyword before you look up the streamer in more detail.
  • Page through all live results for a term by passing back the returned cursor.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/search-live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "OpenAI"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYes
pcursorstringNoCursor, empty for first page

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "debug_id": "4b740b50",
  "debug_info": "gAAAAABq6Y7hNBn1QQMxm_Vpk4cDglqzHDqZWMsVPVntFo1DitGAyY3eNF8CowwWQep6K5W2UD4ahTKw…",
  "extParams": {
    "disablePhotoInsert": false,
    "dynamicShard": false,
    "enableUserInfoNewLine": true,
    "isCreativeMode": false,
    "isShowPymkUserPhotos": true,
    "isShowScrollTopButton": false,
    "livePendantResource": "https://static.yximgs.com/udata/pkg/ks-nearby/nearby_living_tag/origin_196uxh2cv…",
    "outerStreamFetch": 6,
    "pageSingleDoubleStyle": 0,
    "recoResultTitle": "你附近的优惠地点",
    "rsRecoAfterPlayInterval": 2,
    "searchTaskParam": {}
  },
  "host-name": "public-bjmt-c26-kce-node882.idchb1az4.hb1.kwaidc.com",
  "jumpToSlideMode": true,
  "llsid": "2006455567336777042",
  "mixFeeds": [],
  "pcursor": "no_more",
  "portalFlag": true,
  "recoAreaTitle": "",
  "recoInterestFlag": false,
  "recoMixFeeds": [
    {
      "atmosphereType": 0,
      "extInfo": {
        "ext_params": {
          "show_tag": "0_直播中_"
        },
        "liveCornerTagInfo": {
          "contentText": "直播中",
          "iconType": 0,
          "imgUrl": "https://p66-live.wsbkwai.com/udata/widget/5xtsbd34jwy8kgc",
          "recommendReasonText": "",
          "recommendReasonType": 0,
          "type": 2
        },
        "recallSource": "LIVE_OFFICIAL_MEDIA",
        "screenItemKey": "LIVE_STREAM$$1$$0"
      },
      "feedLogCtx": {
        "stExParams": "",
        "stidContainer": "CkExfDIwMDY0NTU1NjczMzY3NzcwNDJ8bGl2ZVN0cmVhbTp6TGthdWY2R0RIa3x7InBnIjoic2x2In18…"
      },
      "isSingleColumnMode": false,
      "itemTransferInfo": "{\"refer_single_double_type\":0}",
      "itemType": 6,
      "live": {
        "acu": 0,
        "audienceCount": "0",
        "autoEnterDelay": 0,
        "caption": "2026浙BA省级争霸赛 杭州vs桐乡",
        "clientComponentLoadScene": 4,
        "coverWidgets": [
          {
            "backgroundColorGradientAngle": 0,
            "extraInfo": "",
            "iconType": 0,
            "imageHeightPx": 14,
            "imageUrls": [
              {
                "cdn": "p66-live.wsbkwai.com",
                "url": "https://p66-live.wsbkwai.com/udata/widget/5xtsbd34jwy8kgc"
              }
            ],
            "imageWidthPx": 14,
            "newIconStyle": 1,
            "pageType": 2
          }
        ],
        "cover_thumbnail_urls": [
          {
            "cdn": "p22.a.yximgs.com",
            "url": "http://p22.a.yximgs.com/uhead/AB/2026/11/02/19/BMjAyNjExMDIxOTA0NTFfMTQ1OTk5MTg5…"
          }
        ],
        "customized": true
      },
      "rank": 0
    }
  ]
}

Response fields

FieldMeaning
recoMixFeeds[]List of matching livestream entries. Each item is one broadcast room, ordered by rank.
recoMixFeeds[].rankPosition of the room in the result list, starting at 0.
recoMixFeeds[].live.captionTitle text of the livestream as shown on Kuaishou.
recoMixFeeds[].live.audienceCount / recoMixFeeds[].live.acuViewer count fields for the room. audienceCount is a string. Both were 0 in this response.
recoMixFeeds[].live.cover_thumbnail_urls[].urlCover image URLs for the room, each with the cdn host that serves it.
recoMixFeeds[].extInfo.liveCornerTagInfo.contentTextLabel shown on the room card. The value 直播中 means the room is live.
recoMixFeeds[].extInfo.recallSourceLabel for the source that matched this room, such as LIVE_OFFICIAL_MEDIA.
recoMixFeeds[].feedLogCtx.stidContainerEncoded tracking string attached to each entry.
recoPcursor / pcursorCursor values for paging. Both were no_more in this response, which means no further pages.
llsid / requestIdIdentifiers for this search request.

Notes

  • Leave pcursor empty for the first page. For the next page, send the cursor value from the previous response.
  • A cursor of no_more in pcursor or recoPcursor means there are no more results.
  • Results are in recoMixFeeds. The mixFeeds list was empty in this response.
  • To get details about a streamer, try Kuaishou User Broadcast Details.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Kuaishou$0.01 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON
Kuaishou$0.001 per chiamataJSON

Guide:Best Kuaishou API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Kuaishou Livestream Search?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/kuaishou/app/search-live con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Kuaishou Livestream Search?

$0.01 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Kuaishou Livestream Search?

Richiesti: keyword (string). Facoltativi: pcursor (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Kuaishou Livestream Search?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Kuaishou?

No. Kuaishou Livestream Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Kuaishou.