Appearance
Shop Search
GET /v1/tiktok/shop/search
Searches TikTok Shop for products matching a keyword query. Returns an array of product objects each with title, cover image, url (product page link), price, sold_count, review_count, rating, and shop_name. Paginate with page; filter by region.
Authentication
All requests require the x-api-key header. Get your key at scrapecreators.com.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
query | string | yes | Term you want to search for | shoes |
page | number | no | Page number to retrieve | 1 |
region | enum(US, GB, DE, FR, IT, ID, MY, MX, PH, SG, ES, TH, VN, BR, JP, IE) | no | Region to search shop products in. | US |
Example Request
curl
bash
curl 'https://api.scrapecreators.com/v1/tiktok/shop/search?query=shoes' \
-H 'x-api-key: $SCRAPECREATORS_API_KEY'Node / TypeScript
js
const params = new URLSearchParams({ query: 'shoes' });
const res = await fetch(`https://api.scrapecreators.com/v1/tiktok/shop/search?${params}`, {
headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);Python
python
import os, requests
r = requests.get(
'https://api.scrapecreators.com/v1/tiktok/shop/search',
headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
params={'query': 'shoes'},
)
r.raise_for_status()
print(r.json())CLI
bash
scrapecreators tiktok-shop shop-search --helpExample Response
json
{
"success": true,
"query": "shoes",
"total_products": 100,
"products": [
{
"product_id": "1730213444857467838",
"title": "Crocs Adult Classic Clogs",
"image": {
"height": 1200,
"width": 1200,
"uri": "tos-useast5-i-omjb5zjo8w-tx/b16ea2605a0d4708af7cbc3a1dd03624",
"url_list": [
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/b16ea2605a0d4708af7cbc3a1dd03624~tplv-fhlh96nyum-crop-webp:1200:1200.webp?dr=12190&from=2378011839&idc=useast5&ps=933b5bde&shcp=a6e80448&shp=8dbd94bf&t=555f072d"
]
},
"product_price_info": {
"sku_id": "1730213454432146366",
"symbol_position": 1,
"show_currency_space": false,
"currency_show_mode": 1,
"currency_name": "USD",
"currency_symbol": "$",
"sale_price_decimal": "49.99",
"sale_price_format": "49.99",
"single_product_price_format": "49.99",
"single_product_price_decimal": "49.99",
"sale_price_integer_part_format": "49",
"sale_price_decimal_part_format": "99",
"decimal_point_symbol": ".",
"promotion_deduction_details": {}
},
"rate_info": {
"score": 4.8,
"review_count": "2493"
},
"sold_info": {
"sold_count": 24737
},
"seller_info": {
"seller_id": "7495832567110863806",
"shop_name": "Crocs",
"shop_logo": {
"height": 300,
"width": 300,
"uri": "tos-useast5-i-omjb5zjo8w-tx/0e1e83bcdab948b9aa9e6474e87a8a80",
"url_list": [
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/0e1e83bcdab948b9aa9e6474e87a8a80~tplv-fhlh96nyum-resize-png:300:300.png?dr=12184&from=2422056039&idc=useast5&ps=933b5bde&shcp=d9d491bf&shp=905da467&t=555f072d"
]
}
},
"seo_url": {
"updated_at": "1754122673333",
"canonical_url": "https://www.tiktok.com/shop/pdp/classic-clogs-by-crocs-lightweight-slip-on-shoes-with-ventilation/1730213444857467838",
"slug": "classic-clogs-by-crocs-lightweight-slip-on-shoes-with-ventilation",
"type": 2,
"version": 2
}
}
]
}Credits
Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.
Errors
| Status | Meaning | Action |
|---|---|---|
| 200 | Success. | Use the JSON payload. |
| 400 | Invalid or missing parameter. | Verify required parameters and value format. |
| 401 | Missing or invalid x-api-key. | Pass a valid API key in the header. |
| 402 | Out of credits. | Top up at scrapecreators.com or wait for plan reset. |
| 404 | Resource not found or private. | Confirm the handle, URL, or id and that the resource is public. |
| 429 | Rate limited. | Backoff and retry with exponential delay. |
| 500 | Server error or upstream platform failure. | Retry with backoff; report persistent errors to support. |