Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
raw 取值,嵌套的 content JSON 串都会被解析成对象(结构归一化),raw 只控制外层字段的投影范围。https://mp.weixin.qq.com/s/… 或带 __biz 的长链)。示例 https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIwraw=false(精简投影):#data 顶层仅 4 个字段,文章正文聚合在 content:$.data.url: 文章 URL$.data.bizUin: 公众号 bizUin(int)$.data.itemIdx: 图文位置序号$.data.content: 已解析的正文对象,常用路径:$.data.content.title: 标题$.data.content.nick_name / $.data.content.user_name: 公众号名 / gh_username$.data.content.author: 作者$.data.content.desc: 摘要$.data.content.create_time: 发布时间("2025-03-05 12:22" 文本)$.data.content.ori_create_time: 发布时间戳(int 秒)$.data.content.cdn_url: 封面图$.data.content.comment_id: 评论 id(喂评论接口的内部 id)$.data.content.appmsgalbuminfo: 所属合集(album_id / title / 上下篇链接)$.data.content.content_text: 正文 HTML 转出的纯文字raw=true(原始):#data 为完整 item(含 raw=false 的全部字段,外加模板 / 缓存 / 时间等元信息):$.data.url / $.data.bizUin / $.data.itemIdx: 同精简模式$.data.msgId: 图文消息 id$.data.lastModifyTime: 最后修改时间戳$.data.tmplVersion / $.data.tmplVersions[]: H5 模板版本$.data.clientCacheTime: 客户端缓存秒数$.data.content.*: 与 raw=false 的 content 同结构(同样含 content_text)raw, the nested content JSON string is always parsed into an object (structure normalized); raw only controls the projection scope of outer fields.https://mp.weixin.qq.com/s/… or long URL with __biz). E.g. https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIwraw=false (simplified projection):#data has only 4 top-level fields; the article body is aggregated in content:$.data.url: article URL$.data.bizUin: official account bizUin (int)$.data.itemIdx: article position index$.data.content: parsed body object, common paths:$.data.content.title: title$.data.content.nick_name / $.data.content.user_name: account name / gh_username$.data.content.author: author$.data.content.desc: digest$.data.content.create_time: publish time (text like "2025-03-05 12:22")$.data.content.ori_create_time: publish timestamp (int seconds)$.data.content.cdn_url: cover image$.data.content.comment_id: comment id (internal id fed into comment endpoints)$.data.content.appmsgalbuminfo: album info (album_id / title / prev & next links)$.data.content.content_text: plain text extracted from the body HTMLraw=true (raw):#data is the full item (all fields of raw=false, plus template / cache / time metadata):$.data.url / $.data.bizUin / $.data.itemIdx: same as simplified mode$.data.msgId: message id$.data.lastModifyTime: last modified timestamp$.data.tmplVersion / $.data.tmplVersions[]: H5 template versions$.data.clientCacheTime: client cache seconds$.data.content.*: same structure as content of raw=false (also includes content_text)Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/wechat_mp/v2/fetch_article_detail' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://mp.weixin.qq.com/s/TSNQKkRpN1qbKsT7BvzqIw",
"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
}