keywordstringจำเป็น
Search keyword.
https://api.sandbase.ai/v1/api/tiktok/shop/search-productsSearch TikTok Shop products by keyword within a selected region, with offset and page-token pagination. Use it to discover regional products and continue through search results.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
This API returns TikTok Shop products that match a keyword in a chosen region. Each product has a title, price, rating, sold count, seller and SKU list. It needs a keyword. You can also set region, offset and pageToken.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/shop/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "phone case"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword. |
offset | integer | No | Search result offset. |
pageToken | string | No | Pagination token for the next page. |
region | string | No | Target region for product search. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"has_more": false,
"load_more_params": {
"api_source": 2,
"offset": 0,
"page_token": ""
},
"products": [
{
"image": {
"height": 1290,
"uri": "tos-useast5-i-omjb5zjo8w-tx/94fdba7fde2e4228816fc2f6a1a9705b",
"url_list": [
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/94fdba7…"
],
"width": 1290
},
"product_id": "1731987113638072822",
"product_marketing_info": {
"placement_labels": {},
"placement_labels_ui": {
"ui_list": []
}
},
"product_price_info": {
"currency_name": "USD",
"currency_show_mode": 1,
"currency_symbol": "$",
"decimal_point_symbol": ".",
"promotion_deduction_details": {},
"raw_origin_price_decimal": "20",
"raw_origin_price_format": "20.00",
"sale_price_decimal": "20"
},
"rate_info": {
"review_count": "0",
"score": 0
},
"seller_info": {
"seller_id": "7496085867160504822",
"shop_logo": {
"height": 300,
"uri": "tos-useast5-i-omjb5zjo8w-tx/587383daaf8a4eaaa4dfb4c8f2b5944f",
"url_list": [
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/587383d…"
],
"width": 300
},
"shop_name": "jaidaalize"
},
"seo_url": {
"canonical_url": "https://shop.tiktok.com/us/pdp/pink-white-junk-phone-case-stylish-protective-cov…",
"slug": "pink-white-junk-phone-case-stylish-protective-cover",
"type": 2,
"updated_at": "1768407212939",
"version": 2
},
"sku_info": [
{
"PriceInfo": {
"currency_name": "USD",
"currency_show_mode": 1,
"currency_symbol": "$",
"decimal_point_symbol": ".",
"promotion_deduction_details": {},
"raw_origin_price_decimal": "20",
"raw_origin_price_format": "20.00",
"sale_price_decimal": "20"
},
"SkuId": "1731987120486257142"
}
],
"sold_info": {
"sold_count": 0
},
"title": "junk phone case",
"transparent_image": {
"height": 500,
"uri": "tos-maliva-i-o3syd03w52-us/25537fd3c1eaabaa7574d646de2e72ef",
"url_list": [
"https://p16-oec-general.ttcdn-us.com/tos-maliva-i-o3syd03w52-us/25537fd3c1eaabaa…"
],
"width": 500
}
}
],
"shops": []
},
"message": "success"
}
| Field | Meaning |
|---|---|
data.products[].product_id | ID of the product, returned as a string. |
data.products[].title | Product title as shown in the shop listing. |
data.products[].product_price_info.sale_price_decimal / data.products[].product_price_info.raw_origin_price_decimal | Sale price and original price as decimal strings. Some products have no sale_price_decimal. |
data.products[].product_price_info.currency_name / data.products[].product_price_info.currency_symbol | Currency code and symbol for the prices, such as USD and $. |
data.products[].product_price_info.price_prefix | Label placed before the price, such as From. It appears only on some products. |
data.products[].sold_info.sold_count | Number of units sold for the product. |
data.products[].rate_info.score / data.products[].rate_info.review_count | Average rating score and number of reviews. review_count is a string. |
data.products[].seller_info.seller_id / data.products[].seller_info.shop_name | ID and display name of the shop that sells the product. |
data.products[].seo_url.canonical_url | Link to the product page on TikTok Shop. |
data.products[].sku_info[].SkuId | ID of one SKU variant. Each SKU has its own PriceInfo block with the same price fields. |
offset and pageToken. Read the values to use from data.load_more_params.data.has_more tells you whether more results exist. In this response it is false and data.load_more_params.page_token is empty.region accepts US, GB, FR, SG, MY, PH, TH, VN and ID. The default is US.data.products[].seo_url.updated_at is a Unix timestamp in milliseconds, shown as a string.$0.014286 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/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"offset": 0,
"region": "US",
"keyword": "iphone"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringจำเป็นSearch keyword.
regionstringTarget region for product search.
ค่าเริ่มต้น: "US"
ค่าที่เป็นไปได้: US, GB, FR, SG, MY, PH, TH, VN, ID
offsetintegerSearch result offset.
ค่าเริ่มต้น: 0
pageTokenstringPagination token for the next page.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok Shop Product SearchAPI นี้ TikTok | $0.014286 ต่อการเรียก | JSON |
TikTok | เริ่มต้นที่ $0.0012 ต่อครั้ง | JSON |
TikTok | เริ่มต้นที่ $0.0008 ต่อครั้ง | JSON |
TikTok | เริ่มต้นที่ $0.0008 ต่อครั้ง | 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/search-products โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.014286 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: keyword (string). ตัวเลือก: region (หนึ่งใน US, GB, FR, SG, MY, PH, TH, VN, ID), offset (integer) และ pageToken (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Shop Product Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก