search_wordstringจำเป็น
Search keyword (required)
https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2Returns e-commerce search keyword suggestions based on an input query. Supports filtering by target region and language code.
[
{
"data": {
"code": 0,
"data": [
"coffee tables",
"coffee table",
"coffee table living room",
"… 13 more items in the full response"
],
"message": "success"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of TikTok Shop search keyword suggestions for a starting query. You send search_word, and you can set region and lang to match a market.
coffee into related shopping queries for keyword research.region values to see how shoppers phrase searches in each market.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"search_word": "coffee"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
search_word | string | Yes | Search keyword (required) |
lang | string | No | Language code (en-US/zh-CN etc.) |
region | string | No | Region code (US/GB/SG/MY/PH/TH/VN/ID) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
"coffee table"
],
"message": "success"
}
| Field | Meaning |
|---|---|
code | Status code of the call. 0 means the request succeeded. |
message | Text status of the call. It shows success when the request worked. |
data | List of suggested search keywords as plain strings. The list is ordered as returned. |
data[] | One suggested search phrase, such as coffee table or coffee maker machine. |
search_word is the only required parameter. region defaults to US and lang defaults to en-US.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"lang": "en",
"region": "US",
"search_word": "coffee"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
search_wordstringจำเป็นSearch keyword (required)
langstringLanguage code (en-US/zh-CN etc.)
ค่าเริ่มต้น: "en-US"
regionstringRegion code (US/GB/SG/MY/PH/TH/VN/ID)
ค่าเริ่มต้น: "US"
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"code": 0,
"data": [
"coffee tables",
"coffee table",
"coffee table living room",
"… 13 more items in the full response"
],
"message": "success"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/shop-web/search-word-suggestion-v2 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: search_word (string). ตัวเลือก: lang (string) และ region (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Shop Search Keyword Suggestions (V2) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก