次幂数据定制服务接口文档

API接口


文章详情V3

<p><strong>简要描述:</strong> </p> <ul> <li>公众号文章详情</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/api/v3/articles/{article_id}</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</li> </ul> <p><strong>查询参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">access_token</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>请求凭证</td> </tr> </tbody> </table> <p><strong>注</strong>:此接口的请求频率1分钟不超过20次</p> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">字段名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">html</td> <td style="text-align: left;">string</td> <td>完整的html内容(带html标签的富文本)</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;data&amp;quot;: { &amp;quot;html&amp;quot;: &amp;quot;&amp;lt;div class=\&amp;quot;rich_media_content\&amp;quot; id=\&amp;quot;js_&amp;gt;...&amp;quot; }, &amp;quot;msg&amp;quot;: &amp;quot;success&amp;quot; }</code></pre> <p>介于文章数据量巨大,如果对文章详情接口请求有速度要求,推荐通过文章链接自行获取</p> <p>三个关键header字段为</p> <pre><code>headers = { &amp;quot;User-Agent&amp;quot;: &amp;quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36&amp;quot;, &amp;quot;Host&amp;quot;: &amp;quot;mp.weixin.qq.com&amp;quot;, &amp;quot;Cookie&amp;quot;: &amp;quot;rewardsn=; wxtokenkey=777&amp;quot;, }</code></pre>

页面列表

ITEM_HTML