网络搜索热点

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

## 网络搜索热点 >[danger]### 会员接口,仅限会员使用,购买[API会员](https://market.topthink.com/product/210) ![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/f7/78/f7789962e080bfd4e1b3b831749ce6d7_200x200.png) > 百度互联网实时搜索热点 ## 接口调用([调用须知](https://docs.topthink.com/think-api/1835086)) ### 请求地址 ``` GET https://api.topthink.com/news/hot ``` ### 请求参数 无 ### 返回`data`参数 | 名称 | 类型 | 说明 | | --- | --- | --- | | keyword | string | 关键词 | | index | string | 指数 | | trend | string | 趋势 | ## SDK调用 ``` $client = new Client("YourAppCode"); $result = $client->newsHot() ->request(); ``` 返回示例: ~~~ { "code":0, "message": "成功的返回", "data": [ { "keyword":"江苏弑母男孩被抓", "index":"2902308", "trend":"fall" }, { "keyword":"通缉照片年龄太小", "index":"2902308", "trend":"fall" }, { "keyword":"张紫妍案延长2月", "index":"2902308", "trend":"fall" }, { "keyword":"郑爽大赞男友张恒", "index":"2902308", "trend":"fall" }, { "keyword":"PDD希望小学完工", "index":"2902308", "trend":"fall" }, { "keyword":"欧盟遭炸弹威胁", "index":"2902308", "trend":"fall" }, { "keyword":"中俄边境森林火灾", "index":"2902308", "trend":"fall" }, { "keyword":"张云雷出院", "index":"2902308", "trend":"fall" } ] } ~~~
';