SerpApi Official icon

SerpApi Official

Get live Google Search data and more from SerpApi's official node

Search → Baidu Search

AI-generated

Overview

This node performs a Baidu search using the SerpApi service. It allows users to input a search query along with various optional parameters to customize the search results, such as language restriction, pagination, number of results, time period, device type, and output format. This node is useful for retrieving live search data from Baidu for purposes like market research, SEO analysis, or content discovery.

Use Case Examples

  1. Searching for 'Coffee' with default settings to get the first page of Baidu search results.
  2. Performing a Baidu search restricted to Simplified Chinese language results.
  3. Paginating through Baidu search results by setting the result offset parameter.

Properties

Name Meaning
Search Query (q) Defines the search query including Baidu search operators like inurl:, site:, intitle:, etc. This is a required string input.
Additional Fields A collection of optional parameters to customize the Baidu search such as language restriction, pagination offset, number of results, time period, search type, device type, caching behavior, async search, output format, and JSON restrictor fields.

Output

JSON

  • search_metadata - Metadata about the search request and response.
  • search_parameters - Parameters used for the search query.
  • search_information - Information about the search results such as total results and time taken.
  • organic_results - Array of organic search results returned by Baidu.
  • related_searches - Array of related search queries suggested by Baidu.

Dependencies

  • Requires an API key credential for SerpApi to authenticate requests.

Troubleshooting

  • Common issues include invalid or missing API key, exceeding rate limits, or incorrect query parameters.
  • Error messages may indicate authentication failure, invalid parameters, or network issues. Verify API key, parameter values, and network connectivity to resolve.

Links

Discussion