All APIs

Search and places

Baidu News API

Retrieve native Baidu News data.

Make a request

Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.

POST /v1/baidu/news/search
curl 'https://api.prismcrawl.com/v1/baidu/news/search' \
  --request POST \
  --header 'content-type: application/json' \
  --header 'x-api-key: <PRISMCRAWL_API_KEY>' \
  --data '{
  "query": "coffee"
}'

Supported parameters

ParameterUsage
queryRequiredText to search for on the selected service.
pageOne-based page number.
deviceDevice presentation for the source request.

desktop, mobile, tablet

htmlReturn the encoded original response rather than parsed JSON.
zero_traceDo not archive source or parsed response artifacts.
ctResult language: 1 for all languages, 2 for Simplified Chinese, 3 for Traditional Chinese.
pnZero-based result offset. Cannot be combined with a page after page 1.
rnRequested results per page, up to 50. Baidu web supports this on desktop and tablet.
rttNews order: 1 for relevance or 4 for newest.

1, 4

mediumPublisher filter: 0 for all, 1 for media sites, 2 for Baijiahao.

Structured results

Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.

addresscategorycoordinatesdescriptionidlatitudelongitudenamephonepositionrankratingrating_maxrating_sourcereview_countsnippetsourcethumbnailtitletypeurlwebsite

SDKs and guides

The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.