Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Xigua Video Search

เอกสาร API
https://api.sandbase.ai/v1/api/xigua/app-v2/search-video

Search Xigua Video (ByteDance long-form video) by keyword: titles, creators, duration, publish time and comment counts, with sort and duration filters.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 4 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
Keyword
Maximum duration, default empty, in seconds.
Minimum duration, default empty, in seconds.
Offset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests
Order type, empty for default sorting, the following are optional sorting methods.
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 27.6 KB · 618 บรรทัด
[
  {
    "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": {

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Xigua Video Search API

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.

Use cases

  • Collect Xigua videos that mention a brand or product, such as OpenAI, with their comment counts.
  • Rank search hits by comment_count to see which videos draw the most discussion.
  • Find the channels that publish on a topic, using the emphasized.source name on each result.
  • Limit a search to short or long videos with min_duration and max_duration to study one format.

Request

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.

Parameters

NameTypeRequiredDescription
keywordstringYesKeyword
max_durationintegerNoMaximum duration, default empty, in seconds.
min_durationintegerNoMinimum duration, default empty, in seconds.
offsetintegerNoOffset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests
order_typestringNoOrder type, empty for default sorting, the following are optional sorting methods.

Example response

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
}

Response fields

FieldMeaning
results[].data.group_id / results[].data.id_strThe ID of the video, as a string. Use it to look up the video in other Xigua APIs.
results[].data.emphasized.titleThe video title. Matched search terms are wrapped in <em> tags.
results[].data.emphasized.sourceThe name of the source that posted the video.
results[].data.emphasized.summaryThe description text of the video.
results[].data.comment_countThe 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_moretrue when more results exist after this page.
offsetThe offset to send as offset in the next request to get the next page.
count / list_lengthThe number of results on this page.
search_idThe ID of this search session. It stays the same for the same query.

Notes

  • For the first page, pass offset as 0. For the next page, pass the offset value from the previous response (10 in this example).
  • Keep requesting while has_more is true.
  • min_duration and max_duration are in seconds.
  • To get more detail on a video, pass its group_id to Xigua Single Video Information or read its comments with Xigua Video Comment List.

Pricing

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

Inspect one page of Xigua search cards

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.

Give your agent one video research task

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Xigua Video SearchAPI นี้
Xigua
$0.001 ต่อการเรียกJSON
Xigua$0.001 ต่อการเรียกJSON
Xigua$0.001 ต่อการเรียกJSON
Xigua$0.001 ต่อการเรียกJSON
Xigua$0.001 ต่อการเรียกJSON
Xigua$0.001 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Xigua Video Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/xigua/app-v2/search-video โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Xigua Video Search API ราคาเท่าไร?

$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

Xigua Video Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: keyword (string). ตัวเลือก: max_duration (integer), min_duration (integer), offset (integer) และ order_type (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Xigua Video Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Xigua ไหม?

ไม่จำเป็น Xigua Video Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Xigua API แยกต่างหาก

ทุกการ์ดผลการค้นหา Xigua เป็นวิดีโอทั้งหมดหรือไม่

ไม่ใช่ ตัวอย่างสาธารณะที่บันทึกไว้มีการ์ด Inner_EmptyContent ซึ่งไม่มี video identifier ตรวจสอบข้อมูลของแต่ละการ์ด และแยกผู้สมัครวิดีโอออกจากการ์ดอื่น อย่าใช้ id ของการ์ดเป็น item_id หรือถือว่าทุกการ์ดเป็นวิดีโอ

ฉันสามารถรัน HTML หรือสคริปต์ที่ส่งกลับมากับการ์ดค้นหาได้หรือไม่

ให้ถือว่า HTML, scripts และฟิลด์ browserJs ของการ์ดเป็นข้อมูลการนำเสนอที่ไม่น่าเชื่อถือ อ่านฟิลด์ที่มีโครงสร้างตามที่จำเป็นต่อการวิจัยของคุณโดยไม่รันโค้ดการ์ดจากผู้ให้บริการหรือดาวน์โหลด assets โดยอัตโนมัติ

การค้นหาครั้งแรกเชื่อมโยงกับการแบ่งหน้าและการอ่านรายละเอียดอย่างไร

เริ่มด้วย offset 0 schema อธิบายให้ใช้ offset ที่ส่งกลับมาเพื่อคำขอถัดไป แต่คู่มือนี้ไม่ได้รันหรือยืนยันลูปการไปต่อที่ทดสอบแล้ว เลือก video ID ของผู้สมัครก่อนส่งคำขอรายละเอียดแยกต่างหาก