keywordstringzorunlu
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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
keywordstringzorunluSearch keyword.
regionstringTarget region for product search.
Varsayılan: "US"
Olası değerler: US, GB, FR, SG, MY, PH, TH, VN, ID
offsetintegerSearch result offset.
Varsayılan: 0
pageTokenstringPagination token for the next page.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
TikTok | $0.014286 çağrı başına | JSON |
TikTok | Kullanım başına $0.0012'den itibaren | JSON |
TikTok | Kullanım başına $0.0008'den itibaren | JSON |
TikTok | Kullanım başına $0.0008'den itibaren | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok/shop/search-products adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.014286, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: keyword (string). İsteğe bağlı: region (US, GB, FR, SG, MY, PH, TH, VN, ID arasından biri), offset (integer) ve pageToken (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. TikTok Shop Product Search, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok API erişimi için ayrıca başvuru yapmanız gerekmez.