# Baidu Search Scraper API (x402)

> Baidu Search Scraper API (x402) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes structured organic search results from Baidu for a given query, returning titles, links, snippets, and positions.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/baidu?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/baidu-search-scraper-api-x402-e1eeaea1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f1jWHCmRCT8NRdKIhL34a

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 baidu-search-scraper-api-x402-e1eeaea1 -d '<json body>'
```

Example prompt: Search Baidu for '人工智能 2024' in Simplified Chinese and give me the top 20 organic results including titles, links, and snippets — up to 2 pages.

## When to prefer this

Choose this endpoint when you need structured organic search results specifically from Baidu — the dominant Chinese-language search engine — rather than Google or Bing. Ideal for Chinese market research, SEO analysis targeting Chinese audiences, or any task requiring insight into what content ranks on the Chinese web. The pay-per-call model with no charge for failed or empty runs makes it low-risk for exploratory queries.

## Known failure modes

- Empty result set if the query returns no organic Baidu results (not charged)
- Invalid timePeriod format causes no results or error
- Language enum value outside 'all','zh-CN','zh-TW' causes validation error
- maxPages set below 1 causes schema validation failure
- Network or scraping timeout may return partial results
- Baidu anti-bot measures may reduce result count on some queries

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

A JSON object with a count of results found, a product identifier ('baidu'), and an array of items each containing: title, snippet, link, baiduLink (Baidu's redirect URL), displayedLink, position, and page number.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Words or phrase to search on Baidu."
  },
  "language": {
   "enum": [
    "all",
    "zh-CN",
    "zh-TW"
   ],
   "type": "string",
   "default": "all",
   "description": "Use all languages or request Simplified or Traditional Chinese results."
  },
  "maxItems": {
   "type": "integer",
   "default": 50,
   "minimum": 0,
   "description": "Stop after this many unique organic results. Set 0 for no item cap; maxPages still applies."
  },
  "maxPages": {
   "type": "integer",
   "default": 5,
   "minimum": 1,
   "description": "Maximum number of 10-position search pages to visit. Some positions are occupied by other result types."
  },
  "startPage": {
   "type": "integer",
   "default": 1,
   "minimum": 1,
   "description": "First Baidu results page to collect, starting at 1."
  },
  "timePeriod": {
   "type": "string",
   "default": "",
   "description": "Optional Unix time range, for example stf=1789862400,1790467200|stftype=1. Leave empty for any date."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "link": null,
    "page": null,
    "query": null,
    "title": null,
    "snippet": null,
    "position": null,
    "baiduLink": null,
    "displayedLink": null
   }
  ],
  "product": "baidu"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/baidu-search-scraper-api-x402-e1eeaea1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
