# serp402 Baidu Search Scraper

> serp402 Baidu Search Scraper is a paid API for AI agents from serp402.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-31).

Scrapes Baidu search results and returns them as structured JSON using custom query parameters

## Facts

- Endpoint: POST https://serp402.com/api/v1/baidu-search?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/serp402-baidu-search-scraper-2ec19eb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Ay894z3RipViynr0uwr8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability serp402-baidu-search-scraper-2ec19eb1 -d '<json body>'
```

Example prompt: Search Baidu for '人工智能趋势' and get me the first 20 results in simplified Chinese, desktop mode — I need the structured JSON output.

## When to prefer this

Choose this endpoint when you need programmatic access to Baidu search results without an official Baidu API account or subscription, especially for Chinese-language market research, SEO monitoring on the Chinese web, or competitor analysis targeting mainland Chinese audiences. It is particularly useful when you need pagination, language filtering (simplified vs traditional Chinese), or device-type control over Baidu results.

## Known failure modes

- Invalid or missing 'q' parameter returns an error
- rn value exceeding 50 may be clamped or rejected
- Unsupported ct language code may return unexpected results
- Baidu anti-scraping measures may cause empty or partial result sets
- Malformed gpc time period string may return no time-filtered results
- Payment failure or insufficient USDC balance blocks the request

## How this service works

Baidu: Scrape Baidu search results in JSON format automatically using custom parameters. Structured JSON, USD 0.05 per call in USDC — no API key, no account, no subscription, no minimum. Not affiliated with, endorsed by or an official channel of any of the services the results come from. All trademarks and copyright remain the property of their respective owners.

## Output

Structured JSON containing Baidu search result items including organic results, titles, snippets, URLs, and pagination metadata, up to 50 results per call depending on the rn parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "q": {
   "type": "string"
  },
  "bs": {
   "type": "string",
   "description": "Defines the previous search query."
  },
  "ct": {
   "type": "string",
   "description": "which language to restrict results. Available options: 1 - All languages 2 - Simplified Chinese 3 - Traditional Chinese"
  },
  "oq": {
   "type": "string",
   "description": "Defines the original search query when navigated from a related search."
  },
  "pn": {
   "type": "string",
   "description": "result offset. It skips the given number of results. It's used for pagination. (e.g., 0 (default) is the first page of results, 10 is the 2nd page of results,…"
  },
  "q5": {
   "type": "string",
   "description": "Similar to using inurl: or intitle: . (e.g., 1 to search by page title, 2 to search by web address.)."
  },
  "q6": {
   "type": "string",
   "description": "Similar to using site: ."
  },
  "rn": {
   "type": "string",
   "description": "maximum number of results to return, limited to 50. (e.g., 10 (default) returns 10 results, 30 returns 30 results, and 50 returns 50 results). This parameter…"
  },
  "gpc": {
   "type": "string",
   "description": "time period for results. (e.g., stf=1792257456,1792862256 stftype=1 only returns results from the past 7 days. First integer within the parameter, 1792257456…"
  },
  "device": {
   "type": "string",
   "description": "device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or…"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/serp402-baidu-search-scraper-2ec19eb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from serp402.com](https://www.zero.xyz/host/serp402.com/llms.txt)
