keywordstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
keywordstringobligatoireSearch keyword.
regionstringTarget region for product search.
Par défaut : "US"
Valeurs possibles : US, GB, FR, SG, MY, PH, TH, VN, ID
offsetintegerSearch result offset.
Par défaut : 0
pageTokenstringPagination token for the next page.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
TikTok Shop Product SearchCette API TikTok | $0.014286 par appel | JSON |
TikTok | À partir de $0.0012 par appel | JSON |
TikTok | À partir de $0.0008 par appel | JSON |
TikTok | À partir de $0.0008 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
Guides :TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/shop/search-products avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.014286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : keyword (string). Facultatif : region (l’un de US, GB, FR, SG, MY, PH, TH, VN, ID), offset (integer) et pageToken (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. TikTok Shop Product Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.