DataForSEO SERP API icon

DataForSEO SERP API

DataForSEO SERP API

Actions87

Baidu → Get Baidu Organic SERP Regular

AI-generated

Summary

Retrieve the regular organic search engine results page (SERP) data from Baidu for a specified keyword and search parameters.

Inputs

  • Keyword (required) — The search term to query Baidu with, supporting up to 700 characters with proper URL encoding for special characters.
  • Location (required) — The full name of the Baidu search engine location to target, as defined in DataForSEO's supported locations.
  • Language (required) — The full name of the search language for the Baidu query, matching DataForSEO's supported languages.
  • GPS Coordinates of a Location — Optional GPS coordinates in 'latitude,longitude,radius' format to further specify the search location.
  • Task Priority — The execution priority for the search task, either normal or high.
  • Device — The type of device to simulate in the search results, options include desktop, mobile, or tablet.
  • OS — Operating system of the device used in the search, compatible options depend on the device type.
  • Depth — Number of organic results to retrieve (default 100), with allowed range of 1 to 700.
  • Page Crawl Limit — Maximum number of pages to crawl for results, with a range of 1 to 100; defaults to no limit if not set.
  • Include Direct URL for Each Ranked Result? — Specifies whether to include the direct URL for each ranked search result in the response.

Output shape

a JSON object containing Baidu's organic SERP data based on the specified query and parameters

The output includes details for each organic result such as ranking, snippets, and optionally direct URLs if requested. Pagination or crawl limits affect completeness. Errors or empty sets may be returned if no data matches or if parameters are invalid.

Examples

Example 1: Retrieve top 100 desktop organic search results for 'coffee' in Beijing, Chinese language, with normal priority and Windows OS.

Keyword='coffee', Location='Beijing', Language='Chinese', Device='desktop', OS='windows', Depth=100, Priority=1

Links

Discussion