## 百度URL收录 ![](https://img.kancloud.cn/ae/64/ae64d661525103b713086c70978a49f5_160x128.png) > 根据URL返回百度移动或PC-URL是否收录、收录的标题、收录的描述、快照更新时间、抓取时间 ## 接口费用( [点击购买](https://market.topthink.com/product/357)) > 最低 0.003元/次 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ## 接口1:百度移动URL收录 ### 请求地址 ``` GET https://api.topthink.com/baidu/mobile_url_pages ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是|string| 用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | url | 是 | string | 获取的url | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | IsRecord | string | 是否收录 | | RecordTitle | string | 收录的标题 | | RecordDepict | string | 内容描述 | | SnapTime | string | 快照时间(只有PC端才有快照时间) | | CrawlTime | string | 抓取时间 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->baiduMobileUrlPages() ->withUrl('https://market.topthink.com/develop') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": { "IsRecord": false, "RecordTitle": "", "RecordDepict": "", "SnapTime": "", "CrawlTime": "2019-01-24 16:19:22" } } ~~~ ## 接口2:百度PC-URL收录 ### 请求地址 ``` GET https://api.topthink.com/baidu/pc_url_pages ``` ### 请求参数 | 名称 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | appCode| 是|string| 用户授权码,参考[API调用](https://docs.topthink.com/think-api/1835086) | | url | 是 | string | 获取的url | ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | IsRecord | string | 是否收录 | | RecordTitle | string | 收录的标题 | | RecordDepict | string | 内容描述 | | SnapTime | string | 快照时间(只有PC端才有快照时间) | | CrawlTime | string | 抓取时间 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->baiduPcUrlPages() ->withUrl('https://market.topthink.com/develop') ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功", "data": { "IsRecord": false, "RecordTitle": "", "RecordDepict": "", "SnapTime": "", "CrawlTime": "2019-01-24 16:19:22" } } ~~~