Sand AISand AI MAGI-2MAGI-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 / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 4 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
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.

README по API

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 SearchЭтот API
Xigua
$0.001 за запросJSON
Xigua$0.001 за запросJSON
Xigua$0.001 за запросJSON
Xigua$0.001 за запросJSON
Xigua$0.001 за запросJSON
Xigua$0.001 за запросJSON

Вопросы

FAQ

Как использовать API Xigua Video Search?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/xigua/app-v2/search-video, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Xigua Video Search?

$0.001 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Xigua Video Search?

Обязательные: keyword (string). Необязательные: max_duration (integer), min_duration (integer), offset (integer) и order_type (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Xigua Video Search?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Xigua или API key?

Нет. Xigua Video Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Xigua.

Каждая карточка результата поиска Xigua — это видео?

Нет. В одном сохраненном публичном примере есть карточка Inner_EmptyContent без video identifier. Проверяйте данные каждой карточки и отделяйте кандидатов в видео от остальных карточек. Не используйте собственный id карточки как item_id и не считайте каждую карточку видео.

Могу ли я выполнять HTML или скрипты, возвращаемые вместе с карточками поиска?

Рассматривайте HTML карточек, scripts и поля browserJs как недоверенные данные представления. Читайте только структурированные поля, нужные для исследования, не выполняя code провайдера карточек и не загружая автоматически assets.

Как первый поиск связан с пагинацией и чтением details?

Начинайте с offset 0. В схеме описано использование возвращенного offset для последующего запроса, но в этом руководстве не выполняется и не подтверждается тестированный цикл продолжения. Сначала выберите video ID кандидата, а затем выполняйте отдельный запрос details.