文章内容读取 API

传入一个公众号文章链接,返回标题与正文内容。(自建实例)

试读 / 查余额

接口地址

POST /v1/browse
GET  /v1/browse?url=...&wait=15&key=卡密
GET 也支持,把参数放 URL 上即可。

请求头

X-API-Key: 你的卡密
Content-Type: application/json

请求体

{
  "url": "https://mp.weixin.qq.com/s?__biz=...&mid=...&idx=...&sn=...",
  "wait": 15
}

成功返回(HTTP 200)

{
  "ok": true,
  "request_id": "r0ad8e460bd23d434",
  "data": {
    "charged": true,
    "elapsed_seconds": 2.4,
    "remaining": 99.8,
    "title": "文章标题",
    "content": "正文纯文本……",
    "html": "<div id=js_content>……",
    "author": "作者",
    "account": "公众号名称",
    "publish_time": "2026-11-15 08:00:00",
    "chars": 5120,
    "platform": "wechat"
  }
}
ok=true 才算读取成功;读取成功才扣 0.2 积分。

失败返回示例

// 429 接口忙
{"ok":false,"error":"busy","msg":"服务繁忙,请稍后重试","retry_after":5}

// 400 链接不合法
{"ok":false,"error":"invalid_url","msg":"链接格式不正确,请传 http 或 https 的文章链接"}

// 502 读取失败
{"ok":false,"error":"failed","msg":"读取失败,请稍后重试"}

// 401 卡密缺失/不存在
{"ok":false,"error":"unauthorized","msg":"卡密不存在"}

// 402 积分不足 / 403 卡密已停用
{"ok":false,"error":"insufficient","msg":"积分不足"}

状态码

……