APIs / Baidu / Translation Suggestions
Baidu: Translation Suggestions
Translation Suggestions from Baidu as JSON. 1 credit per successful call.
GET /v1/baidu/translation-suggestions
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 500 characters |
Example request
Baidu
GET/v1/baidu/translation-suggestions?query=hello
{
"search_parameters": {
"engine": "baidu_translation_suggestions",
"query": "hello"
},
"search_information": {
"query_displayed": "hello",
"suggestion_count": 5
},
"suggestions": [
{
"position": 1,
"query": "hello",
"translation": "int. 打招呼; 哈喽,喂; 你好,您好; 表示问候 n. “喂”的招呼声或问候声 vi. 喊“喂",
"k": "hello",
"v": "int. 打招呼; 哈喽,喂; 你好,您好; 表示问候 n. “喂”的招呼声或问候声 vi. 喊“喂"
},
{
"position": 2,
"query": "hellos",
"translation": "n. 喂( hello的名词复数 )",
"k": "hellos",
"v": "n. 喂( hello的名词复数 )"
},
{
"position": 3,
"query": "hellow",
"translation": "(通常的招呼语)嗨, (打电话用)喂!, (英)(表示惊讶)哎哟",
"k": "hellow",
"v": "(通常的招呼语)嗨, (打电话用)喂!, (英)(表示惊讶)哎哟"
}
],
"data": {
"errno": 0,
"data": [
{
"k": "hello",
"v": "int. 打招呼; 哈喽,喂; 你好,您好; 表示问候 n. “喂”的招呼声或问候声 vi. 喊“喂"
},
{
"k": "hellos",
"v": "n. 喂( hello的名词复数 )"
},
{
"k": "hellow",
"v": "(通常的招呼语)嗨, (打电话用)喂!, (英)(表示惊讶)哎哟"
}
],
"logid": 440919614
},
"response_time_ms": 2409
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
errno | integer |
data | object[] |
logid | integer |