Baidu News Results API
When a Baidu search contains a "News" block, it is parsed and exists within the news_results
array in the JSON output. "News" block contains title
, link
, thumbnail
, source
and date
for each query.
API Examples
Mobile Results for: 小米
{
...
"news_results": [
{
"link": "http://digi.hsw.cn/system/2022/0930/160510.shtml",
"title": "小米12T Pro真机曝光:2亿主摄 10月4日发布",
"thumbnail": "https://t7.baidu.com/it/u=2059501114,2508756454&fm=217&app=125&size=r3,2&n=0&g=4n&f=JPEG?s=AE9087464E62825D1079B41D03001040&sec=1664643600&t=a2b6305ef52427a83864110502725d22",
"source": "华商网",
"date": "5分钟前"
},
{
"link": "http://app.myzaker.com/news/article.php?pk=633515e98e9f0918fe43344c",
"title": "小米手机像素之王!雷军预告小米12T将具备2亿像素",
"thumbnail": "https://t9.baidu.com/it/u=3037582112,3361056811&fm=217&app=125&size=r3,2&n=0&g=4n&f=JPEG?s=1437CF348962D2CE6A96D2D7030080AC&sec=1664643600&t=d2670c9dd296f07a0860925667cdda51",
"source": "ZAKER",
"date": "昨天11:45"
}
],
...
}