百度反链数

最后更新于:2022-04-02 08:19:38

## 百度反链数 ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/a0/1a/a01a8b6d2c6839139734f99c30303835_163x135.png) > 根据域名返回百度反链数、抓取时间 ## 接口费用( [点击购买](https://market.topthink.com/product/361)) > 最低 0.003元/次 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/baidu/links ``` ### 请求参数 | 名称 | 类型 | 必填 | 说明 | | --- | --- | --- | --- | | appCode| string| 是|用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | domainName| string | 是 | 域名| ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | BaiduLink| long | 反链数 | | CrawlTime | string | 抓取时间 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->baiduLinks() ->withDomainName('thinkphp.cn') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": { "BaiduLink": 18600000, "CrawlTime": "2020-12-25 15:13:28" } } ~~~
';