短网址还原
<h5>简要描述</h5>
<ul>
<li>短网址批量还原,还原链接最初的本质</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>https://api.toer2.com/urlbatch</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</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>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">appid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户UID</td>
<td>个人中心获取</td>
</tr>
<tr>
<td style="text-align: left;">urls</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>短链接数据,如有多个用逗号,隔开</td>
<td><a href="https://v.douyin.com/JUvGVBP/,https://v.douyin.com/JHkahyk/,https://v.douyin.com/efJQAsw/">https://v.douyin.com/JUvGVBP/,https://v.douyin.com/JHkahyk/,https://v.douyin.com/efJQAsw/</a></td>
</tr>
<tr>
<td style="text-align: left;">sign</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>签名密钥</td>
<td>参见下方</td>
</tr>
</tbody>
</table>
<pre><code>签名密钥:MD5加密(appid + urls + key)</code></pre>
<blockquote>
<p>签名密钥加密方式具体请参考接口简要概述</p>
</blockquote>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 1005,
"msg": {
"0": "https://www.iesdouyin.com/share/video/6861139873160547597/?region=CN&mid=6861139991868017415&u_code=icjh10i6&titleType=title&utm_source=copy_link&utm_campaign=client_share&utm_medium=android&app=aweme",
"1": "https://www.iesdouyin.com/share/video/6893959332774284548/?region=CN&mid=6893960368528329486&u_code=icjh10i6&titleType=title&did=62455696217&iid=2656053874160600&utm_source=copy_link&utm_campaign=client_share&utm_medium=android&app=aweme",
"2": "https://www.iesdouyin.com/share/video/6961711446447131939/?region=CN&mid=6961711468513463071&u_code=icjh10i6&titleType=title&did=MS4wLjABAAAAVUhQtdQlLzflPQv4R5TDjIvWLSCpD9z4gGeXPPDSt2Rsx6nC3YskId4K4NU_Ab3S&iid=MS4wLjABAAAA7dRP29sbHhjZ4KxTSF_S1IHktchjrB6dWx2k5pmlWyw&with_sec_did=1&timestamp=1621170558&app=aweme&utm_campaign=client_share&utm_medium=ios&tt_from=copy&utm_source=copy"
}
}
</code></pre>
<h5>返回参数说明</h5>
<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;">code</td>
<td style="text-align: left;">int</td>
<td>返回状态码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">array</td>
<td>还原后的链接数组</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
<li>效果页面参考:<a href="https://www.toer2.com/urlbatch.html">https://www.toer2.com/urlbatch.html</a></li>
</ul>
<p>欢迎使用兔二API!</p>