All sites
Data API
Baidu Data API
Chinese-language web search results from Baidu.
4endpointsRate Limit · Captcha handled for you
Baidu Data API overview
Extract web and news search from Baidu as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.
/v1/baidu/… Open playgroundKey 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
Use your dedicated Data API key. Follow this endpoint's method and parameters.
# Install: pip install requests
import json
import os
import requests
params = json.loads("{\"query\":\"手机\",\"page\":1,\"per_page\":10,\"num\":10}")
response = requests.request(
"GET", "https://api.capzy.ai/v1/baidu/search",
headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
params=params,
timeout=120,
)
response.raise_for_status()
print(response.json())Per-run pricing
failed requests are free| Endpoint | Category | Price / 1k results |
|---|---|---|
/v1/data/baidu/autocompleteAutocomplete | Search | 1 credit / run |
/v1/data/baidu/imagesImage Search | Search | 1 credit / run |
/v1/data/baidu/newsNews Search | Search | 1 credit / run |
/v1/data/baidu/searchWeb Search | Search | 1 credit / run |