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.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
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.
開始建置
具備統一驗證與用量追蹤的平台 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 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_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 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
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 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/shop/search-products。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.014286,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:keyword (string)。 選填:region(US, GB, FR, SG, MY, PH, TH, VN, ID 之一), offset (integer) 和 pageToken (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。TikTok Shop Product Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。