keywordstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
keywordstringobrigatórioSearch keyword.
regionstringTarget region for product search.
Padrão: "US"
Valores possíveis: US, GB, FR, SG, MY, PH, TH, VN, ID
offsetintegerSearch result offset.
Padrão: 0
pageTokenstringPagination token for the next page.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
TikTok Shop Product SearchEsta API TikTok | $0.014286 por chamada | JSON |
TikTok | A partir de $0.0012 por chamada | JSON |
TikTok | A partir de $0.0008 por chamada | JSON |
TikTok | A partir de $0.0008 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
Guias:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/shop/search-products com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.014286 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: keyword (string). Opcionais: region (um de US, GB, FR, SG, MY, PH, TH, VN, ID), offset (integer) e pageToken (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. TikTok Shop Product Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do TikTok separadamente.