跳到主内容

POST /v1/wechat_mp/search/article_v1

微信公众号文章搜索 API (V1)

stable · 155 credits / 次(成功才计)

按关键词搜索微信公众号文章,支持发布时间、排序筛选,以及页码、偏移量和连续状态分页。用于发现最新或高关注度文章,便于主题研究和内容监控。

注册即送 500 credits,用自己的 Key 试调。 免费注册

请求

curl
curl -s -X POST 'https://api.wellbyte.net/v1/wechat_mp/search/article_v1' \
  -H "Authorization: Bearer dg_live_…" \
  -H "Content-Type: application/json" \
  -d '{"offset":0,"keyword":"咖啡","sortType":"COMPREHENSIVE","currentPage":1,"cookies_buffer":"demo","publishTimeType":"ALL"}'

响应

示例采集于 2026-09-23

data{
code:0
data{
ret:0
data[ 2 items ]
lang:"zh_CN"
query:"deep"
offset:18
cookies:
"{"box_offset":15,"businessType":2,"clm_box_offset":15,"clm_sub_box_offset":15,"c..."
category[ 2 items ]
isDivide:1
searchID:"1787897209385119761"
sidedata:null
direction:2
timeStamp:1787897166
experiment[ 2 items ]
isHomePage:1
pageNumber:2
resultType:0
continueFlag:1
isAutoPlayVideo:1
enableQuestionClosely:false
}
meta{
endpoint:"wechat_mp.search.article_v1"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

请求历史

打开完整日志

还没有调用记录。先跑通一次,再换成你的数据。

    请求参数

    参数类型位置必填说明示例
    offsetintegerbody否上一次响应返回的搜索结果偏移量。第一页使用0。0
    keywordstringbody是微信公众号文章的搜索关键词。咖啡
    sortTypestringbody否微信公众号文章搜索排序类型COMPREHENSIVE
    currentPageintegerbody否微信网页搜索分页的当前页码,从1开始。1
    cookies_bufferstringbody否由上一个微信网页搜索响应返回的不透明分页状态。第一页请留空。对于此 POST 接口,请以 application/x-www-form-urlencoded 表单体形式发送。demo
    publishTimeTypestringbody否微信公众号文章搜索发布时间筛选ALL

    响应字段

    字段字典待补 —— 右侧可执行区可直接看到真实结构。

    错误码

    codeHTTP含义是否计费
    40001400参数缺失或格式错误否
    40102401API Key 无效或已吊销否
    40201402余额不足,请充值否
    40402404目标资源不存在否
    42201422质量门槛未通过否
    42901429超出速率限制否
    50401504上游超时否
    50201502上游返回异常否

    计费

    成功扣 155 credits;任何失败(含返回 200 但未过质量门槛)扣 0。

    全部微信公众号端点 →

    搜索

    搜索端点与文档