Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

WeChat Search for Channels Videos

Docs 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.

Prix
$0.01USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 6 facultatifs

Bac à sable

Entrée
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). Minimum : 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).
SortieExemple
Réponseoutputs · 6.3 KB · 93 lignes
[
  {
    "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
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
WeChat Search$0.01 par appelJSON
WeChat Search$0.01 par appelJSON
WeChat Search$0.114286 par appelJSON
WeChat Search$0.114286 par appelJSON
WeChat Search$0.057143 par appelJSON

Questions

FAQ

Comment utiliser l’API WeChat Search for Channels Videos ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/wechat-search/v2/search-videos avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API WeChat Search for Channels Videos ?

$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API WeChat Search for Channels Videos accepte-t-elle ?

Obligatoire : keyword (string). Facultatif : cursor (any), duration (any), offset (integer), publish_time (any), raw (boolean) et sort (any). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API WeChat Search for Channels Videos ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API WeChat Search ?

Non. WeChat Search for Channels Videos fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API WeChat Search séparément.