Baidu AI Overview Results API
For some searches, Baidu search results includes an AI Overview block. SerpApi is able to scrape, extract and make sense of this information.
The API endpoint is https://serpapi.com/search?engine=baidu
Head to the playground for a live and interactive demo.
API Examples
AI Overview Results for: 专利模板
{
...
"ai_overview": {
"text_blocks": [
{
"type": "paragraph",
"snippet": "周杰伦(Jay Chou)是中国台湾省华语流行乐男歌手、音乐人、演员及导演,1979年1月18日出生于台湾省新北市,以融合中西音乐风格的创新作品闻名,被誉为“亚洲流行天王”。"
},
{
"type": "heading",
"snippet": "基本信息与职业背景"
},
{
"type": "paragraph",
"snippet": "周杰伦是华语乐坛的标志性人物,身兼歌手、作曲人、演员、导演等多重身份。他4岁开始学习钢琴,高中就读于淡江中学音乐班,1997年因参加选秀节目被吴宗宪发掘,2000年发行首张专辑《Jay》正式出道。12",
"reference_indexes": [
1,
2
]
},
{
"type": "video",
"video": {
"url": "http://haokan.baidu.com/v?pd=wisenatural&vid=16474643472169379311",
"thumbnail": "http://t15.baidu.com/it/u=4046724732,2740951812&fm=225&app=113&f=JPEG?w=658&h=370&s=01B87997D2E27EB95614436F03008068"
}
},
{
"type": "heading",
"snippet": "主要成就与影响力"
},
{
"type": "list",
"list": [
{
"snippet": "音乐领域:",
"snippet_highlighted_words": [
"音乐领域"
],
"list": [
{
"snippet": "开创“中国风”流行音乐,将R&B、嘻哈与中国传统元素结合,代表作如《青花瓷》《东风破》。23",
"reference_indexes": [
2,
3
]
},
{
"snippet": "累计获得15座台湾金曲奖,是获奖最多的音乐人之一。12",
"reference_indexes": [
1,
2
]
},
{
"snippet": "2023年专辑《最伟大的作品》成为首位全球年度销量冠军的华语歌手。1",
"reference_indexes": [
1
]
}
]
},
{
"snippet": "影视领域:",
"snippet_highlighted_words": [
"影视领域"
],
"list": [
{
"snippet": "2005年主演《头文字D》获金马奖最佳新人奖。24",
"reference_indexes": [
2,
4
]
},
{
"snippet": "自导自演电影《不能说的秘密》(2007年)获广泛好评。3",
"reference_indexes": [
3
]
}
]
}
]
},
{
"type": "video",
"video": {
"url": "http://haokan.baidu.com/v?pd=wisenatural&vid=18433841927277690701",
"thumbnail": "http://t15.baidu.com/it/u=4174647926,213997973&fm=225&app=113&f=JPEG?w=1440&h=810&s=D72404E642514DF70E25C9620300F019"
}
},
{
"type": "heading",
"snippet": "代表作品"
},
{
"type": "list",
"list": [
{
"snippet": "音乐专辑:《范特西》《七里香》《11月的萧邦》等。25",
"snippet_highlighted_words": [
"音乐专辑"
],
"reference_indexes": [
2,
5
]
},
{
"snippet": "单曲:《双截棍》《晴天》《告白气球》等长期占据流行榜单。36",
"snippet_highlighted_words": [
"单曲"
],
"reference_indexes": [
3,
6
]
}
]
}
],
"references": [
{
"index": 1,
"title": "周杰伦",
"link": "https://baike.baidu.com/item/周杰伦/129156",
"source": "百度百科"
},
{
"index": 2,
"title": "周杰伦",
"link": "http://bd.kuwo.cn/singer_detail/336/info",
"source": "酷我音乐"
},
{
"index": 3,
"title": "很多朋友问周杰伦是谁?",
"link": "https://baijiahao.baidu.com/s?id=1749593996418549443&wfr=spider&for=pc",
"source": "娱行记"
},
{
"index": 4,
"title": "华语男歌手、词曲创作人、演员、MV及电影导演、编剧及制作人",
"link": "https://upimg.baike.so.com/doc/2526484-2669235.html",
"source": "360百科"
},
{
"index": 5,
"title": "Jay",
"link": "http://baike.baidu.com/item/Jay/5291",
"source": "百度百科"
},
{
"index": 6,
"title": "中国各省最大牌的明星盘点,你们省最大牌的明星是谁呢?_耳猫_猫咪_暹罗",
"link": "https://yule.sohu.com/a/932662833_122509462",
"source": "搜狐娱乐"
}
]
},
...
}
JSON structure overview
{
...
"ai_overview": {
"text_blocks": [
{
"type": "String - Type of the text block. Can be 'heading', 'paragraph', 'list', 'video'",
"snippet": "String - Text content of the block",
"snippet_highlighted_words": "Array of strings - Words highlighted with <strong> tags in the snippet",
"reference_indexes": "Array of integers - Indexes of the references in the root 'references' field",
// When the text block contains a video
"video": {
"url": "String - URL to the video",
"thumbnail": "String - URL to the video thumbnail image"
},
// When the text block contains a list
"list": [
{
"snippet": "String - Text content of the list item",
"snippet_highlighted_words": "Array of strings - Words highlighted with <strong> tags in the list item",
"reference_indexes": "Array of integers - Indexes of the references in the root 'references' field",
// For nested lists
"list": [
{
"snippet": "String - Text content of the nested list item",
"snippet_highlighted_words": "Array of strings - Words highlighted with <strong> tags in the nested item",
"reference_indexes": "Array of integers - Indexes of the references in the root 'references' field"
},
...
]
},
...
]
},
...
],
"references": [
{
"index": "Integer - Index number of the reference",
"title": "String - Title of the reference source",
"link": "String - URL to the reference source",
"source": "String - Domain or source name of the reference"
},
...
]
},
...
}