文章详情 Pro
请求地址 POST https://www.xmedi.cn/api/v1/wechat/articles/detail。调用成功才扣费,参数错误、平台侧失败或超时不扣费。
请求参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
article_id |
string | 否 | 文章 sn(链接 /s/ 后那段),平台会补成完整链接 |
article_url |
string | 否 | 文章链接,与 url 等价 |
url |
string | 否 | 文章链接(https://mp.weixin.qq.com/s/… 或带 __biz 的长链) |
返回 data 字段
| 字段 | 类型 | 说明 |
|---|---|---|
account_id | string | |
account_name | string | |
article_id | string | |
author | string | |
content | string | |
cover_url | string | |
digest | string | |
publish_time | string | |
source | string | |
title | string | |
url | string |
调用示例
curl -X POST https://www.xmedi.cn/api/v1/wechat/articles/detail \
-H "X-XMEDI-Key: xm_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"url":"http://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==\u0026mid=2667026902\u0026idx=1\u0026sn=625cd9b1604b0968a3dcb98380a931ff"}'
需要接入这个接口?
免费注册
注册后创建 API Key,或留下联系方式获取方案