百度收录量

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

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