Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
business_type 字符串键切换,传关键词即可。人民日报all。垂类字符串键,仅支持 —— 综合 all / 公众号 account / 文章 article / 视频 video / 直播 live_stream / 朋友圈 moments / 新闻 news / 读书 book / 听书 listen / 图片 image / 百科 encyclopedia / 微信指数 weixin_index,传其他值将直接报错(422)。0;翻页时把上一页响应里返回的 offset 传回(配合 continue_flag 判断是否还有下一页)。video / all)的视频结果项不直接含媒体,只给 exportId(+ jumpInfo.extInfo.feedNonceId)。要下载 / 解密:取 exportId → 走视频号 V2 接口 /api/v1/wechat_channels/v2/fetch_video_detail(传 export_id)拿 media(url / url_token / decode_key)和明文 username。完整链路与解密说明见该接口文档。jumpInfo.userName(gh_…)可喂给公众号 V2 接口 /api/v1/wechat_mp/v2/fetch_account_profile / fetch_account_articles。raw=false(精简解析,snake_case):#$.data.keyword$.data.business_type$.data.total$.data.continue_flagoffset 参数): $.data.offset$.data.count$.data.items[]account 公众号示例):<em> 高亮): $.data.items[N].title$.data.items[N].desc$.data.items[N].docID$.data.items[N].accTypeName$.data.items[N].jumpInfo(.userName = gh_…、.nickName、.signature)exportId(+ jumpInfo.extInfo.feedNonceId)→ 见上「典型链路」raw=true(原始,本接口默认):#data 顶层: keyword / business_type / results(不做 items 拍平)$.data.results$.data.results.data[],每个 box 的结果在 $.data.results.data[M].items[] 与 $.data.results.data[M].subBoxes[K].items[] —— 即 raw=false 的 items[] 是把这些拍平后的结果。$.data.results.continueFlag(对应 raw=false 的 continue_flag)$.data.results.offset —— 翻页时把它传回接口的 offset 参数(对应 raw=false 的 $.data.offset)$.data.results.data[M].totalCount(对应 raw=false 的 total)raw=false(items 已拍平),路径更干净。business_type string key — just pass a keyword.人民日报all. Vertical string key, only the following are supported — all / account / article / video / live_stream / moments / news / book / listen / image / encyclopedia / weixin_index; any other value is rejected (422).0 for the first page; for the next page pass back the offset returned in the previous response (use continue_flag to check whether there are more pages).video / all) do not contain media directly — only exportId (+ jumpInfo.extInfo.feedNonceId). To download / decrypt: take exportId → call the Channels V2 endpoint /api/v1/wechat_channels/v2/fetch_video_detail (pass export_id) to get media (url / url_token / decode_key) and the plain username. See that endpoint's docs for the full chain and decryption notes.jumpInfo.userName (gh_…) of official account result items can be fed into the MP V2 endpoints /api/v1/wechat_mp/v2/fetch_account_profile / fetch_account_articles.raw=false (simplified, snake_case):#$.data.keyword$.data.business_type$.data.total$.data.continue_flagoffset parameter): $.data.offset$.data.count$.data.items[]account example):<em> highlight): $.data.items[N].title$.data.items[N].desc$.data.items[N].docID$.data.items[N].accTypeName$.data.items[N].jumpInfo (.userName = gh_…, .nickName, .signature)exportId (+ jumpInfo.extInfo.feedNonceId) → see "Typical chains" aboveraw=true (raw, default for this endpoint):#data top level: keyword / business_type / results (items are not flattened)$.data.results$.data.results.data[]; each box's results are in $.data.results.data[M].items[] and $.data.results.data[M].subBoxes[K].items[] — the items[] of raw=false is the flattened merge of these.$.data.results.continueFlag (corresponds to continue_flag of raw=false)$.data.results.offset — pass it back as the offset parameter for the next page (corresponds to $.data.offset of raw=false)$.data.results.data[M].totalCount (corresponds to total of raw=false)raw=false (items already flattened) for cleaner paths.Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/wechat_search/v2/fetch_search' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"keyword": "人民日报",
"business_type": "all",
"offset": 0,
"raw": true
}'{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "string",
"time_stamp": 0,
"time_zone": "America/Los_Angeles",
"docs": "string",
"cache_message": "string",
"cache_message_zh": "string",
"cache_url": "string",
"router": "",
"params": {},
"data": null
}