Kuaishou Video Search (V2)
https://api.sandbase.ai/v1/api/kuaishou/app/search-video-v2Searches for Kuaishou videos matching a designated keyword query. Returns matching video results with support for cursor-based pagination across multiple pages.
- मूल्य
- $0.01USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- JSON
- पैरामीटर
- 1 आवश्यक · 1 वैकल्पिक
प्लेग्राउंड
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
API README
Kuaishou Video Search (V2) API
Returns a list of Kuaishou video results for a search keyword. Each result carries the video caption, the poster's IP location, a relevance score and a rank. The only required input is keyword.
Use cases
- Collect the top Kuaishou videos that mention a brand or product name such as
OpenAI. - Sort results by
extInfo.ext_params.relevance_scoreto find the videos that match a query best. - Read captions and hashtags to see how a topic is described in Chinese-language short video.
- Page through results with
pcursorto build a larger sample of videos for one keyword.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/search-video-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "OpenAI"}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | |
pcursor | string | No | Pagination cursor, empty for first page, pass pcursor from previous response |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"debug_id": "2abea813",
"debug_info": "gAAAAABq6Y7n8R1XKFkSSvMijb4ucgA8kO2L5gjP2pWwiLU2B7CC9oiq48Y_XvvhEsOQawxGgfz_5xDp…",
"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": 10,
"pageSingleDoubleStyle": 0,
"rsRecoAfterPlayInterval": 2,
"searchTaskParam": {},
"sessionParams": "",
"streamExtParams": "{\"single\":false,\"predict\":false,\"searchDetailCost\":{\"filterItem\":5,\"getView\":202…"
},
"host-name": "public-bjy-c26-kce-node-canary34.idchb1az2.hb1.kwaidc.com",
"jumpToSlideMode": true,
"llsid": "2006455553511323202",
"mixFeeds": [
{
"atmosphereType": 0,
"extInfo": {
"clickTriggerInnerStream": false,
"ext_params": {
"relevance_score": "0.8565725"
},
"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=chatgpt的声音&sessionId=MzIwXzBfMTc5MzY5MTM2NjI2OV9fNDM2&sour…",
"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,p2q_semantic_recall_v1",
"entry_source": "search_entrance_featured_bottom_bar_search",
"is_hotbar": "\u0000",
"query_id": "e219f429b3379bf9ac5257cde3212009",
"query_list_id": "MzIwXzBfMTc5MzY5MTM2NjI2OV9fNDM2",
"query_name": "chatgpt的声音",
"rel_score": "0.787150",
"stg_recall_source": "p2q_semantic_recall_v1"
}
},
"canShowQuickCommentGuide": true,
"caption": "炸裂更新!亲测gpt5.6语音交互!无延迟真同传,翻译专业这下彻底玩完 #ChatGPT #OpenAI #人工智能 #翻译 ",
"captionFontInfo": {
"enableShow": true,
"fontSize": 3,
"rowHeight": 1.3
},
"captionIpLocation": "Sichuan",
"captionSearchInfo": {
"actionUrlList": [
"kwai://search?keyword=gpt5%2E6&sessionId=MzIwXzBfMTc5MzY5MTM2NjI2OV9fNDM2&source…"
],
"captionSearchType": 2,
"dataSource": 0,
"extParams": "{\"entrySourceList\":[\"search_entrance_cap_keyword\"]}\n",
"offsetList": [
7
],
"queryIdList": [
"914987353e931242e5fdc6246b9b0baa"
],
"searchWordList": [
"gpt5.6"
],
"sessionId": "MzIwXzBf…"
},
"captionToComment": "炸裂更新!亲测gpt5.6语音交互!无延迟真同传,翻译专业这下彻底玩完 #ChatGPT #OpenAI #人工智能 #翻译 "
},
"feedLogCtx": {
"stidContainer": "IoABMXwyMDA2NDU1NTUzNTExMzIzMjAyfHBob3RvOjUxODkyNzI4NzI5MzM1MDgzMTd8eyJwZyI6InNm…"
},
"isSingleColumnMode": false,
"itemTransferInfo": "{\"refer_single_double_type\":0}",
"itemType": 5,
"rank": 0
}
],
"pcursor": "1",
"portalFlag": true,
"recoInterestFlag": false,
"recoPcursor": "no_more",
"responseCode": 0
}
Response fields
| Field | Meaning |
|---|---|
mixFeeds[] | List of search results. Each item is one video entry in ranked order. |
mixFeeds[].rank | Position of the result in the list, starting at 0. |
mixFeeds[].feed.caption / mixFeeds[].feed.captionToComment | Caption text of the video, including its hashtags. |
mixFeeds[].feed.captionIpLocation | IP location shown for the poster, such as Sichuan or Shanghai. |
mixFeeds[].feed.captionSearchInfo.searchWordList[] | Keywords found inside the caption that link to other searches. Present only on some items. |
mixFeeds[].extInfo.ext_params.relevance_score | Relevance score of the video to the search keyword. It is returned as a string. |
mixFeeds[].feed.bottomEntryInfo.eventTrackData.query_name | Suggested related search query shown under the video. |
mixFeeds[].feed.clearScreenSameAuthorCount | Count attached to the video's author. Its exact meaning is not described in the response. |
pcursor | Cursor value for the next page of results. |
recoPcursor | Cursor for recommended results. The value no_more means there are none. |
Notes
- Leave
pcursorempty for the first page. Pass thepcursorvalue from the previous response to get the next page. - The response also contains interface data such as colors, feedback options and
kwai://links. You can ignore these for most uses. - The response has no video ID field in the trimmed sample. To get full details for a video, use Kuaishou Video Details by URL with a video link.
- To search other content types, use Kuaishou User Search (V2) or Kuaishou Livestream Search.
Pricing
$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/search-video-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "OpenAI",
"pcursor": ""
}'2. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
pcursorstring
Pagination cursor, empty for first page, pass pcursor from previous response
डिफ़ॉल्ट: ""
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
संबंधित APIs
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Kuaishou | $0.01 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
Kuaishou | $0.001 प्रति कॉल | JSON |
प्रश्न
FAQ
Kuaishou Video Search (V2) API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/kuaishou/app/search-video-v2 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
Kuaishou Video Search (V2) API की लागत कितनी है?
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
Kuaishou Video Search (V2) API कौन-से parameters स्वीकार करती है?
आवश्यक: keyword (string)। वैकल्पिक: pcursor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
Kuaishou Video Search (V2) API क्या लौटाती है?
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक Kuaishou developer account या API key चाहिए?
नहीं। Kuaishou Video Search (V2) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Kuaishou API access के लिए आवेदन करने की आवश्यकता नहीं है।
