Skip to main content
BAIDU_AI_SEARCH searches Baidu (baidu.com) and returns the AI answer card (百度AI+) at the top of the results page with the pages the answer cites, along with the rest of that page: results, ads, related searches, news, videos, products, images, places and Baidu’s other cards. No account or login is involved.

Request

Every task reads the results page from a mainland exit, so country does not change it. You can omit it.

Response

Every task returns the results page, with or without an AI card, and each results-page field is present when the page shows that block. The AI card changes between requests for the same query, and a query that shows no card completes with card: null. Answers Baidu writes after the page loads arrive like any other card, with their sources and the searches Baidu ran. For example:

Include flags

markdown needs no flag. See Markdown and raw responses.