API DocstiktokSearchGet search keyword suggestions V2 (Mobile)
Get search keyword suggestions V2 (Mobile)
What this API is for
- Get keyword suggestions for product search
GET
/openapi/api/v1/tiktok/shop/web/fetch_search_word_suggestion_v2Price:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- search_word: Search keyword, required.
- lang: Language code, default en-US.
- region: Product or seller region, US/SG/MY/PH/TH/VN/ID/JP/MX; GB and BR are unavailable.
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| search_word | query / string | Yes |
| labubu |
| lang | query / string | No |
| en-US |
| region | query / string | No |
| US |
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/tiktok/shop/web/fetch_search_word_suggestion_v2" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- Suggestions are in data.data as an array of strings, rather than an object with keywords or suggestion fields.
- The number of suggestions varies by keyword and region; the array may be empty.
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples