Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Kuaishou Image Post Search

API 文件
https://api.sandbase.ai/v1/api/kuaishou/app/search-image

Searches Kuaishou image posts matching a specified search term. Returns feed details including captions, engagement metrics, and pagination tokens.

價格
$0.01美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
Cursor, empty for first page
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Kuaishou Image Post Search API

Returns Kuaishou image posts that match a search term. Each result includes the caption, the poster's IP location, a collect count, and a relevance score. You pass a keyword and can pass a pcursor to page through results.

Use cases

  • Collect image posts that mention a brand or topic, such as OpenAI, and read their captions and hashtags.
  • Rank posts for a keyword by relevance_score to pick the closest matches first.
  • Compare collect_count across posts to see which image posts people save most.
  • Group results by captionIpLocation to see which regions post about a topic.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/search-image" \
  -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": "4151e0f9",
  "debug_info": "gAAAAABq6Y7lTZtazFcoSV1itJOzNbNva6Oxe8PEDJ9cUUJ2VSCUI9Hj-ZrRU1nB4xQNNI-opDIkkL7x…",
  "extParams": {
    "disablePhotoInsert": false,
    "dynamicShard": false,
    "isCreativeMode": false,
    "isShowPymkUserPhotos": true,
    "isShowScrollTopButton": false,
    "livePendantResource": "https://static.yximgs.com/udata/pkg/ks-nearby/nearby_living_tag/origin_196uxh2cv…",
    "outerStreamFetch": 6,
    "pageSingleDoubleStyle": 0,
    "rsRecoAfterPlayInterval": 2,
    "searchTaskParam": {},
    "sessionParams": "",
    "streamExtParams": "{\"single\":false,\"predict\":false,\"searchDetailCost\":{\"filterItem\":14,\"getView\":22…"
  },
  "feeds": [
    {
      "atmosphereType": 0,
      "extInfo": {
        "clickTriggerInnerStream": false,
        "ext_params": {
          "relevance_score": "0.89858866"
        },
        "feedback": {
          "contentList": [
            {
              "id": "search_quality2",
              "text": " Poor quality"
            }
          ],
          "otherContent": {
            "id": "search_other",
            "text": "Other"
          },
          "unInterestList": [
            {
              "id": "search_seenlonger",
              "text": "Author Unlike"
            }
          ]
        },
        "recallSource": "0",
        "screenItemKey": "PHOTO$$1$$0",
        "showPlcFeatureEntry": false
      },
      "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=黄仁勋ai舞蹈&sessionId=MzIwXzBfMTc5MzY5MTM2NDk1Ml9fMzUwNw&sourc…",
              "backgroundColor": "#333333",
              "bottomWeakStyleType": 0,
              "enableForceClose": false,
              "fontColor": "#FFFFFF",
              "fontSize": 13,
              "iconHeight": 48,
              "iconRightMargin": 4
            },
            "delayShowWeakStyle": false,
            "playVideoEndToStrongMillis": 0,
            "showStrongVideoCountdownMillis": 0,
            "showStrongVideoMillis": 0,
            "strongStyleCloseHideWeakStyle": false,
            "styleTriggers": []
          },
          "eventTrackData": {
            "all_source": "p2q_semantic_recall_v8",
            "entry_source": "search_entrance_featured_bottom_bar_search",
            "is_hotbar": "\u0000",
            "query_id": "fc079611e9eff69b5d6924befd4e9eff",
            "query_list_id": "MzIwXzBfMTc5MzY5MTM2NDk1Ml9fMzUwNw",
            "query_name": "黄仁勋ai舞蹈",
            "rel_score": "0.415438",
            "stg_recall_source": "p2q_semantic_recall_v8"
          }
        },
        "canShowQuickCommentGuide": true,
        "caption": "那一刻,ai的齿轮正在悄然转动。 #黄仁勋 #openai #chatgpt",
        "captionIpLocation": "Jiangxi",
        "captionToComment": "那一刻,ai的齿轮正在悄然转动。 #黄仁勋 #openai #chatgpt",
        "clearScreenSameAuthorCount": 13,
        "collect_count": 207
      },
      "feedLogCtx": {
        "logParams": "{\"SEARCH\":{\"dr_type\":\"IMAGE_ATLAS\",\"dr_id\":\"5201939237396139534\",\"dr_rank\":0,\"dr…",
        "stidContainer": "In8xfDIwMTAxOTYwMzM3Nzc1ODU2MDF8cGhvdG86NTIwMTkzOTIzNzM5NjEzOTUzNHx7InBnIjoic2ki…"
      },
      "isSingleColumnMode": false,
      "itemTransferInfo": "{\"refer_single_double_type\":0}",
      "itemType": 5,
      "rank": 0
    }
  ],
  "host-name": "public-bjx-c97-kce-node107.idchb1az1.hb1.kwaidc.com",
  "llsid": "2010196033777585601",
  "pcursor": "1",
  "portalFlag": true,
  "recoInterestFlag": false,
  "recoPcursor": "no_more",
  "requestId": "MTRfMF8xNzkzNjkxMzY0NTEwX184NjAw",
  "responseCode": 0
}

Response fields

FieldMeaning
feeds[]One search result per item. Each item holds the post data under feed and search metadata around it.
feeds[].rankPosition of the result in the search list, starting at 0. Values can skip numbers, so do not assume they are continuous.
feeds[].feed.captionText of the post, including hashtags. Long captions end with an ellipsis.
feeds[].feed.captionIpLocationIP location label of the poster, such as Jiangxi or Guangdong.
feeds[].feed.collect_countNumber of times the post has been collected.
feeds[].extInfo.ext_params.relevance_scoreRelevance score for the post against the search term, returned as a string such as 0.89858866.
feeds[].feedLogCtx.logParamsJSON string. Inside it, dr_id holds the post ID, dr_author_id holds the author ID, and dr_type is IMAGE_ATLAS for these image posts.
feeds[].feed.commentInfoComment settings for the post. It appears on some results only.
pcursorCursor for the next page. The sample response returns 1.
recoPcursorCursor for recommended results. The value no_more means there are none left.

Notes

  • Leave pcursor empty for the first page. Send the pcursor value from the response to get the next page.
  • The keyword value is free text, for example OpenAI.
  • dr_id and dr_author_id are inside the feeds[].feedLogCtx.logParams string. Parse that string as JSON to read them.
  • To search videos instead of image posts, use Kuaishou Video Search (V2).

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Kuaishou每次呼叫 $0.01JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON

指南:Best Kuaishou API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Kuaishou Image Post Search API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/kuaishou/app/search-image。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Kuaishou Image Post Search API 的費用是多少?

每次 $0.01,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Kuaishou Image Post Search API 接受哪些參數?

必要:keyword (string)。 選填:pcursor (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Kuaishou Image Post Search API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Kuaishou 開發者帳號或 API 金鑰嗎?

不需要。Kuaishou Image Post Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Kuaishou API 存取權。