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.

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, related_news, related_videos, related_cctv, tieba, and more.

API Examples

Results for: Coffee

Results for: Coffee

JSON Example

{
  ...
  "organic_results": [
    ...
    {
      "position": 1,
      "title": "The Best Coffee from Starbucks Coffee",
      "link": "http://www.baidu.com/link?url=Fs0T14ky-EBy7YIuRclFwPbMnPM_jtq4vTBZk_KEtmEZNOmPz706-D8eomFsgRiS",
      "thumbnail": "https://dss0.baidu.com/73x1bjeh1BF3odCf/it/u=2834469631,152070490&fm=85&s=CBE08A46CC1396D41B7D653703001042",
      "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 quest...",
      "cached_page_link": "http://cache.baiducontent.com/c?m=9d78d513d9921cfb0cbac36a4a5689694312c6217dc0d16662c9d60dd6735b360620b0fb7765415d92d27c1050f21641bbad62266054&p=ce71c64ad49b06f60cbd9b7d0749&newp=823ec54ad5c957f70be29636427a92695d0fc20e3bd0d401298ffe0cc4241a1a1a3aecbf2d201b07d9c67e6702a84f56e0f13c783d0034f1f689df08d2ecce7e39d0&user=baidu&fm=sc&query=coffee&qid=c52aab420026c829&p1=3"
    },
    {
      "position": 2,
      "title": "咖啡之家_咖啡行业门户网站_中国咖啡网_Coffee.CN",
      "link": "http://www.baidu.com/link?url=79gTDefU_0qBs-zp8WEEVDFoQ3qnQLTrtGSKeXYY6ay",
      "thumbnail": "https://dss0.baidu.com/73x1bjeh1BF3odCf/it/u=3729886114,650771747&fm=85&s=BC604C872AEA2C929F2465B70300D043",
      "displayed_link": "www.coffee.cn/",
      "snippet": "咖啡之家(Coffee.CN)是中国领先的公益咖啡交流知识平台,致力于咖啡店管理经验分享,coffee咖啡师论坛共享咖啡机咖啡豆等技术的咖啡知识,免费发布咖啡师与西餐厨师招聘...",
      "cached_page_link": "http://cache.baiducontent.com/c?m=9d78d513d9921cfb0cbac36a4a5689694312c6212bd6a3086291d60d84642c101a32b7ec70351073829961&p=8b2a971d829611a05cb3ca245f&newp=8263c54ad28912a05aa98f2c5453d8224216ed6538d1c44324b9d71fd325001c1b69e7b12529130ed0c77c6406a94356ebfa3c78341766dada9fca458ae7c462&user=baidu&fm=sc&query=coffee&qid=c52aab420026c829&p1=4"
    },
    {
      "position": 3,
      "title": "「特写」瑞幸咖啡:资本洪流下的咖啡战事",
      "link": "http://www.baidu.com/link?url=fUPnAWbceOLfG4_cBmdvBjRCgsq9YT6jCll6MdXdJjARAdXh_mK4I-lQdYuzPsGcMFCqcUF_FSDMsTeDoeV3MN-geiX-QjSl29uVftVk8A7",
      "thumbnail": "https://dss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=2055104036,229590462&fm=173&app=49&f=JPEG?w=312&h=208&s=714B90546FE48D4954C21A830300F08B",
      "date": "4天前",
      "displayed_brand": "界面新闻",
      "snippet": "【编者按:北京时间2020年4月2日晚,瑞幸咖啡提交了一份内部特别调查委员会出具的报告,称瑞幸在2019年二季度至四季度期间虚增了22亿人民币交易额,相关的费用和支出...",
      "cached_page_link": "http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed19fa950d100b8735420cdb3066848d027fa3c31bc8321c564711b2e6783f5113d2b1273116ae3f5feef4367833092ab69ecd8d49dfbc942c248830347459d20105d26fee891d739660875aedfb44a7adf144d1ffc696821405c502582ed4a7dc&p=aa65cd37c5934eae529fc7710f40&newp=8b2a970d9c8906f008e29574520092695912c10e3dddc44324b9d71fd325001c1b69e3b823281603d4c6786c15e9241dbdb239256b5568fdd18fd7&user=baidu&fm=sc&query=coffee&qid=c52aab420026c829&p1=7"
    },
  ...
}

Rich Snippet results for: Coffee

Rich Snippet results for: Coffee

JSON Example

{
  ...
  "organic_results": [
    {
      "position": 1,
      "title": "咖啡_百度百科",
      "link": "http://www.baidu.com/link?url=P84juMdtoj-EjuuVpYhvlwygwRofOQl1RfEbKFo_QdhblLIxBVQoKnd30CyBO0H2-klwYvldo_Zdk96fUFetdfmv82VKaFXWAaaGFDyAwMi",
      "thumbnail": "https://dss0.bdstatic.com/6Ox1bjeh1BF3odCf/it/u=1522337557,1810670170&fm=74&app=80&f=JPEG&size=f121,90?sec=1880279984&t=e974f9ffaeed33877ba54cdbb51fa5ac",
      "displayed_link": "https://baike.baidu.com/",
      "rich_snippet": [
        {
          "extensions": [
            "咖啡,是用经过烘焙磨粉的咖啡豆制作出来的饮料。作为世界三大饮料之一,其与可可、茶同为流行于世界的主要饮品。咖啡树是属茜草科多年生常绿灌木或小乔木,日常饮用的咖啡是用..."
          ]
        }
      ],
      "sitelinks": [
        {
          "title": "历史",
          "link": "http://www.baidu.com/link?url=RYW_PEDlqfXXt4-8Z4TCVgZ4EKZ1GGGETXqaHOAWFEM1afP0vXSC6EtfFBrs7HzsDr5d5C_rgAfUS_CgvR0CTi0OZHT4vpdzIzkzxk6w1x_"
        },
        {
          "title": "分类",
          "link": "http://www.baidu.com/link?url=RYW_PEDlqfXXt4-8Z4TCVgZ4EKZ1GGGETXqaHOAWFEM1afP0vXSC6EtfFBrs7HzsDr5d5C_rgAfUS_CgvR0CTa26Lwm2AzKhjmS5UNHv5A7"
        },
        {
          "title": "选购指南",
          "link": "http://www.baidu.com/link?url=RYW_PEDlqfXXt4-8Z4TCVgZ4EKZ1GGGETXqaHOAWFEM1afP0vXSC6EtfFBrs7HzsDr5d5C_rgAfUS_CgvR0CTozUQe0dAdWk6Dsxl62V2TS"
        },
        ...
      ]
    },
  ...
}

Tieba results for: Coffee

Tieba results for: Coffee

JSON Example

{
  ...
  "organic_results": [
    ...
    {
      "position": 8,
      "title": "coffee吧 - 百度贴吧",
      "link": "http://www.baidu.com/link?url=Bg59ujHSPp1TIs1oEKP7R_kHVZ2nAEs5nl4vf15FnU2OpxAxnKodc-RffbdyvoKE765v1pWKJRrhU5Nlbnci_ee8170fklGZj9Y0WRWYwOkqMOvA2XmU7bNVtmxR85XR4wIH2mQ3dYFYeXhWovJ_Yq",
      "tieba": {
        "profile_link": "http://www.baidu.com/link?url=Bg59ujHSPp1TIs1oEKP7R_kHVZ2nAEs5nl4vf15FnU2OpxAxnKodc-RffbdyvoKE765v1pWKJRrhU5Nlbnci_ee8170fklGZj9Y0WRWYwOkqMOvA2XmU7bNVtmxR85XR4wIH2mQ3dYFYeXhWovJ_Yq",
        "image": "https://imgsrc.baidu.com/forum/pic/item/7dd98d1001e9390156d3414877ec54e737d196f7.jpg",
        "heading": "咖啡和茶共饮",
        "profile_stats": {
          "followers": "2395",
          "total_posts": "6406"
        },
        "links": [
          {
            "text": "新手入门",
            "link": "http://www.baidu.com/link?url=NGxc4NWZvL4zPOFiRNLIKhrUnfm-3GuMu8MCyVooU2Lh35pK5WPbKyGPDzkR2Mei9wZhp32e9GcStmBxGnJGHl0OzYHnKfAQIaALIfRt-0C"
          },
          {
            "text": "制作技术",
            "link": "http://www.baidu.com/link?url=NGxc4NWZvL4zPOFiRNLIKhrUnfm-3GuMu8MCyVooU2Lh35pK5WPbKyGPDzkR2Mei9wZhp32e9GcStmBxGnJGHi5jvtJBdL4ISIlCZyYFMT7"
          },
          {
            "text": "拉花艺术",
            "link": "http://www.baidu.com/link?url=NGxc4NWZvL4zPOFiRNLIKhrUnfm-3GuMu8MCyVooU2Lh35pK5WPbKyGPDzkR2Mei9wZhp32e9GcStmBxGnJGHdTiAMzovd0xHDP9Kh99KVu"
          },
          {
            "text": "啡色心情",
            "link": "http://www.baidu.com/link?url=NGxc4NWZvL4zPOFiRNLIKhrUnfm-3GuMu8MCyVooU2Lh35pK5WPbKyGPDzkR2Mei9wZhp32e9GcStmBxGnJGHmuD9lUso1Vff8NzOO4h8W7"
          },
          {
            "text": "豆子烘焙",
            "link": "http://www.baidu.com/link?url=NGxc4NWZvL4zPOFiRNLIKhrUnfm-3GuMu8MCyVooU2Lh35pK5WPbKyGPDzkR2Mei9wZhp32e9GcStmBxGnJGHb4rq7fuitUPD8GWbY6zTs3"
          }
        ],
        "threads": [
          {
            "title": {
              "text": "瑞幸咖啡实现咖啡从“奢饰品”到“日常饮品”的...",
              "link": "http://www.baidu.com/link?url=-qsmOzYde9PpthgEiVaXf8HY-sRbfPwuleL6OwIuxcETrvGNFtK-1WlusIqgy9XKritecuiQtGgd87QiCeMbMiYHFz7P7N2k34602F5Ijxhby7wB-97a5YPPySYOgOxh"
            },
            "thread_replies": "3",
            "total_count": "5082"
          },
          {
            "title": {
              "text": "瑞幸咖啡告诉你:为何喜爱喝咖啡的人更容易有幸...",
              "link": "http://www.baidu.com/link?url=S_5oyCCqb2kmBVwI8ziIfNJdqJrravGGlTRpM4WM5AJ-oTso1XPIJXJBltd8GI9MOvWk0SRocpb4-Rt0QqCRmM-RTP1UefSW7y4wyP_6eHS"
            },
            "thread_replies": "1",
            "total_count": "4"
          },
          {
            "title": {
              "text": "瑞幸咖啡,给消费者带来舌尖上的新体验",
              "link": "http://www.baidu.com/link?url=S_5oyCCqb2kmBVwI8ziIfNJdqJrravGGlTRpM4WM5AHL343w1ZtfrTZvVZLC8uQklo3sFSx8kFDG2iJRLM4lBWurfj9bB1vfL_EVHOyobMy"
            },
            "thread_replies": "2",
            "total_count": "2244"
          }
        ],
        "source": "tieba.baidu.com/"
      }
    },
  ...
  ]
}