Endpoint Playground
Test Crawlora's Suggest Baidu search queries API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/baidu/suggest?q=openai" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| q | string | Yes | openai | Search query prefix |
| count | integer | No | Suggestions to return; defaults to 10, clamped to 1..10 |
{
"code": 200,
"msg": "OK",
"data": {
"query": "天气",
"suggestions": [
{
"position": 1,
"query": "天气预报"
},
{
"position": 2,
"query": "天气预报云图"
},
{
"position": 3,
"query": "天气之子"
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns Baidu search-box autocomplete completions for a query prefix, in Baidu's own ranking order. Baidu never returns more than 10 suggestions per prefix; Chinese prefixes are supported.
{
"code": 200,
"msg": "OK",
"data": {
"query": "天气",
"suggestions": [
{
"position": 1,
"query": "天气预报"
},
{
"position": 2,
"query": "天气预报云图"
},
{
"position": 3,
"query": "天气之子"
}
]
}
}curl "https://api.crawlora.net/api/v1/baidu/suggest?q=<q>" \
-H "x-api-key: $CRAWLORA_API_KEY"