Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Kuaishou Comprehensive Search

Dokumentacja API
https://api.sandbase.ai/v1/api/kuaishou/app/search-comprehensive

Returns aggregated search feeds across videos and users on Kuaishou, with filtering options for duration, sort order, and release timeframe.

Cena
$0.01USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 4 opcjonalnych

Playground

Wejście
Duration filter
Publish time filter
Sort type
WyjściePrzykład
Odpowiedźoutputs · 16.5 KB · 437 wierszy
[
  {
    "data": {
      "costInfo": {
        "S_A": 738,
        "S_A_RE": 467,
        "S_A_RPC": 156
      },
      "extParams": {
        "chatFlag": false,
        "dayConfig": 3,
        "descPageUrl": "disableTriggerRecoPageList=false]]]https://ppg.viviv.com/doodle/VqedGfkY.html?hyId=jimu_VqedGfkY&layoutType=4",
        "disablePhotoInsert": false,
        "doubleColumnBeginIndex": 0,
        "dynamicShard": false,
        "hasGradientBg": false,
        "hashTagSingle": false,
        "isCreativeMode": false,
        "isOpenTab": 0,
        "isShowPymkUserPhotos": true,
        "isShowScrollTopButton": false,
        "livePendantResource": "https://static.yximgs.com/udata/pkg/ks-nearby/nearby_living_tag/origin_196uxh2cvc4d2xh4qqxtb9pa4xutwddqgyzeo1dzo8ia2ux1nbhunibu0mo6x6kpui0w0g70j72ik1fzxiao.webp",
        "mixSingleColumnMode": 1,
        "multiFilterModels": [
          {
            "filterModels": [
              {
                "filterType": "700",
                "multiSelect": false,
                "name": "默认排序"
              },
              {
                "filterType": "701",
                "multiSelect": false,
                "name": "最新发布"
              },
              "… 1 more items in the full response"
            ],
            "title": "排序"
          },
          {
            "filterModels": [
              {
                "filterType": "700",
                "multiSelect": false,
                "name": "不限"
              },
              {
                "filterType": "712",
                "multiSelect": false,
                "name": "近1日"
              },
              "… 2 more items in the full response"
            ],
            "title": "发布时间"
          },
          "… 2 more items in the full response"
        ],
        "pageSingleDoubleStyle": 0,
        "photoShowType": 1,
        "rsRecoAfterPlayInterval": 2,
        "searchTabCardRelation": [
          {
            "cardList": [
              {
                "cardKey": "ALADDIN_EVENT_CONTEXT",
                "cardName": "脉络卡"
              }
            ],
            "tabKey": "tab1",
            "tabName": "事件脉络"
          },
          {
            "cardList": [
              {
                "cardKey": "ALADDIN_TK_EXTENSION",
                "cardName": "事件解读"
              },
              {
                "cardKey": "ALADDIN_BASE_USER",
                "cardName": "用户卡"
              },
              "… 6 more items in the full response"
            ],
            "tabKey": "tab2",
            "tabName": "深度解读"
          },
          "… 2 more items in the full response"
        ],
        "searchTaskParam": {},
        "sessionParams": "",
        "streamExtParams": "{\"single\":false,\"predict\":false,\"searchDetailCost\":{\"resolveRequest\":1,\"filterItem\":2,\"portalCollectItem\":2,\"comboParam\":84,\"portalRpc\":468,\"getView\":157,\"bizProcess\":0}}",
        "subtagWithPic": false
      },
      "host-name": "public-bjx-c34-kce-node5906.idchb1az1.hb1.kwaidc.com",
      "isRecommendResult": false,
      "jumpToSlideMode": true,
      "llsid": "2006333476622888770",
      "mixFeeds": [
        {
          "atmosphereType": 0,
          "extInfo": {
            "feedback": {
              "contentList": [
                {
                  "id": "search_kbox_results_irrelevant",
                  "text": "结果不相关"
                },
                {
                  "id": "search_kbox_poor_content",
                  "text": "内容质量差"
                },
                "… 3 more items in the full response"
              ],
              "otherContent": {
                "id": "search_kbox_other",
                "text": "其他"
              },
              "unInterestList": [
                {
                  "id": "search_kbox_not_interested",
                  "text": "不感兴趣"
                }
              ]
            },
            "itemFlag": 0,
            "screenItemKey": "ALADDIN_BASE_MP$$0$$0"
          },
          "feedLogCtx": {
            "stidContainer": "IooBMXwyMDA2MzMzNDc2NjIyODg4NzcwfEFMQURESU5fSkM6MHx7InBnIjoic2NuIn18eyJiaXoiOiJzZWFyY2giLCJyYW5rIjowLCJzc2lkIjoiUVV4QlJFUkpUbDlEVDAxQ1QxOVRSVUZTUTBoZk1GOHhOemt3Tmprd056UXdOVFV5WDE4NE56QSJ9"
          },
          "isSingleColumnMode": false,
          "itemTransferInfo": "{\"refer_single_double_type\":0}",
          "itemType": 25,
          "log": {
            "bizId": "",
            "searchItemType": 41,
            "templateId": "0",
            "templateName": "ALADDIN_BASE_MP"
          },
          "mixKbox": [
            {
              "boxType": 98,
              "kboxObject": {
                "TKDatas": [
                  "…"
                ],
                "TkCardType": 1,
                "tkBundleId": "SearchKboxComponent",
                "tkViewKey": "title"
              }
            },
            {
              "boxType": 98,
              "kboxObject": {
                "TKDatas": [
                  "…"
                ],
                "TkCardType": 1,
                "extParams": {
                  "styleConfig": "…"
                },
                "tkBundleId": "SearchKboxComponent",
                "tkViewKey": "baseV2"
              }
            }
          ],
          "rank": 0
        },
        {
          "atmosphereType": 0,
          "extInfo": {
            "clickTriggerInnerStream": false,
            "ext_params": {
              "relevance_score": "0.89368117"
            },
            "feedback": {
              "contentList": [
                {
                  "id": "search_quality2",
                  "text": "内容违规、血腥、低俗"
                },
                {
                  "id": "search_cover",
                  "text": "封面质量差"
                },
                "… 4 more items in the full response"
              ],
              "otherContent": {
                "id": "search_other",
                "text": "其他"
              },
              "unInterestList": [
                {
                  "id": "search_seenlonger",
                  "text": "不再看到该作者"
                },
                {
                  "id": "search_unlike",
                  "text": "不再看到该作品"
                }
              ]
            },
            "recallSource": "0",
            "screenItemKey": "PHOTO$$1$$0",
            "showPlcFeatureEntry": false,
            "showPoiInfo": false
          },
          "feed": {
            "adminTags": [],
            "bottomEntryInfo": {
              "bizExtraData": {},
              "bottomBizType": 14,
              "bottomStyleInfo": {
                "bottomStrongStyle": {
                  "actionUrl": "",
                  "backgroundColor": "",
                  "bottomStrongStyleType": 0,
                  "enableForceClose": false,
                  "fontColor": "",
                  "fontSize": 0,
                  "iconHeight": 0,
                  "iconUrl": "",
                  "iconWidth": 0,
                  "labels": "… 0 items in the full response",
                  "needToRequestStrongApi": false,
                  "preTitle": "",
                  "roundCorner": false,
                  "showSeparator": false,
                  "strongStyleItems": "… 0 items in the full response",
                  "tailIconUrl": "",
                  "title": "",
                  "visibility": 0
                },
                "bottomWeakStyle": {
                  "actionUrl": "kwai://search?keyword=汽车车模&sessionId=MzIwXzBfMTc5MDY5MDc0MTExNl9fNDkyMw&source=search_entrance_featured_bottom_bar_search&extParams={\"refer_photo_id\":\"189316871619\",\"bbar_src\":\"\",\"biz_source\":\"bbar\",\"statistic_flag\":\"0\",\"recall_source\":\"p2q_semantic_recall_v8\"}&alwaysUploadExtParams=true",
                  "backgroundColor": "#333333",
                  "bottomWeakStyleType": 0,
                  "enableForceClose": false,
                  "fontColor": "#FFFFFF",
                  "fontSize": 13,
                  "iconHeight": 48,
                  "iconRightMargin": 4,
                  "iconTextSuffix": "",
                  "iconUrl": "https://p5-plat.wskwai.com/udata/pkg/se-cdn/caption_fangdajin.png",
                  "iconWidth": 48,
                  "jumpText": "",
                  "label": "",
                  "notTruncatedTitle": "",
                  "preTitle": "相关搜索",
                  "roundCorner": false,
                  "showArrow": true,
                  "showClose": false,
                  "showSeparator": false,
                  "tailIconUrl": "",
                  "title": "汽车车模",
                  "users": "… 0 items in the full response",
                  "visibility": 15
                },
                "delayShowWeakStyle": false,
                "playVideoEndToStrongMillis": 0,
                "showStrongVideoCountdownMillis": 0,
                "showStrongVideoMillis": 0,
                "strongStyleCloseHideWeakStyle": false,
                "styleTriggers": [],
                "weakToStrongAction": []
              },
              "eventTrackData": {
                "all_source": "p2q_semantic_recall_v8",
                "entry_source": "search_entrance_featured_bottom_bar_search",
                "is_hotbar": "\u0000",
                "query_id": "cf279f8a6f449360493a4d15eed35c7a",
                "query_list_id": "MzIwXzBfMTc5MDY5MDc0MTExNl9fNDkyMw",
                "query_name": "汽车车模",
                "rel_score": "0.868082",
                "stg_recall_source": "p2q_semantic_recall_v8"
              }
            },
            "canShowQuickCommentGuide": true,
            "caption": "#美女 #颜值\n美女颜值完美身材车模美女小姐姐",
            "captionToComment": "#美女 #颜值\n美女颜值完美身材车模美女小姐姐",
            "clearScreenSameAuthorCount": 1026,
            "collect_count": 331,
            "commentGuessSearch": {
              "displayPrefix": "相关搜索:",
              "extParams": "{\"all_source\":\"p2q_semantic_recall_v8\",\"entrySource\":\"search_entrance_comment_trending\",\"rel_score\":\"0.335146\",\"stg_recall_source\":\"p2q_semantic_recall_v8\"}\n",
              "iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
              "searchWord": "春晓秋琳车模",
              "searchWordMD5": "32d6dee8ad6bedb2c25b060c7d21b942",
              "searchWordUrl": "kwai://search?keyword=春晓秋琳车模&sessionId=MzIwXzBfMTc5MDY5MDc0MTExNl9fNDkyMw&source=search_entrance_comment_trending&extParams={\"refer_photo_id\":\"189316871619\",\"adQuerySource\":\"\",\"biz_source\":\"cmt_gys\",\"statistic_flag\":\"0\",\"recall_source\":\"p2q_semantic_recall_v8\"}&alwaysUploadExtParams=true",
              "sessionId": "MzIwXzBfMTc5MDY5MDc0MTExNl9fNDkyMw"
            },
            "commentInfo": {
              "commentCountSpecialEffect": true,
              "commentEducationGuide": {
                "guideType": 0,
                "triggerCharCount": 0
              },
              "commentIconType": 0,
              "enableAIPresetGuide": false,

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

Kuaishou Comprehensive Search API

Returns a mixed Kuaishou search feed for a keyword. The feed holds video posts and other result cards such as encyclopedia boxes. The only required input is keyword.

Use cases

  • Collect Kuaishou videos that mention a brand such as OpenAI, with captions and save counts.
  • Rank search results by relevance_score to find the posts that match a keyword best.
  • Read the search filter labels and related search words to see how Kuaishou groups a topic.
  • Pull the encyclopedia card for a company or person to get a short description and basic facts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/search-comprehensive" \
  -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
durationstringNoDuration filter
pcursorstringNo
publish_timestringNoPublish time filter
sort_typestringNoSort type

Example response

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

{
  "costInfo": {
    "S_A": 746,
    "S_A_RE": 466,
    "S_A_RPC": 150
  },
  "extParams": {
    "chatFlag": false,
    "dayConfig": 3,
    "descPageUrl": "disableTriggerRecoPageList=false]]]https://ppg.viviv.com/doodle/VqedGfkY.html?hy…",
    "disablePhotoInsert": false,
    "doubleColumnBeginIndex": 0,
    "dynamicShard": false,
    "hasGradientBg": false,
    "hashTagSingle": false,
    "isCreativeMode": false,
    "isOpenTab": 0,
    "isShowPymkUserPhotos": true,
    "isShowScrollTopButton": false
  },
  "host-name": "public-bjx-c87-kce-node114.idchb1az1.hb1.kwaidc.com",
  "isRecommendResult": false,
  "jumpToSlideMode": true,
  "llsid": "2006449988689940162",
  "mixFeeds": [
    {
      "atmosphereType": 0,
      "extInfo": {
        "clickTriggerInnerStream": false,
        "ext_params": {
          "relevance_score": "0.95159405"
        },
        "feedback": {
          "contentList": [
            {
              "id": "search_quality2",
              "text": "内容违规、血腥、低俗"
            }
          ],
          "otherContent": {
            "id": "search_other",
            "text": "其他"
          },
          "unInterestList": [
            {
              "id": "search_seenlonger",
              "text": "不再看到该作者"
            }
          ]
        },
        "recallSource": "0",
        "recoBgColor": "#CCFFFFFF",
        "recoIconUrl": [
          {
            "cdn": "p66-plat.ndcjl.com",
            "url": "https://p66-plat.ndcjl.com/udata/pkg/se-cdn/collect_01.png"
          }
        ],
        "recoTextColor": "#222222",
        "recoType": 100
      },
      "feed": {
        "adminTags": [],
        "bottomEntryInfo": {
          "bizExtraData": {},
          "bottomBizType": 14,
          "bottomStyleInfo": {
            "bottomStrongStyle": {
              "actionUrl": "",
              "backgroundColor": "",
              "bottomStrongStyleType": 0,
              "enableForceClose": false,
              "fontColor": "",
              "fontSize": 0,
              "iconHeight": 0,
              "iconUrl": ""
            },
            "bottomWeakStyle": {
              "actionUrl": "kwai://search?keyword=正版chatgpt下载入口&sessionId=MzIwXzBfMTc5MzY5MTM1OTE3MV9fNjA2Mw…",
              "backgroundColor": "#333333",
              "bottomWeakStyleType": 0,
              "enableForceClose": false,
              "fontColor": "#FFFFFF",
              "fontSize": 13,
              "iconHeight": 48,
              "iconRightMargin": 4.0
            },
            "delayShowWeakStyle": false,
            "playVideoEndToStrongMillis": 0,
            "showStrongVideoCountdownMillis": 0,
            "showStrongVideoMillis": 0,
            "strongStyleCloseHideWeakStyle": false,
            "styleTriggers": []
          },
          "eventTrackData": {
            "all_source": "p2q_query_extend",
            "entry_source": "search_entrance_featured_bottom_bar_search",
            "is_hotbar": "\u0000",
            "query_id": "bbd83c67a5b7000bfc8bdd163885933a",
            "query_list_id": "MzIwXzBfMTc5MzY5MTM1OTE3MV9fNjA2Mw",
            "query_name": "正版chatgpt下载入口",
            "rel_score": "0.082518",
            "stg_recall_source": "p2q_query_extend"
          }
        },
        "canShowQuickCommentGuide": true,
        "caption": "世界上最强大的AI排名,2026年\r\n#世界之最  #AI  #大模型  #deepseek",
        "captionSpliceAnnotation": "(来源:其他平台)",
        "captionToComment": "世界上最强大的AI排名,2026年 \n#世界之最 #AI #大模型 #deepseek",
        "clearScreenSameAuthorCount": 958,
        "collect_count": 5294
      },
      "feedLogCtx": {
        "stidContainer": "IpgBMXwyMDA2NDQ5OTg4Njg5OTQwMTYyfHBob3RvOjUyNDgxMDExMjc4OTEyMjEzNzl8eyJwZyI6InNj…"
      },
      "isSingleColumnMode": false,
      "itemTransferInfo": "{\"refer_single_double_type\":0}",
      "itemType": 5,
      "rank": 0,
      "searchTitleInfo": {
        "actionType": 1,
        "colorDark": "#E6E6E6",
        "colorLight": "#222222",
        "enableBgColor": true,
        "fontSize": 14,
        "fontWeight": 400,
        "keywordList": [
          {
            "colorDark": "#F73B68",
            "colorLight": "#FE3666",
            "fontSize": 14,
            "fontWeight": 400,
            "keyword": "热评",
            "keywordMode": 1
          }
        ],
        "maxLines": 2
      }
    }
  ],
  "pcursor": "1",
  "portalFlag": true,
  "recoInterestFlag": false,
  "recoPcursor": "no_more",
  "recoPymkFlag": false
}

Response fields

FieldMeaning
mixFeeds[]Result items in display order. Each item is a video post or a special card, such as an encyclopedia box.
mixFeeds[].rankPosition of the item in the result list, starting at 0.
mixFeeds[].itemTypeType code of the item. The sample shows 5 for video posts and 25 for an encyclopedia card.
mixFeeds[].feed.captionCaption text of the video, including hashtags.
mixFeeds[].feed.collect_countNumber of times the video was saved (collected).
mixFeeds[].extInfo.ext_params.relevance_scoreRelevance of the video to the keyword, given as a decimal string.
mixFeeds[].feed.commentGuessSearch.searchWordRelated search phrase shown with the video.
mixFeeds[].mixKbox[].kboxObject.TKDatas[].jsonContent.descShort description in an encyclopedia card, for example a company summary.
extParams.multiFilterModels[].filterModels[]Filter options Kuaishou offers for sort order, publish time and duration. Each option has a name and a filterType code.
llsidID of this search session.

Notes

  • Send pcursor to page through results. Use the cursor value from a previous response.
  • Use sort_type, publish_time and duration to filter. Allowed values are in the parameter list, such as most_likes, one_week and under_1_min.
  • Not every item in mixFeeds is a video. Check itemType before you read feed fields.
  • To get full details for a video found here, call Kuaishou Video Details (V1).

Pricing

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Kuaishou$0.01 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON
Kuaishou$0.001 za wywołanieJSON

Przewodniki:Best Kuaishou API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Kuaishou Comprehensive Search?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/kuaishou/app/search-comprehensive z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Kuaishou Comprehensive Search?

$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Kuaishou Comprehensive Search?

Wymagane: keyword (string). Opcjonalne: duration (jedna z opcji: all, under_1_min, 1_to_5_min, over_5_min), pcursor (string), publish_time (jedna z opcji: all, one_day, one_week, one_month) i sort_type (jedna z opcji: all, newest, most_likes). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Kuaishou Comprehensive Search?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Kuaishou lub klucza API?

Nie. Kuaishou Comprehensive Search działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Kuaishou.