Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

WeChat Search for Channels Videos

APIドキュメント
https://api.sandbase.ai/v1/api/wechat-search/v2/search-videos

Search WeChat Channels videos by keyword with duration, sort (relevance, newest, most liked) and publish-time filters. Returns titles, creators, duration, likes and publish time.

料金
$0.01USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 6 件

プレイグラウンド

入力
Search keyword (1-100 chars)
Optional. Pagination cursor, same usage as universal search `/fetch_search`. Leave empty for the first page; for the next page pass back the `cursor` from the previous response (repeat the same `duration` / `sort` / `publish_time`).
Optional, default `all`. Duration tier (Channels video only) — `all`/0 / `short`/1 (<5min) / `medium`/2 (5-10min) / `long`/3 (20min+); string key or integer, invalid values rejected (400).
Optional, default 0 (>=0). Pass `0` for the first page; use `cursor` to paginate (offset alone does not work). 最小: 0。
Optional, default `all`. Publish time — `all`/0 / `day`/1 / `week`/2 / `half_year`/3; string key or integer, invalid values rejected (400).
Optional, default True. True=raw search response; False=simplified parsing.
Optional, default `default`. Sort — `default`/0 (relevance) / `latest`/1 (newest) / `hot`/2 (most liked); string key or integer, invalid values rejected (400).
出力例
レスポンスoutputs · 6.3 KB · 93 行
[
  {
    "data": {
      "business_type": 7,
      "categories": null,
      "continue_flag": 1,
      "count": 10,
      "cursor": "RvsQ_YVIMVlwO69ZMuX9wrEg1JH2Rcf8m3i-SQ1z-aldOz83a3wophGX383nTLOfEpeAdH_F3z7rpShp_jvH5o3xvGCw3O8cucaW74jJnyj8clXwImowZ9KhzxWAt7w3qvYlxa6A_eBWabJZmMXjVIXRjMSt_yICSOGM8ga5vxe8C4y0y27x6AqjOHXPoM4llYzQKuAc5XYrDFQ4lfF2W21-rNvwCqfIkZ3m-oNw9jJr6Urp-JDe2TuX611qDtcboHaK_zsKM5MYlJ6zWshJA9DeGiWm16j839Sh286yIqH_52cUFqtljupa5HZuxBmsbyfbihFtBaFJ2hMKA3neVcv5Ho78lGtTsXYWpepGkptd626Om-5K7TBqJB6LX3xvjx1dP-zsbI7kZdWQndI097FevHNYtrmK9KvMIzgtQNYBBwHPBojp_4OVAfVOht86DdddoR4AlOgWxh5E9eEz_7R05p89DaIv9i_Ftao9TwuLmkF-QziqmwTgOCKua_x6P0AGslx00IsNhdBQFCbb2lcW6duYhzJMKyQEOIys9ogoxu9rCW3j_-T16gvD7EEMD5oj_4ceJhZfMdLawfN_guuT…",
      "debug_id": "63de2c5a",
      "debug_info": "gAAAAABqxfUAWO07RkHzi_bB5dMeqv_M3qBnNhNun3hZ1tItCXWjbkGKn_lrzECI3gSP52hPySZRRyjO1aXQq2g07_mXp_zQWy50QcaCmrez2Ylmn9sxPoFJesvvxM5r4b1y7m2yvAmgLpZSrfYm7eb9duoId9Xp9wq_sRF9iasNxIyrXvtMx8tHL5RteOrl0dU6HemV3akfscu0LMnbcO17wjBLBHobCCw_OkvaWk-Q93nK5wExOzbQ8hPdz1cowvQ3uEdJVzq10Y8hoQ_PNRkZGsVqB8hUsg==",
      "items": [
        {
          "dateTime": "11分钟前",
          "docID": "finderobjv0rEurZRvUmoWAhkODFNkYQOzrib61UKSVB1qv5hZlTHo=",
          "duration": "00:52",
          "exportId": "export/UzFfBgAAxLirSFdHTH2gk8zT4DCKr38gIB8tospP_AR4iquWhw",
          "hashDocID": "2475480590270739504",
          "height": 1024,
          "image": "https://findermp.video.qq.com/251/20304/stodownload?encfilekey=2fG3V4WwQPmHTqiaZKDxhylHZ1j0eEadtROvFiaCknngy22kwjpLpO8ZPiaecJlClyw1AL2WaibrANjufs9BWdnkticb2OHRjsUZeObvqvndUOBo&hy=SH&idx=1&m=9d02282e3d08e7eca81d74a7f1be5783&uzid=1&wxampicformat=503&picformat=200&token=ic1n0xDG6awico4icnpgZV0t3yIuJK2qQQ1dkJ9RVC5icORL93icgYsqxEw0WsH89q5Z8aIQjIoNPdpickjUXB7X6cZLz2hMCCy9SQsIR7YIHtvAa2icErzj0yFm62gKaYoA9uKnb3Sic7TJlCCqRRSIFGwLR1DorzuoBwIXToM51ImOibKb5MwRPLyRcpqXeRLJ5uzbxZmIIcH5b0zP99VEWAMJU5g",
          "jumpInfo": {
            "extInfo": "{\"behavior\":[\"report_feed_read\"],\"encryptedObjectId\":\"export/UzFfBgAAxLirSFdHTH2gk8zT4DCKr38gIB8tospP_AR4iquWhw\",\"feedFocusChangeNotify\":true,\"feedNonceId\":\"1066622327239056501\",\"getRelatedList\":true,\"requestScene\":13}",
            "jumpType": 9
          },
          "noPlayIcon": true,
          "pubTime": 1791357487,
          "showType": 1,
          "source": {
            "iconUrl": "https://wx.qlogo.cn/finderhead/ver_1/qqILgG8dW8UfmVqodF0L1lXe18iazmPBicMulqI7KURibxF4DY3ic5pQCJrbJnfWhF3LDAZ3htHvZynuE2EHkNKFo4yLQeribHgMd7LiagFLtApxrDbBGvJmUcF4dXjshJcYF2/132",
            "title": "Aa盈强策划高老师"
          },
          "title": "...#济南实体门店#老板圈子#老板思维 #<em class=\"highlight\">商业</em>思维 #实体店 #门店活动策划 #引流锁客 #同城实体创业 #线下沙龙 #人脉拓展 #实体营销 #实体店引流获客",
          "width": 576
        },
        {
          "dateTime": "13分钟前",
          "docID": "finderobjv0SxDuWDb7Mqp8bWXwScYxjsXkIAJv44JH5b4DXzMSVi8=",
          "duration": "00:12",
          "exportId": "export/UzFfBgAAxJ-hNBAfY32gk8zT4DCK471JPzYvjPFDPQ-MH4MGVA",
          "hashDocID": "9661959590482347422",
          "height": 3840,
          "image": "https://findermp.video.qq.com/251/20304/stodownload?encfilekey=2fG3V4WwQPlfdTUpia6ibIjtLtUNUyc2ZzwK9ic6THR9INYM2uuOYTg1SFiciatwQuH4gLROqKPfbF9Bs0129Bwohl7IV7mC4kdodsC46qFAj3Iw&hy=SZ&idx=1&m=c6bf2326aea051634ed2fbcd1174df5e&uzid=1&wxampicformat=503&picformat=200&token=ic1n0xDG6awicdfgkTX4XtskTXvU4XIOdb2qyun1tibh2UoG33ORUwvSGHib2fKJaXiab0GzMecPUQf8FEJqCJtGfcYOaT2o7zcCrAVdRUgC8al0icHzb6MLSfWWickRs3nZaAasxgXRcclgeaKRPCrydero88cP4xoTe1UWqwh3ZmicKcVsYvt7sicicb3FpcoT7atUrYQg1MSQYUA8DPLMO2Sic7lJA",
          "jumpInfo": {
            "extInfo": "{\"behavior\":[\"report_feed_read\"],\"encryptedObjectId\":\"export/UzFfBgAAxJ-hNBAfY32gk8zT4DCK471JPzYvjPFDPQ-MH4MGVA\",\"feedFocusChangeNotify\":true,\"feedNonceId\":\"4791974997066027004\",\"getRelatedList\":true,\"requestScene\":13}",
            "jumpType": 9
          },
          "likeNum": "4",
          "noPlayIcon": true,
          "pubTime": 1791357415,
          "showType": 1,
          "source": {
            "iconUrl": "https://wx.qlogo.cn/finderhead/ver_1/NibSxFB4SkUhRPByZGXtHVkSeic3iaJOfMiamicy3hwsdosqjadic4d54vaUDfmDCI7SNlOc6icpsiakucK2bn3Zic4WyasXcXorib2iaibTk2bUU6NoshraqQgBIbTwlubgywaQTKfD/132",
            "mark": [
              "https://dldir1v6.qq.com/weixin/checkresupdate/icons_filled_channels_authentication_enterprise_a2658032368245639e666fb11533a600.png"
            ],
            "title": "叁耳汇商管"
          },
          "title": "主力业态落地,好位你不看看?\n#综合体 #餐饮选址 #开店创业 #同城发现",
          "width": 2160
        },
        {
          "dateTime": "19分钟前",
          "docID": "finderobjv0b4ii6dlup8f69B+2REgv9LCs3Upzhr9nW7waw0o/GMY=",
          "duration": "03:58",
          "exportId": "export/UzFfBgAAxOyveAN-VHygk8zT4DCKbI3-NshQFM-gXNDLgrk0-A",
          "hashDocID": "15945821325158002944",
          "height": 1920,
          "image": "https://findermp.video.qq.com/251/20304/stodownload?encfilekey=KGDRibp2wkicL71L13FmiahSRDm8SKDDU39LXxyq312c8Ttib87tQu1dtVmSAIFSjv9y88I2vxAyibicJXtoq4YT5P3g&hy=SH&idx=1&m=&scene=2&uzid=1&wxampicformat=503&picformat=200&token=AxricY7RBHdVrBUmlPicDIlFcELQ1tzqWNuQV5V5uBq35SXibfjPJuAT2t9PGicBAsTganSwib2fRpg3HIQHibeB5Nko9xvgYTPWLxSMrsI8lgActQ95CTDyOoq0C3YHGtHWS3o94hlK4xvIVjJsvh3cdrcpoIkRWSvcfeHTOoEJJXY2MvC8WLhibPJ7qE15ic9n0YiapByHE01Cat1SLicicq6lQwaJg",
          "jumpInfo": {
            "extInfo": "{\"behavior\":[\"report_feed_read\"],\"encryptedObjectId\":\"export/UzFfBgAAxOyveAN-VHygk8zT4DCKbI3-NshQFM-gXNDLgrk0-A\",\"feedFocusChangeNotify\":true,\"feedNonceId\":\"8234852194305359224\",\"getRelatedList\":true,\"requestScene\":13}",
            "jumpType": 9
          },
          "noPlayIcon": true,
          "pubTime": 1791357062,
          "showType": 1,
          "source": {
            "iconUrl": "https://wx.qlogo.cn/finderhead/ver_1/HHp6oG3G1GxBFHJuleMgzoIzibJK7chARIPbNibROF0HObicwDTIBkRJicibR2qibLJ83yIeia3aCTFcvN3iaVLDMcic0twicG1ibZcnJMg5xM2qlRgoIyOJM7oM9zqOwNmEicKj8V75/132",
            "mark": [
              "https://dldir1v6.qq.com/weixin/checkresupdate/icons_filled_channels_authentication_enterprise_a2658032368245639e666fb11533a600.png"
            ],
            "title": "上海天凌律师事务所"
          },
          "title": "法定代表人本人能否申请特许经营备案商标?",
          "width": 1080
        },
        "… 7 more items in the full response"
      ],
      "keyword": "商业",
      "no_more": null,
      "offset": 10,
      "total": 201
    }
  }
]

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

WeChat Channels Video Search API

Returns a page of WeChat Channels videos that match a keyword. Each item has the title, creator name, duration, publish time, cover image and video size. The only required input is keyword.

Use cases

  • Find Channels videos that mention a brand or topic, such as OpenAI.
  • Collect the creators who post most often about a niche from items[].source.title.
  • Watch for new coverage of a topic by sorting with sort=latest and publish_time=day.
  • Filter for short clips or long explainers with the duration parameter.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-search/v2/search-videos" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "OpenAI", "raw": false}'

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword (1-100 chars)
cursorstringNoOptional. Pagination cursor, same usage as universal search /fetch_search. Leave empty for the first page; for the next page pass back the cursor from the previous response (repeat the same duration / sort / `pub
durationstringNoOptional, default all. Duration tier (Channels video only) — all/0 / short/1 (<5min) / medium/2 (5-10min) / long/3 (20min+); string key or integer, invalid values rejected (400).
offsetintegerNoOptional, default 0 (>=0). Pass 0 for the first page; use cursor to paginate (offset alone does not work).
publish_timestringNoOptional, default all. Publish time — all/0 / day/1 / week/2 / half_year/3; string key or integer, invalid values rejected (400).
rawbooleanNoOptional, default True. True=raw search response; False=simplified parsing.
sortstringNoOptional, default default. Sort — default/0 (relevance) / latest/1 (newest) / hot/2 (most liked); string key or integer, invalid values rejected (400).

Example response

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

{
  "business_type": 7,
  "categories": null,
  "continue_flag": 1,
  "count": 10,
  "cursor": "kA37R_TZEBYnxEEkMYBugXwCxhM--hPjff4t00CtdR1gQuf-uvAVpBwmBWqHh2HRm_a_lfcbaSHh31sb…",
  "debug_id": "ac94ff14",
  "debug_info": "gAAAAABq6ZE6UtG9zVM5FmtCPzMrn22Bqkdpp2QNquseu5JK9z2G53SCFIhd7OyyrMJQ57C-VEzbhRC2…",
  "items": [
    {
      "dateTime": "39分钟前",
      "docID": "finderobjv0UlnDG0ddjVCqh5VN6UG+LlTA+QeV/CnqyCKIy8kceXU=",
      "duration": "00:15",
      "exportId": "export/UzFfBgAAxJaPSFACX12Nk8zT4DCKoaC6lwk5wrEvKxvwSb3XOg",
      "hashDocID": "13808060375097204523",
      "height": 1920,
      "image": "https://findermp.video.qq.com/251/20304/stodownload?encfilekey=KGDRibp2wkicJ2V9G…",
      "isHot": true,
      "jumpInfo": {
        "extInfo": "{\"behavior\":[\"report_feed_read\"],\"encryptedObjectId\":\"export/UzFfBgAAxJaPSFACX12…",
        "jumpType": 9
      },
      "noPlayIcon": true,
      "pubTime": 1793689596,
      "showType": 1
    }
  ],
  "keyword": "OpenAI",
  "no_more": null,
  "offset": 10,
  "total": 167
}

Response fields

FieldMeaning
items[].titleVideo title and hashtags. Matched keywords are wrapped in <em class="highlight"> tags, so strip them before display.
items[].source.titleDisplay name of the Channels creator who posted the video.
items[].source.iconUrlURL of the creator's avatar image.
items[].durationVideo length as a mm:ss string, for example 03:31.
items[].pubTime / items[].dateTimepubTime is the publish time as a Unix timestamp in seconds. dateTime is a relative label in Chinese, such as 39分钟前.
items[].exportId / items[].docID / items[].hashDocIDIdentifiers for the video. exportId starts with export/.
items[].imageURL of the video cover image.
items[].width / items[].heightVideo frame size. A height larger than the width means a vertical video.
items[].isHotSet to true on some items. The response does not explain the exact rule, so treat it as a flag from the search result.
total / count / cursortotal is the number of matches reported for the keyword. count is the number of items on this page. cursor is the token for the next page.

Notes

  • For the first page, leave cursor empty and keep offset at 0. For the next page, pass back the cursor from the previous response. offset alone does not paginate.
  • Repeat the same duration, sort and publish_time values when you request the next page.
  • sort accepts default, latest or hot, or the numbers 0, 1 and 2. publish_time accepts all, day, week or half_year.
  • To search articles, accounts or other WeChat content, use WeChat Search or WeChat Account Search.

Pricing

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

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
WeChat Search$0.01 / 回JSON
WeChat Search$0.01 / 回JSON
WeChat Search$0.114286 / 回JSON
WeChat Search$0.114286 / 回JSON
WeChat Search$0.057143 / 回JSON

質問

FAQ

WeChat Search for Channels Videos API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/wechat-search/v2/search-videos に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

WeChat Search for Channels Videos API の料金はいくらですか?

1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

WeChat Search for Channels Videos API はどのパラメータを受け付けますか?

必須: keyword (string)。 任意: cursor (any), duration (any), offset (integer), publish_time (any), raw (boolean) と sort (any)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

WeChat Search for Channels Videos API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

WeChat Search の開発者アカウントまたは API key は必要ですか?

いいえ。WeChat Search for Channels Videos は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。WeChat Search の API アクセスを別途申請する必要はありません。