Copied to clipboard!

Baidu Organic Results API

Baidu search main results are called organic results. Some results are simple and straightforward. Others include rich data like reviews, thumbnails, and other special snippets. SerpApi is able to scrape, extract, and make sense of both simple and more complex organic results.

Organic results page


When SerpApi encounters organic results, we add them to our JSON output as the array organic_results.


For each organic result, we are able to extract its position, title, link, displayed_link, thumbnail, date, snippet, cached_page_link, related_pages_link, sitelinks:inline, sitelinks:expanded, rich_snippet:top, rich_snippet:bottom, extensions, reviews, ratings, and more.

Baidu page structure:

Zoom In

Baidu Structured Organic Results
SerpApi JSON structure:
{
  ...
  "organic_results": [
    ...
    {
      "position": 2,
      "title": "The Best Coffee from Starbucks Coffee",
      "link": "http://www.baidu.com/link?url=AltR7U6RrH1RpiKqnL8mpD87sWnphX3BcSMldWus-kyGV-5DcEL-hNDBzGpVS0kr",
      "displayed_link": "https://www.starbucks.com/coffee",
      "snippet": "Starbucks Coffee Finder. Our coffee masters have distilled their years of tasting knowledge down to three simple questions to help you find a Starbucks ...",
      "cached_page_link": "http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed19fa950d100b92235c4380147d9183552f93c211d2735b36163bbca6767f4450849268225cef1f53bbad62266054&p=cb7aca1e819812a05abd9b7d0c16c1&newp=8134d115d9c040af07b7c7710f5081231610db2151d7db1f6b82c825d7331b001c3bbfb423261b01d0ce796105ae4b58eaf53478370327a3dda5c91d9fb4c57479d77d&user=baidu&fm=sc&query=coffee&qid=b5a8b3b000038df5&p1=3"
    },
    {
      "position": 3,
      "title": "CoffeeScript 中文",
      "link": "http://www.baidu.com/link?url=-kPyGw7O3gIlqcV2HLuDTmrlm543EHumwWxCIDXxh_Sb8QJI5Vyizba_BPQImUAm",
      "displayed_brand": "coffee-script.org/",
      "snippet": "CoffeeScript 中文, Unfancy JavaScript, 翻译... CoffeeScript仅提供了一种底层循环,即while循环。与JavaScript中的while 循环的主要区别是,在CoffeeScript中while可以...",
      "cached_page_link": "http://cache.baiducontent.com/c?m=9d78d513d9921cfb0cbac36a4a5689694312c6212bd6a3086285ce1cc7330c564710a2ea67795242c4c50b3a41fa54&p=c973ce5b9c904ead40bd9b7d0c1689&newp=827fc54ad5c241f41abac7710f5786231610db2151d7d4166b82c825d7331b001c3bbfb423261b00d9c6766706ac435fe8f03479320821a3dda5c91d9fb4c57479d36563&user=baidu&fm=sc&query=coffee&qid=b5a8b3b000038df5&p1=4"
    },
  ...
}

Thumbnail Example


Baidu page structure:

Zoom In

Thumbnail Example
SerpApi JSON structure:
{
  "position": 4,
  "title": "咖啡之家_咖啡行业门户网站_中国咖啡网_Coffee.CN",
  "link": "http://www.baidu.com/link?url=-nLUaEMftsI0d3iR4V5-WgJKoIe69m5kvMHvC0h3Eh_",
  "thumbnail": "https://ss0.baidu.com/73x1bjeh1BF3odCf/it/u=3729886114,650771747&fm=85&s=BC604C872AEA2C929F2465B70300D043",
  "displayed_brand": "www.coffee.cn/",
  "snippet": "咖啡之家(Coffee.CN)是中国领先的公益咖啡交流知识平台,致力于咖啡店管理经验分享,coffee咖啡师论坛共享咖啡机咖啡豆等技术的咖啡知识,免费发布咖啡师与西餐厨师招聘...",
  "cached_page_link": "http://cache.baiducontent.com/c?m=9d78d513d9921cfb0cbac36a4a5689694312c6212bd6a3086291d60d84642c101a32b7ec70351073829961&p=c973ce5b9c904ead40bd9b7d0c1489&newp=827fc54ad5c243f41abac7710f5786231610db2151d7d7166b82c825d7331b001c3bbfb423261b00d9c6766706ac435fe8f03479320821a3dda5c91d9fb4c57479d36563&user=baidu&fm=sc&query=coffee&qid=b5a8b3b000038df5&p1=5"
},
{
  "position": 5,
  "title": "The Original Craft Coffee | Peet's Coffee",
  "link": "http://www.baidu.com/link?url=WOmd30x42jiDA5olPFZ6nSkBtL3vak2R2Y9H_lhP6aq",
  "thumbnail": "https://ss0.baidu.com/73t1bjeh1BF3odCf/it/u=2307565322,156485872&fm=85&s=DF381EC70A7227900CB4183F0300F04B",
  "displayed_link": "https://www.peets.com/",
  "snippet": "Since 1966, Peet's Coffee has offered superior coffees and teas by sourcing the best quality coffee beans and tea leaves in the world and adhering to ...",
  "cached_page_link": "http://cache.baiducontent.com/c?m=9d78d513d9921cfb0cbac36a4a5689694312c6217dc0d16662c9d60dd6735b360531b4fd663510738298237a&p=c973ce5b9c904ead40bd9b7d0d1489&newp=827fc54ad5c343f41abac7710f5786231610db2151d7d2136b82c825d7331b001c3bbfb423261b00d5c27a6c01aa4d5ae9f53779370727a3dda5c91d9fb4c57479d36563&user=baidu&fm=sc&query=coffee&qid=b5a8b3b000038df5&p1=6"
}

Rich Snippet Example


Baidu page structure:

Zoom In

Rich Snippet Example
SerpApi JSON structure:
{
  "position": 6,
  "title": "咖啡起源_百度百科",
  "link": "http://www.baidu.com/link?url=0V6Y57qMnNXc8SIc0qByVHX0XXG-vn3gMAgryz0E6WkhdPpCxJLzXQhdnn4geGhSb8MpfM2Ql78IX2NezO3pdblRkJia6cm9ys-fyFQeYGDqx9Im_IieUPjHJdclvCwh",
  "thumbnail": "https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=2262495395,2183448092&fm=58&bpow=640&bpoh=492",
  "displayed_brand": "baike.baidu.com/",
  "rich_snippet": [
    {
      "extensions": [
        "“咖啡”一词源自希腊语“Kaweh”,是世界三大饮料之一。咖啡是用咖啡豆制成。咖啡豆是指咖啡树果实内之果仁。咖啡树是属茜草科多年生常绿灌木或小乔木有关咖啡起源的传说各式..."
      ]
    }
  ],
  "sitelinks": [
    {
      "title": "咖啡的起源",
      "link": "http://www.baidu.com/link?url=ZmUoB2QyUa-rl92QrP_lPi_GD3KvbM9YIpOnHSm_eNAK3nN4d3lA-GcQH3Iig1zhG2wRfpIQna_P0k5md6arJr2V-iiKs46zTOlolDNhrChaDwXP_zNCFl6BkBQJmNhV"
    },
    {
      "title": "咖啡的溯源",
      "link": "http://www.baidu.com/link?url=ZmUoB2QyUa-rl92QrP_lPi_GD3KvbM9YIpOnHSm_eNAK3nN4d3lA-GcQH3Iig1zhG2wRfpIQna_P0k5md6arJr2V-iiKs46zTOlolDNhrChvsOE8oBKKrRlSErGf9Fi0"
    },
    {
      "title": "咖啡主要产国",
      "link": "http://www.baidu.com/link?url=ZmUoB2QyUa-rl92QrP_lPi_GD3KvbM9YIpOnHSm_eNAK3nN4d3lA-GcQH3Iig1zhG2wRfpIQna_P0k5md6arJr2V-iiKs46zTOlolDNhrCh82CwJQQDbLM7SIEn6YBom"
    },
    {
      "title": "咖啡的分类",
      "link": "http://www.baidu.com/link?url=ZmUoB2QyUa-rl92QrP_lPi_GD3KvbM9YIpOnHSm_eNAK3nN4d3lA-GcQH3Iig1zhG2wRfpIQna_P0k5md6arJr2V-iiKs46zTOlolDNhrChG1p5-Iwm9-dPFcBxcSf5f"
    },
    {
      "title": "更多>>",
      "link": "http://www.baidu.com/link?url=0V6Y57qMnNXc8SIc0qByVHX0XXG-vn3gMAgryz0E6WkhdPpCxJLzXQhdnn4geGhSb8MpfM2Ql78IX2NezO3pdblRkJia6cm9ys-fyFQeYGDqx9Im_IieUPjHJdclvCwh"
    }
  ]
}