Skip to content
All sites
Data API

Baidu Data API

Chinese-language web search results from Baidu.

4endpointsRate Limit · Captcha handled for you
baidu.comGET/baidu/autocom…GET/baidu/imagesGET/baidu/news{ } JSON

Baidu Data API

Extract web and news search from Baidu as structured JSON. One POST per query, anti-bot handled, billed only on success.

POST /v1/data/baidu/{action}

Key Features

Structured JSON

Clean, normalized records for web and news search. No HTML parsing on your side.

4 endpoints

Across 1 category, all under one base path.

Anti-bot handled

Rate Limit, Captcha cleared for you behind the scenes.

Fresh or cached

Serve instantly from the warm store, or force a live scrape per request.

Regions & Languages

Global coverage. Results are returned for the default locale.

Pagination

Page through results with page.

Quick Start

Send your key and a few params. Failed requests are free.

data_api.py
import requests

resp = requests.post(
    "https://api.capzy.ai/v1/data/baidu/search",
    json={
  "clientKey": "capzy_your_key_here",
  "params": {
    "query": "手机",
    "page": 1,
    "per_page": 10,
    "num": 10
  }
},
)
print(resp.json()["result"])

Per-run pricing

failed requests are free
EndpointCategoryPrice / 1k results
/v1/data/baidu/autocompleteAutocompleteSearch1 credit / run
/v1/data/baidu/imagesImage SearchSearch1 credit / run
/v1/data/baidu/newsNews SearchSearch1 credit / run
/v1/data/baidu/searchWeb SearchSearch1 credit / run