Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

WeChat Channels Video Search

API 문서
https://api.sandbase.ai/v1/api/wechat-channels/search-video

Search WeChat Channels videos by keyword with publish-time, sort, page, offset, and continuation-state controls. Use it to find recent or ordered video results and continue web-search pages.

가격
$0.114286USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 4개

Playground

입력
Search keyword for WeChat Channels video results.
Publish time filter for WeChat Channels video web search.
Sort order for WeChat Channels video search results.
Current page number starting from 1 for WeChat Channels web search pagination.
Search result offset returned by the previous WeChat Channels search response. Use 0 for the first page.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

WeChat Channels Video Search API

Returns WeChat Channels video search results for a keyword. Each result has a thumbnail, duration, relative post time, and IDs. The only required input is keyword. You can also filter by publish time, change the sort order, and page through results.

Use cases

  • Find the newest WeChat Channels videos about a topic by setting sortType to LATEST.
  • Collect exportId values for videos on a keyword to pass to other WeChat Channels APIs.
  • Track which videos for a keyword are flagged as hot in the results.
  • Page through results for a keyword and build a list of video thumbnails and durations.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/search-video" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "人工智能"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword for WeChat Channels video results.
currentPageintegerNoCurrent page number starting from 1 for WeChat Channels web search pagination.
offsetintegerNoSearch result offset returned by the previous WeChat Channels search response. Use 0 for the first page.
publishTimeTypestringNoPublish time filter for WeChat Channels video web search.
sortTypestringNoSort order for WeChat Channels video search results.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "category": [
    {
      "selected": 1,
      "type": 0,
      "word": "全部"
    }
  ],
  "continueFlag": 1,
  "cookies": "{\"box_of…",
  "data": [
    {
      "subBoxes": [
        {
          "boxID": "0x80000000000-1-7530317014626261982",
          "boxMergeTag": 0,
          "boxMergeType": 107,
          "boxMergeValue": 1,
          "boxPos": 1,
          "boxPosMerge": 1,
          "count": 1,
          "items": [
            {
              "dateTime": "24分钟前",
              "docID": "finderobjv0UP6MxTQvwWPRuGhk22QE9GBai7N8Taj+Z0zTJE2Z3o0=",
              "duration": "00:16",
              "exportId": "export/UzFfBgAAxNuCbEAoaFONk8zT4DCKQA_XKca_aXvLDm97NtOzoQ",
              "hashDocID": "7530317014626261982",
              "image": "https://findermp.video.qq.com/251/20304/stodownload?encfilekey=KGDRibp2wkicLzqUk…",
              "isHot": true,
              "jumpInfo": {
                "extInfo": "{\"behavior\":[\"report_feed_read\"],\"encryptedObjectId\":\"export/UzFfBgAAxNuCbEAoaFO…",
                "jumpType": 9
              }
            }
          ]
        }
      ],
      "type": 107
    }
  ],
  "direction": 2,
  "enableQuestionClosely": false,
  "experiment": [
    {
      "key": "mmsearch_live_double_auto_play_exp",
      "value": "1"
    }
  ],
  "isAutoPlayVideo": 1,
  "isDivide": 1,
  "isHomePage": 1,
  "lang": "zh_CN",
  "offset": 12
}

Response fields

FieldMeaning
data[].subBoxes[].items[].docID / hashDocIDIdentifiers for the result video. hashDocID is a numeric string that also appears in the matching boxID.
data[].subBoxes[].items[].exportIdExport ID for the video, in the form export/.... Use it to look up the video in other WeChat Channels APIs.
data[].subBoxes[].items[].durationVideo length as text, for example 00:16.
data[].subBoxes[].items[].dateTimeRelative post time as shown in the app, for example 24分钟前 (24 minutes ago).
data[].subBoxes[].items[].pubTimePublish time as a Unix timestamp in seconds. Not every item has it.
data[].subBoxes[].items[].imageURL of the video thumbnail.
data[].subBoxes[].items[].isHottrue when the platform marks the video as hot. Most items omit it.
data[].subBoxes[].items[].jumpInfo.extInfoJSON string with the data the app uses to open the video, including encryptedObjectId.
continueFlag1 in this response, which shows that more results can be fetched.
offset / pageNumber / cookiesPaging state for the next request. offset was 12 and pageNumber was 2 in this response.

Notes

  • For the first page, send offset as 0 and currentPage as 1. For the next page, send the offset value from the previous response and increase currentPage.
  • The cookies string in the response carries continuation state, including box_offset.
  • Use the searchID and query fields to match a response to the search that produced it.
  • To get details for a result, pass its exportId to WeChat Channels Video Detail or WeChat Channels Video Metrics.

Pricing

$0.114286 per successful call. Failed calls are not charged.

더 살펴보기

관련 API

모든 API
API가격응답
WeChat Channels$0.114286 / 호출JSON
WeChat Channels$0.071429 / 호출JSON
WeChat Channels$0.021429 / 호출JSON
WeChat Channels$0.071429 / 호출JSON
WeChat Channels$0.01 / 호출JSON
WeChat Channels$0.01 / 호출JSON

가이드:Best WeChat Channels API in 2026: Pricing Compared

질문

FAQ

WeChat Channels Video Search API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/wechat-channels/search-video에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

WeChat Channels Video Search API 비용은 얼마인가요?

호출당 $0.114286, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

WeChat Channels Video Search API는 어떤 매개변수를 받나요?

필수: keyword (string). 선택: publishTimeType(ALL, ONE_DAY, SEVEN_DAYS, HALF_YEAR 중 하나), sortType(COMPREHENSIVE, LATEST, HOT 중 하나), currentPage (integer) 및 offset (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

WeChat Channels Video Search API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

WeChat Channels 개발자 계정이나 API 키가 필요한가요?

아니요. WeChat Channels Video Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. WeChat Channels API 액세스를 별도로 신청할 필요는 없습니다.