Baidu

Search Baidu web results

Returns Baidu result cards for a query: title, destination URL, snippet, publisher, and date, with page-based pagination. Each result's type is web (standard pages), video (video cards), or baike (Baidu Baike encyclopedia entries); answer widgets such as weather, entity panels, and recommendation lists are not returned. Baidu challenges a portion of requests with a security verification page; the service retries and returns 503 if every attempt is challenged, so callers should retry on 503.

get/baidu/search

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/baidu/search
  • Auth: API key in header x-api-key

Query parameters

qstring required

Search query

pageinteger

1-based result page; defaults to 1, maximum 10

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "pagination": {
      "next_page": 2,
      "page": 1
    },
    "query": "openai",
    "results": [
      {
        "date": "2025年10月30日",
        "description": "据路透社援引知情人士爆料,OpenAI 正推进最早于2027年的上市计划",
        "position": 1,
        "source": "新浪财经",
        "title": "OpenAI 万亿估值之谜",
        "type": "web",
        "url": "https://baijiahao.baidu.com/s?id=1847370812297480431"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.