keywordstringwajib
Keyword
https://api.sandbase.ai/v1/api/xigua/app-v2/search-videoSearch Xigua Video (ByteDance long-form video) by keyword: titles, creators, duration, publish time and comment counts, with sort and duration filters.
[
{
"data": {
"common_data": {
"abFields": {},
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2",
"width": 0
},
"isSsrFrame": true,
"location": {
"hash": "",
"host": "security.snssdk.com",
"hostname": "security.snssdk.com",
"href": "https://security.snssdk.com/s/video_search/video/app/search/search_content/?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9…",
"origin": "https://security.snssdk.com",
"pathname": "/s/video_search/video/app/search/search_content/",
"port": "",
"protocol": "https:",
"search": "?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9273955%2C668859%2C9273981%2C668858%2C9273942%2C668851%2C9273992%2C9295430%2…"
},
"query": {
"ab_version": "668853,9274002,668856,9273984,668855,9273955,668859,9273981,668858,9273942,668851,9273992,9295430,3795191,3928649,4113875,4388054,4522571,4890007,5251721,5361616,6034695,6461458,6478709,6571801,6760627,6868072,6961665,7204589,7237725,7354842,7551466,7659314,7670551,7673029,7681473,7682664,7684452,80…",
"ac": "wifi",
"aid": "32",
"app_name": "video_article",
"channel": "google_play",
"device_brand": "Xiaomi",
"device_id": "939401905983347",
"device_platform": "android",
"device_type": "23078PND5G",
"dpi": "480",
"filter_info": "order_type=None&min_duration=None&max_duration=None",
"forum": "1",
"fss": "filter_search",
"iid": "1783851837819571",
"keyword": "美食",
"keyword_type": "keyword_type",
"language": "zh",
"manifest_version_code": "220",
"offset": "0",
"os_api": "33",
"os_version": "13",
"resolution": "1220*2560",
"search_id": "20260927013303C7C6A9D105224AF8851F",
"search_sug": "1",
"ssmix": "a",
"tab": "undefined",
"update_version_code": "6209",
"version_code": "620",
"version_name": "6.2.0"
},
"runtimeVersion": 980,
"targetChannel": "video_search",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2"
},
"count": 10,
"custom_data": {
"extraData": {
"abFields": {},
"baseHeight": 0,
"baseWidth": 0,
"cardTypeContext": [],
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2",
"width": 0
},
"durationType": "default",
"extraInfo": {
"enable_tag_search_xigua_tab": true,
"fe_ab_params": null,
"fe_client_ab_params": null,
"game_aladdin_show_cnt": 3,
"is_hit_new_tag_ui": true,
"is_hit_shark": false,
"is_no_result": false,
"is_req_skip_ten": false,
"is_req_ten": true,
"is_retry": "0",
"lynx_extra_info": {
"search_source": "keyword_type",
"search_type": "keyword_type"
},
"off_highlight": false,
"search_source": "keyword_type",
"search_type": "keyword_type",
"server_detail_time": {
"enable_ad": 0,
"has_ad": 0,
"hit_stream_cache": 0,
"is_chunk_req": 0,
"is_has_lynx_card": false,
"is_has_patch_data": 0,
"is_lynx_card_hit_ssr": 0,
"is_lynx_ssr_call_error": 0,
"is_lynx_ssr_call_rpc": 0,
"lynx_ssr_node_latency": 0,
"lynx_ssr_stream_latency": 0,
"lynx_ssr_type": 0,
"pre_pack_latency": 336.485,
"predict_ack_latency": 0,
"predict_card_list": "",
"predict_send_latency": 0,
"real_card_list": "suggest",
"server_federation_federation_latency": 666,
"server_sati_auction_latency": 20,
"server_sati_engine_latency": 0,
"server_sati_engine_num": 0,
"server_sati_federation_latency": 674,
"server_sati_rit": 10016,
"server_sati_sati_cache": 0,
"server_sati_sati_latency": 707,
"server_sati_self_latency": 1,
"server_sc_sc_latency": 490,
"server_stream_init_time": 164.392,
"server_stream_loader_time": 11.14,
"server_stream_pack_time": 0.368,
"server_stream_provider_time": 791.309,
"server_stream_sati_latency": 779.932,
"server_stream_time": 957.283
},
"server_end_time": "1790700290610",
"server_start_time": "1790700289654",
"skin_info": "",
"synthesis_stability_error": 0,
"wish_stability_error": 0
},
"isAndroid": true,
"isIOS": false,
"isSsrFrame": true,
"keyword": "美食",
"keywordType": "keyword_type",
"lazyLoadVertCount": 7,
"location": {
"hash": "",
"host": "security.snssdk.com",
"hostname": "security.snssdk.com",
"href": "https://security.snssdk.com/s/video_search/video/app/search/search_content/?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9…",
"origin": "https://security.snssdk.com",
"pathname": "/s/video_search/video/app/search/search_content/",
"port": "",
"protocol": "https:",
"search": "?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9273955%2C668859%2C9273981%2C668858%2C9273942%2C668851%2C9273992%2C9295430%2…"
},
"logPb": {
"impr_id": "20260930004449133B1A3EDE155C373C63",
"impr_type": "__search__"
},
"orderType": "default",
"query": {
"ab_version": "668853,9274002,668856,9273984,668855,9273955,668859,9273981,668858,9273942,668851,9273992,9295430,3795191,3928649,4113875,4388054,4522571,4890007,5251721,5361616,6034695,6461458,6478709,6571801,6760627,6868072,6961665,7204589,7237725,7354842,7551466,7659314,7670551,7673029,7681473,7682664,7684452,80…",
"ac": "wifi",
"aid": "32",
"app_name": "video_article",
"channel": "google_play",
"device_brand": "Xiaomi",
"device_id": "939401905983347",
"device_platform": "android",
"device_type": "23078PND5G",
"dpi": "480",
"filter_info": "order_type=None&min_duration=None&max_duration=None",
"forum": "1",
"fss": "filter_search",
"iid": "1783851837819571",
"keyword": "美食",
"keyword_type": "keyword_type",
"language": "zh",
"manifest_version_code": "220",
"offset": "0",
"os_api": "33",
"os_version": "13",
"resolution": "1220*2560",
"search_id": "20260927013303C7C6A9D105224AF8851F",
"search_sug": "1",
"ssmix": "a",
"tab": "undefined",
"update_version_code": "6209",
"version_code": "620",
"version_name": "6.2.0"
},
"queryId": "6598250706661020941",
"runtimeVersion": 980,
"searchId": "20260927013303C7C6A9D105224AF8851F",
"tabName": "video",
"targetChannel": "video_search",
"tokens": [
"美食"
],
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2"
}
},
"err_code": 0,
"extra_data": {
"initCount": 10,
"initHasMore": true,
"initIsEmptyContent": true,
"initOffset": 10,
"initReqId": "20260930004449133B1A3EDE155C373C63",
"initSearchId": "20260927013303C7C6A9D105224AF8851F"
},
"extra_data_element": {
"attr": [
[
"type",
"application/json"
],
[
"class",
"s-extra-data"
]
],
"inner": "{\"initOffset\":10,\"initHasMore\":true,\"initReqId\":\"20260930004449133B1A3EDE155C373C63\",\"initSearchId\":\"20260927013303C7C6A9D105224AF8851F\",\"initIsEmptyContent\":true,\"initCount\":10}",
"tag": "script"
},
"fb_results": [
{
"abaseKey": "[card_html]video_search:32:美食:0:::android:Inner_FilterBar",
"browserJs": "//lf3-material.searchpstatp.com/toutiao/feoffline/search-materials-source-video_search/Inner_FilterBar/dist/browser/js/Inner_FilterBar.6fc0b726.js",
"compileCss": ".s-filter-bar{z-index:800}@font-face{font-family:Condensed-Bold-Number;src:local(\"DINCondensed-Bold\");src:url(data:font/ttf;base64,AAEAAAAOAIAAAwBgRkZUTWHTbqoAABQcAAAAHE9TLzJ3HCCoAAABaAAAAGBjbWFwAAwAbQAAAfgAAAAsY3Z0IACXBXsAAAPoAAAAGmZwZ20GWZw3AAACJAAAAXNnbHlmafRqqgAABCAAAAwMaGVhZO/4/icAAADsAAAANmhoZ…",
"html": "",
"id": "16b97220",
"itemDataStr": "{\"extraData\":{}}",
"output": {
"dom": [
{
"attr": [
"… 2 items in the full response"
],
"inner": "",
"tag": "div"
}
],
"script": [
{
"attr": [
"… 2 items in the full response",
"… 2 items in the full response",
"… 1 more items in the full response"
],
"inner": "{\"extraData\":{}}",
"tag": "script"
},
{
"attr": [
"… 2 items in the full response"
],
"inner": "window._core.flow({\"domId\":\"s-dom-16b97220\",\"jsonId\":\"s-data-16b97220\",\"tmpUrl\":\"//lf3-material.searchpstatp.com/toutiao/feoffline/search-materials-source-video_search/Inner_FilterBar/dist/browser/js/Inner_FilterBar.6fc0b726.js\",\"tmpId\":\"Inner_FilterBar\",\"sharedDataId\":\"s-shared-data-82d37dadaf80217…",
"tag": "script"
}
],
"style": [
{
"attr": [],
"inner": ".s-filter-bar{z-index:800}@font-face{font-family:Condensed-Bold-Number;src:local(\"DINCondensed-Bold\");src:url(data:font/ttf;base64,AAEAAAAOAIAAAwBgRkZUTWHTbqoAABQcAAAAHE9TLzJ3HCCoAAABaAAAAGBjbWFwAAwAbQAAAfgAAAAsY3Z0IACXBXsAAAPoAAAAGmZwZ20GWZw3AAACJAAAAXNnbHlmafRqqgAABCAAAAwMaGVhZO/4/icAAADsAAAANmhoZ…",
"tag": "style"
}
]
},
"templateId": "Inner_FilterBar",
"templateVersion": 72
}
],
"feed_down_tag": "",
"feed_up_tag": "",
"filtered_data": [],
"has_more": true,
"is_empty_content": true,
"list_length": 0,
"offset": 10,
"raw_data": {
"count": 10,
"extra_info": {
"enable_tag_search_xigua_tab": true,
"fe_ab_params": null,
"fe_client_ab_params": null,
"game_aladdin_show_cnt": 3,
"is_hit_new_tag_ui": true,
"is_hit_shark": false,
"is_no_result": false,
"is_req_skip_ten": false,
"is_req_ten": true,
"is_retry": "0",
"lynx_extra_info": {
"search_source": "keyword_type",
"search_type": "keyword_type"
},
"off_highlight": false,
"search_source": "keyword_type",
"search_type": "keyword_type",
"server_detail_time": {Pilih contoh untuk memuat input dan hasilnya ke playground.
This API searches Xigua Video by keyword and returns a page of search result cards. The older reference count of 10 is not a guaranteed number of video candidates. It needs a keyword and can also take duration filters, a sort type and an offset for paging.
comment_count to see which videos draw the most discussion.emphasized.source name on each result.min_duration and max_duration to study one format.curl -X POST "https://api.sandbase.ai/v1/api/xigua/app-v2/search-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "OpenAI"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Keyword |
max_duration | integer | No | Maximum duration, default empty, in seconds. |
min_duration | integer | No | Minimum duration, default empty, in seconds. |
offset | integer | No | Offset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests |
order_type | string | No | Order type, empty for default sorting, the following are optional sorting methods. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"common_data": {
"abFields": {},
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArtic…",
"width": 0
},
"isSsrFrame": true,
"location": {
"hash": "",
"host": "security.snssdk.com",
"hostname": "security.snssdk.com",
"href": "https://security.snssdk.com/s/video_search/video/app/search/search_content/?devi…",
"origin": "https://security.snssdk.com",
"pathname": "/s/video_search/video/app/search/search_content/",
"port": "",
"protocol": "https:",
"search": "?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=…"
},
"query": {
"ab_version": "668853,9274002,668856,9273984,668855,9273955,668859,9273981,668858,9273942,66885…",
"ac": "wifi",
"aid": "32",
"app_name": "video_article",
"channel": "google_play",
"device_brand": "Xiaomi",
"device_id": "939401905983347",
"device_platform": "android",
"device_type": "23078PND5G",
"dpi": "480",
"filter_info": "order_type=None&min_duration=None&max_duration=None",
"forum": "1"
},
"runtimeVersion": 980,
"targetChannel": "video_search",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArtic…"
},
"count": 10,
"custom_data": {
"extraData": {
"abFields": {},
"baseHeight": 0,
"baseWidth": 0,
"cardTypeContext": [],
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArtic…",
"width": 0
},
"durationType": "default",
"extraInfo": {
"enable_tag_search_xigua_tab": true,
"fe_ab_params": null,
"fe_client_ab_params": null,
"game_aladdin_show_cnt": 3,
"is_hit_new_tag_ui": true,
"is_hit_shark": false,
"is_no_result": false,
"is_req_skip_ten": false
},
"isAndroid": true,
"isIOS": false,
"isSsrFrame": true,
"keyword": "OpenAI",
"keywordType": "keyword_type"
}
},
"err_code": 0,
"extra_data": {
"initCount": 10,
"initHasMore": true,
"initIsEmptyContent": false,
"initOffset": 10,
"initReqId": "20261103154724B82D0677FE75EF02CB5A",
"initSearchId": "20261102122708FAB1AED852AD4265A36F"
},
"extra_data_element": {
"attr": [
[
"type"
]
],
"inner": "{\"initOffset\":10,\"initHasMore\":true,\"initReqId\":\"20261103154724B82D0677FE75EF02C…",
"tag": "script"
},
"fb_results": [
{
"abaseKey": "[card_html]video_search:32:OpenAI:0:::android:Inner_FilterBar",
"browserJs": "//lf3-material.searchpstatp.com/toutiao/feoffline/search-materials-source-video_…",
"compileCss": ".s-filter-bar{z-index:800}@font-face{font-family:Condensed-Bold-Number;src:local…",
"html": "",
"id": "cff626c0",
"itemDataStr": "{\"extraData\":{}}",
"output": {
"dom": [
{
"attr": [
[
"id"
]
],
"inner": "",
"tag": "div"
}
],
"script": [
{
"attr": [
[
"type"
]
],
"inner": "{\"extraData\":{}}",
"tag": "script"
}
],
"style": [
{
"attr": [],
"inner": ".s-filter-bar{z-index:800}@font-face{font-family:Condensed-Bold-Number;src:local…",
"tag": "style"
}
]
},
"templateId": "Inner_FilterBar",
"templateVersion": 72
}
],
"feed_down_tag": "",
"feed_up_tag": "",
"filtered_data": [],
"has_more": true,
"is_empty_content": false
}
| Field | Meaning |
|---|---|
results[].data.group_id / results[].data.id_str | The ID of the video, as a string. Use it to look up the video in other Xigua APIs. |
results[].data.emphasized.title | The video title. Matched search terms are wrapped in <em> tags. |
results[].data.emphasized.source | The name of the source that posted the video. |
results[].data.emphasized.summary | The description text of the video. |
results[].data.comment_count | The number of comments on the video. |
results[].data.highlight.title[] | Where the matched terms sit in the title. start is the position and count is the length of the match. |
has_more | true when more results exist after this page. |
offset | The offset to send as offset in the next request to get the next page. |
count / list_length | The number of results on this page. |
search_id | The ID of this search session. It stays the same for the same query. |
offset as 0. For the next page, pass the offset value from the previous response (10 in this example).has_more is true.min_duration and max_duration are in seconds.group_id to Xigua Single Video Information or read its comments with Xigua Video Comment List.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send one keyword and start at offset 0. The selected schema also declares optional min_duration and max_duration in seconds, plus order_type; do not invent unsupported sorting values. Preserve the query and any filters with the saved response. A keyword search can help you choose a video, but it does not identify an account or promise a complete corpus.
The reference field table describes results[].data.group_id or id_str as video identifiers. Search results are rendered cards, not a uniform list of videos: a saved public example includes an Inner_EmptyContent card whose data has no video ID. Inspect each card's data and distinguish video candidates from non-video or unrecognized cards. Do not use a card's own id as the video's item_id, count every card as a video, or assume the first result is usable.
Returned html, script, browserJs and styling fields describe the provider's card representation. Treat them as untrusted data; a research client should read the structured fields it needs without executing that code. The short public JSON is trimmed and can omit results even though the full reference describes them. A missing list is different from an explicitly empty list.
Continuation is described as reusing the returned offset with has_more. This guide stops after one page; it does not increment a counter or claim a tested next-page loop. After you choose a video ID, Single Video Information is a separate request, not an automatic call for every card.
Already have a key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for POST /v1/api/ with Bearer authentication. An already connected agent needs the selected endpoint and keyword or item_id. To start a project, share the setup Skill, Markdown quickstart and your desired result. Save one response before deciding on another request.
Validate completed SandBase status and outputs[0].data before interpreting the provider response. The selected routes have different business envelopes: search references show err_code 0; single-video references show message success and an inner data object. Do not silently return an empty success when a required envelope or object is missing, and do not require the search flag on the video-detail route.
Pricing checked on 2026-11-08: both selected endpoints list $0.001 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility is not a remaining-quota measurement. Check current pricing before execution. No new business query was made for this revision. The Xigua Python research guide separates current instructions from historical records.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/xigua/app-v2/search-video" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"offset": 0,
"keyword": "美食"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
keywordstringwajibKeyword
max_durationintegerMaximum duration, default empty, in seconds.
min_durationintegerMinimum duration, default empty, in seconds.
offsetintegerOffset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests
Default: 0
order_typestringOrder type, empty for default sorting, the following are optional sorting methods.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"common_data": {
"abFields": {},
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2",
"width": 0
},
"isSsrFrame": true,
"location": {
"hash": "",
"host": "security.snssdk.com",
"hostname": "security.snssdk.com",
"href": "https://security.snssdk.com/s/video_search/video/app/search/search_content/?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9…",
"origin": "https://security.snssdk.com",
"pathname": "/s/video_search/video/app/search/search_content/",
"port": "",
"protocol": "https:",
"search": "?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9273955%2C668859%2C9273981%2C668858%2C9273942%2C668851%2C9273992%2C9295430%2…"
},
"query": {
"ab_version": "668853,9274002,668856,9273984,668855,9273955,668859,9273981,668858,9273942,668851,9273992,9295430,3795191,3928649,4113875,4388054,4522571,4890007,5251721,5361616,6034695,6461458,6478709,6571801,6760627,6868072,6961665,7204589,7237725,7354842,7551466,7659314,7670551,7673029,7681473,7682664,7684452,80…",
"ac": "wifi",
"aid": "32",
"app_name": "video_article",
"channel": "google_play",
"device_brand": "Xiaomi",
"device_id": "939401905983347",
"device_platform": "android",
"device_type": "23078PND5G",
"dpi": "480",
"filter_info": "order_type=None&min_duration=None&max_duration=None",
"forum": "1",
"fss": "filter_search",
"iid": "1783851837819571",
"keyword": "美食",
"keyword_type": "keyword_type",
"language": "zh",
"manifest_version_code": "220",
"offset": "0",
"os_api": "33",
"os_version": "13",
"resolution": "1220*2560",
"search_id": "20260927013303C7C6A9D105224AF8851F",
"search_sug": "1",
"ssmix": "a",
"tab": "undefined",
"update_version_code": "6209",
"version_code": "620",
"version_name": "6.2.0"
},
"runtimeVersion": 980,
"targetChannel": "video_search",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2"
},
"count": 10,
"custom_data": {
"extraData": {
"abFields": {},
"baseHeight": 0,
"baseWidth": 0,
"cardTypeContext": [],
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2",
"width": 0
},
"durationType": "default",
"extraInfo": {
"enable_tag_search_xigua_tab": true,
"fe_ab_params": null,
"fe_client_ab_params": null,
"game_aladdin_show_cnt": 3,
"is_hit_new_tag_ui": true,
"is_hit_shark": false,
"is_no_result": false,
"is_req_skip_ten": false,
"is_req_ten": true,
"is_retry": "0",
"lynx_extra_info": {
"search_source": "keyword_type",
"search_type": "keyword_type"
},
"off_highlight": false,
"search_source": "keyword_type",
"search_type": "keyword_type",
"server_detail_time": {
"enable_ad": 0,
"has_ad": 0,
"hit_stream_cache": 0,
"is_chunk_req": 0,
"is_has_lynx_card": false,
"is_has_patch_data": 0,
"is_lynx_card_hit_ssr": 0,
"is_lynx_ssr_call_error": 0,
"is_lynx_ssr_call_rpc": 0,
"lynx_ssr_node_latency": 0,
"lynx_ssr_stream_latency": 0,
"lynx_ssr_type": 0,
"pre_pack_latency": 336.485,
"predict_ack_latency": 0,
"predict_card_list": "",
"predict_send_latency": 0,
"real_card_list": "suggest",
"server_federation_federation_latency": 666,
"server_sati_auction_latency": 20,
"server_sati_engine_latency": 0,
"server_sati_engine_num": 0,
"server_sati_federation_latency": 674,
"server_sati_rit": 10016,
"server_sati_sati_cache": 0,
"server_sati_sati_latency": 707,
"server_sati_self_latency": 1,
"server_sc_sc_latency": 490,
"server_stream_init_time": 164.392,
"server_stream_loader_time": 11.14,
"server_stream_pack_time": 0.368,
"server_stream_provider_time": 791.309,
"server_stream_sati_latency": 779.932,
"server_stream_time": 957.283
},
"server_end_time": "1790700290610",
"server_start_time": "1790700289654",
"skin_info": "",
"synthesis_stability_error": 0,
"wish_stability_error": 0
},
"isAndroid": true,
"isIOS": false,
"isSsrFrame": true,
"keyword": "美食",
"keywordType": "keyword_type",
"lazyLoadVertCount": 7,
"location": {
"hash": "",
"host": "security.snssdk.com",
"hostname": "security.snssdk.com",
"href": "https://security.snssdk.com/s/video_search/video/app/search/search_content/?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9…",
"origin": "https://security.snssdk.com",
"pathname": "/s/video_search/video/app/search/search_content/",
"port": "",
"protocol": "https:",
"search": "?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9273955%2C668859%2C9273981%2C668858%2C9273942%2C668851%2C9273992%2C9295430%2…"
},
"logPb": {
"impr_id": "20260930004449133B1A3EDE155C373C63",
"impr_type": "__search__"
},
"orderType": "default",
"query": {
"ab_version": "668853,9274002,668856,9273984,668855,9273955,668859,9273981,668858,9273942,668851,9273992,9295430,3795191,3928649,4113875,4388054,4522571,4890007,5251721,5361616,6034695,6461458,6478709,6571801,6760627,6868072,6961665,7204589,7237725,7354842,7551466,7659314,7670551,7673029,7681473,7682664,7684452,80…",
"ac": "wifi",
"aid": "32",
"app_name": "video_article",
"channel": "google_play",
"device_brand": "Xiaomi",
"device_id": "939401905983347",
"device_platform": "android",
"device_type": "23078PND5G",
"dpi": "480",
"filter_info": "order_type=None&min_duration=None&max_duration=None",
"forum": "1",
"fss": "filter_search",
"iid": "1783851837819571",
"keyword": "美食",
"keyword_type": "keyword_type",
"language": "zh",
"manifest_version_code": "220",
"offset": "0",
"os_api": "33",
"os_version": "13",
"resolution": "1220*2560",
"search_id": "20260927013303C7C6A9D105224AF8851F",
"search_sug": "1",
"ssmix": "a",
"tab": "undefined",
"update_version_code": "6209",
"version_code": "620",
"version_name": "6.2.0"
},
"queryId": "6598250706661020941",
"runtimeVersion": 980,
"searchId": "20260927013303C7C6A9D105224AF8851F",
"tabName": "video",
"targetChannel": "video_search",
"tokens": [
"美食"
],
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2"
}
},
"err_code": 0,
"extra_data": {
"initCount": 10,
"initHasMore": true,
"initIsEmptyContent": true,
"initOffset": 10,
"initReqId": "20260930004449133B1A3EDE155C373C63",
"initSearchId": "20260927013303C7C6A9D105224AF8851F"
},
"extra_data_element": {
"attr": [
[
"type",
"application/json"
],
[
"class",
"s-extra-data"
]
],
"inner": "{\"initOffset\":10,\"initHasMore\":true,\"initReqId\":\"20260930004449133B1A3EDE155C373C63\",\"initSearchId\":\"20260927013303C7C6A9D105224AF8851F\",\"initIsEmptyContent\":true,\"initCount\":10}",
"tag": "script"
},
"fb_results": [
{
"abaseKey": "[card_html]video_search:32:美食:0:::android:Inner_FilterBar",
"browserJs": "//lf3-material.searchpstatp.com/toutiao/feoffline/search-materials-source-video_search/Inner_FilterBar/dist/browser/js/Inner_FilterBar.6fc0b726.js",
"compileCss": ".s-filter-bar{z-index:800}@font-face{font-family:Condensed-Bold-Number;src:local(\"DINCondensed-Bold\");src:url(data:font/ttf;base64,AAEAAAAOAIAAAwBgRkZUTWHTbqoAABQcAAAAHE9TLzJ3HCCoAAABaAAAAGBjbWFwAAwAbQAAAfgAAAAsY3Z0IACXBXsAAAPoAAAAGmZwZ20GWZw3AAACJAAAAXNnbHlmafRqqgAABCAAAAwMaGVhZO/4/icAAADsAAAANmhoZ…",
"html": "",
"id": "16b97220",
"itemDataStr": "{\"extraData\":{}}",
"output": {
"dom": [
{
"attr": [
"… 2 items in the full response"
],
"inner": "",
"tag": "div"
}
],
"script": [
{
"attr": [
"… 2 items in the full response",
"… 2 items in the full response",
"… 1 more items in the full response"
],
"inner": "{\"extraData\":{}}",
"tag": "script"
},
{
"attr": [
"… 2 items in the full response"
],
"inner": "window._core.flow({\"domId\":\"s-dom-16b97220\",\"jsonId\":\"s-data-16b97220\",\"tmpUrl\":\"//lf3-material.searchpstatp.com/toutiao/feoffline/search-materials-source-video_search/Inner_FilterBar/dist/browser/js/Inner_FilterBar.6fc0b726.js\",\"tmpId\":\"Inner_FilterBar\",\"sharedDataId\":\"s-shared-data-82d37dadaf80217…",
"tag": "script"
}
],
"style": [
{
"attr": [],
"inner": ".s-filter-bar{z-index:800}@font-face{font-family:Condensed-Bold-Number;src:local(\"DINCondensed-Bold\");src:url(data:font/ttf;base64,AAEAAAAOAIAAAwBgRkZUTWHTbqoAABQcAAAAHE9TLzJ3HCCoAAABaAAAAGBjbWFwAAwAbQAAAfgAAAAsY3Z0IACXBXsAAAPoAAAAGmZwZ20GWZw3AAACJAAAAXNnbHlmafRqqgAABCAAAAwMaGVhZO/4/icAAADsAAAANmhoZ…",
"tag": "style"
}
]
},
"templateId": "Inner_FilterBar",
"templateVersion": 72
}
],
"feed_down_tag": "",
"feed_up_tag": "",
"filtered_data": [],
"has_more": true,
"is_empty_content": true,
"list_length": 0,
"offset": 10,
"raw_data": {
"count": 10,
"extra_info": {
"enable_tag_search_xigua_tab": true,
"fe_ab_params": null,
"fe_client_ab_params": null,
"game_aladdin_show_cnt": 3,
"is_hit_new_tag_ui": true,
"is_hit_shark": false,
"is_no_result": false,
"is_req_skip_ten": false,
"is_req_ten": true,
"is_retry": "0",
"lynx_extra_info": {
"search_source": "keyword_type",
"search_type": "keyword_type"
},
"off_highlight": false,
"search_source": "keyword_type",
"search_type": "keyword_type",
"server_detail_time": {
"enable_ad": 0,
"has_ad": 0,
"hit_stream_cache": 0,
"is_chunk_req": 0,
"is_has_lynx_card": false,
"is_has_patch_data": 0,
"is_lynx_card_hit_ssr": 0,
"is_lynx_ssr_call_error": 0,
"is_lynx_ssr_call_rpc": 0,
"lynx_ssr_node_latency": 0,
"lynx_ssr_stream_latency": 0,
"lynx_ssr_type": 0,
"pre_pack_latency": 336.485,
"predict_ack_latency": 0,
"predict_card_list": "",
"predict_send_latency": 0,
"real_card_list": "suggest",
"server_federation_federation_latency": 666,
"server_sati_auction_latency": 20,
"server_sati_engine_latency": 0,
"server_sati_engine_num": 0,
"server_sati_federation_latency": 674,
"server_sati_rit": 10016,
"server_sati_sati_cache": 0,
"server_sati_sati_latency": 707,
"server_sati_self_latency": 1,
"server_sc_sc_latency": 490,
"server_stream_init_time": 164.392,
"server_stream_loader_time": 11.14,
"server_stream_pack_time": 0.368,
"server_stream_provider_time": 791.309,
"server_stream_sati_latency": 779.932,
"server_stream_time": 957.283
},
"server_end_time": "1790700290610",
"server_start_time": "1790700289654",
"skin_info": "",
"synthesis_stability_error": 0,
"wish_stability_error": 0
},
"has_more": true,
"log_pb": {
"impr_id": "20260930004449133B1A3EDE155C373C63",
"impr_type": "__search__"
},
"message": "success",
"next_count": 10,
"offset": 0,
"query_id": "6598250706661020941",
"return_count": 0,
"search_id": "20260927013303C7C6A9D105224AF8851F",
"tokens": [
"美食"
],
"version": "1.0"
},
"req_id": "20260930004449133B1A3EDE155C373C63",
"results": [
{
"abaseKey": "[card_html]video_search:32:美食:0:::android:Inner_EmptyContent",
"attr": {
"is-ad": "false",
"is-separator": "true"
},
"browserJs": "//lf3-search.searchpstatp.com/obj/card-system/Inner_EmptyContent/dist/browser/js/Inner_EmptyContent.571d68ba.js",
"compileCss": ".ipad .tab-empty .separator_wide,.ipad .tab-empty .tab-empty-footer{display:none}.ipad .tab-empty .empty-head{padding-top:265px}.tab-empty .empty-head{position:relative;display:block;height:185px;width:100%}.tab-empty .live-anchor{display:-webkit-box;display:-webkit-flex;display:flex}.tab-empty .liv…",
"data": {
"template_key": "Inner_EmptyContent"
},
"html": "<div class=\"tab-empty\" data-reactroot=\"\"><div class=\"empty-head\"><div class=\"empty-icon\"><div class=\"main-img\" style=\"display:\"><div class=\"img\"></div></div><div class=\"tip\">暂未找到相关结果哦</div><div class=\"tip_sub\">换个搜索词试试吧</div></div></div><div class=\"separator_wide\"></div></div>",
"id": "16b7eb80-0",
"itemDataStr": "{\"data\":{\"template_key\":\"Inner_EmptyContent\"},\"index\":0,\"idx\":0,\"extraData\":{\"idx\":0}}",
"output": {
"html": "<div class=\"s-result-content\" data-is-separator=\"true\"data-is-ad=\"false\">\n <script nonce=\"argus-csp-token\">\n _core.perf.append('20260930004449133B1A3EDE155C373C63', { type: 'listCard', isStart: true });\n </script>\n …",
"script": [
{
"attr": [
"… 2 items in the full response",
"… 2 items in the full response"
],
"inner": "{\"commonData\":{\"isSsrFrame\":true,\"client\":{\"width\":0,\"height\":0,\"pixelRatio\":2,\"userAgent\":\"Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2\",\"isAndroid\":true,\"isPad\":true,\"platform\":\"android_pad\"},\"location\":{\"hash\":\"\",\"host\":\"security.snssdk.c…",
"tag": "script"
},
{
"attr": [
"… 2 items in the full response",
"… 2 items in the full response",
"… 1 more items in the full response"
],
"inner": "{\"data\":{\"template_key\":\"Inner_EmptyContent\"},\"index\":0,\"idx\":0,\"extraData\":{\"idx\":0}}",
"tag": "script"
},
"… 1 more items in the full response"
]
},
"props": {
"data": {
"template_key": "Inner_EmptyContent"
},
"extraData": {
"idx": 0
},
"idx": 0,
"index": 0
},
"sharedData": {
"commonData": {
"abFields": {},
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2",
"width": 0
},
"isSsrFrame": true,
"location": {
"hash": "",
"host": "security.snssdk.com",
"hostname": "security.snssdk.com",
"href": "https://security.snssdk.com/s/video_search/video/app/search/search_content/?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9…",
"origin": "https://security.snssdk.com",
"pathname": "/s/video_search/video/app/search/search_content/",
"port": "",
"protocol": "https:",
"search": "?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9273955%2C668859%2C9273981%2C668858%2C9273942%2C668851%2C9273992%2C9295430%2…"
},
"query": {
"ab_version": "668853,9274002,668856,9273984,668855,9273955,668859,9273981,668858,9273942,668851,9273992,9295430,3795191,3928649,4113875,4388054,4522571,4890007,5251721,5361616,6034695,6461458,6478709,6571801,6760627,6868072,6961665,7204589,7237725,7354842,7551466,7659314,7670551,7673029,7681473,7682664,7684452,80…",
"ac": "wifi",
"aid": "32",
"app_name": "video_article",
"channel": "google_play",
"device_brand": "Xiaomi",
"device_id": "939401905983347",
"device_platform": "android",
"device_type": "23078PND5G",
"dpi": "480",
"filter_info": "order_type=None&min_duration=None&max_duration=None",
"forum": "1",
"fss": "filter_search",
"iid": "1783851837819571",
"keyword": "美食",
"keyword_type": "keyword_type",
"language": "zh",
"manifest_version_code": "220",
"offset": "0",
"os_api": "33",
"os_version": "13",
"resolution": "1220*2560",
"search_id": "20260927013303C7C6A9D105224AF8851F",
"search_sug": "1",
"ssmix": "a",
"tab": "undefined",
"update_version_code": "6209",
"version_code": "620",
"version_name": "6.2.0"
},
"runtimeVersion": 980,
"targetChannel": "video_search",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2"
},
"extraData": {
"abFields": {},
"baseHeight": 0,
"baseWidth": 0,
"cardTypeContext": [],
"client": {
"height": 0,
"isAndroid": true,
"isPad": true,
"pixelRatio": 2,
"platform": "android_pad",
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2",
"width": 0
},
"durationType": "default",
"extraInfo": {
"enable_tag_search_xigua_tab": true,
"fe_ab_params": null,
"fe_client_ab_params": null,
"game_aladdin_show_cnt": 3,
"is_hit_new_tag_ui": true,
"is_hit_shark": false,
"is_no_result": false,
"is_req_skip_ten": false,
"is_req_ten": true,
"is_retry": "0",
"lynx_extra_info": {
"search_source": "keyword_type",
"search_type": "keyword_type"
},
"off_highlight": false,
"search_source": "keyword_type",
"search_type": "keyword_type",
"server_detail_time": {
"enable_ad": 0,
"has_ad": 0,
"hit_stream_cache": 0,
"is_chunk_req": 0,
"is_has_lynx_card": false,
"is_has_patch_data": 0,
"is_lynx_card_hit_ssr": 0,
"is_lynx_ssr_call_error": 0,
"is_lynx_ssr_call_rpc": 0,
"lynx_ssr_node_latency": 0,
"lynx_ssr_stream_latency": 0,
"lynx_ssr_type": 0,
"pre_pack_latency": 336.485,
"predict_ack_latency": 0,
"predict_card_list": "",
"predict_send_latency": 0,
"real_card_list": "suggest",
"server_federation_federation_latency": 666,
"server_sati_auction_latency": 20,
"server_sati_engine_latency": 0,
"server_sati_engine_num": 0,
"server_sati_federation_latency": 674,
"server_sati_rit": 10016,
"server_sati_sati_cache": 0,
"server_sati_sati_latency": 707,
"server_sati_self_latency": 1,
"server_sc_sc_latency": 490,
"server_stream_init_time": 164.392,
"server_stream_loader_time": 11.14,
"server_stream_pack_time": 0.368,
"server_stream_provider_time": 791.309,
"server_stream_sati_latency": 779.932,
"server_stream_time": 957.283
},
"server_end_time": "1790700290610",
"server_start_time": "1790700289654",
"skin_info": "",
"synthesis_stability_error": 0,
"wish_stability_error": 0
},
"isAndroid": true,
"isIOS": false,
"isSsrFrame": true,
"keyword": "美食",
"keywordType": "keyword_type",
"lazyLoadVertCount": 7,
"location": {
"hash": "",
"host": "security.snssdk.com",
"hostname": "security.snssdk.com",
"href": "https://security.snssdk.com/s/video_search/video/app/search/search_content/?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9…",
"origin": "https://security.snssdk.com",
"pathname": "/s/video_search/video/app/search/search_content/",
"port": "",
"protocol": "https:",
"search": "?device_id=939401905983347&iid=1783851837819571&ac=wifi&channel=google_play&aid=32&app_name=video_article&version_code=620&version_name=6.2.0&device_platform=android&ab_version=668853%2C9274002%2C668856%2C9273984%2C668855%2C9273955%2C668859%2C9273981%2C668858%2C9273942%2C668851%2C9273992%2C9295430%2…"
},
"logPb": {
"impr_id": "20260930004449133B1A3EDE155C373C63",
"impr_type": "__search__"
},
"orderType": "default",
"query": {
"ab_version": "668853,9274002,668856,9273984,668855,9273955,668859,9273981,668858,9273942,668851,9273992,9295430,3795191,3928649,4113875,4388054,4522571,4890007,5251721,5361616,6034695,6461458,6478709,6571801,6760627,6868072,6961665,7204589,7237725,7354842,7551466,7659314,7670551,7673029,7681473,7682664,7684452,80…",
"ac": "wifi",
"aid": "32",
"app_name": "video_article",
"channel": "google_play",
"device_brand": "Xiaomi",
"device_id": "939401905983347",
"device_platform": "android",
"device_type": "23078PND5G",
"dpi": "480",
"filter_info": "order_type=None&min_duration=None&max_duration=None",
"forum": "1",
"fss": "filter_search",
"iid": "1783851837819571",
"keyword": "美食",
"keyword_type": "keyword_type",
"language": "zh",
"manifest_version_code": "220",
"offset": "0",
"os_api": "33",
"os_version": "13",
"resolution": "1220*2560",
"search_id": "20260927013303C7C6A9D105224AF8851F",
"search_sug": "1",
"ssmix": "a",
"tab": "undefined",
"update_version_code": "6209",
"version_code": "620",
"version_name": "6.2.0"
},
"queryId": "6598250706661020941",
"runtimeVersion": 980,
"searchId": "20260927013303C7C6A9D105224AF8851F",
"tabName": "video",
"targetChannel": "video_search",
"tokens": [
"美食"
],
"userAgent": "Dalvik/2.1.0 (Linux; U; Android 13; 23078PND5G Build/TP1A.220624.014) VideoArticle/6.2.0 okhttp/3.7.0.2"
},
"keyword": "美食",
"log_pb": {
"impr_id": "20260930004449133B1A3EDE155C373C63",
"impr_type": "__search__"
},
"pd": "synthesis",
"tokens": [
"美食"
]
},
"templateId": "Inner_EmptyContent",
"templateVersion": 89
}
]
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Xigua Video SearchAPI ini Xigua | $0.001 per panggilan | JSON |
Xigua | $0.001 per panggilan | JSON |
Xigua | $0.001 per panggilan | JSON |
Xigua | $0.001 per panggilan | JSON |
Xigua | $0.001 per panggilan | JSON |
Xigua | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/xigua/app-v2/search-video dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.
Wajib: keyword (string). Opsional: max_duration (integer), min_duration (integer), offset (integer) dan order_type (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Xigua Video Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Xigua secara terpisah.
Tidak. Contoh publik yang disimpan mencakup card Inner_EmptyContent tanpa pengenal video. Periksa data tiap card dan pisahkan kandidat video dari card lain. Jangan gunakan id card sebagai item_id atau menghitung setiap card sebagai video.
Perlakukan HTML card, skrip, dan field browserJs sebagai data representasi yang tidak tepercaya. Baca field terstruktur yang Anda perlukan untuk riset tanpa mengeksekusi kode card dari penyedia atau mengunduh aset secara otomatis.
Mulai dengan offset 0. Skema menjelaskan penggunaan offset yang dikembalikan untuk permintaan berikutnya, tetapi panduan ini tidak menjalankan atau mengklaim loop kelanjutan yang diuji. Pilih video ID kandidat sebelum membuat permintaan detail terpisah.