GroundsocialDocs

API · Baidu

GET /baidu/search

Baidu web results: titles, URLs, snippets, card types.

RequestGET /v1/baidu/search
Operation idbaidu.search.all
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Baidu web results: titles, URLs, snippets, card types.

Query parameters

NameTypeRequiredDescription
querystringyesExample: 咖啡.
limit"10" | "20" | "50"noOne of 10, 20, 50.
pageintegerno

Responses

StatusMeaningSchema
200Results.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Baidu has nothing for that search.Error
429Too many requests. Wait for Retry-After seconds.Error
503Baidu is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.