TikTok Shop product reviews by URL or product id
scrapecreators.x.v1-tiktok-shop-product-reviewsFetches customer reviews for a TikTok Shop product by URL or product_id.
- Price
- $0.00188/callAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-product-reviews?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fpdp%2Fcat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats%2F1731578642912612516Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | string | Optional | The URL of the product (required if product_id is not provided) | https://www.tiktok.com/shop/pdp/cat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats/1731578642912612516 |
page | number | Optional | The page number of the reviews | 1 |
region | string | Optional | The region of the product. US is the reliable region right now; non-US regions should not be considered reliable and may return limited or inconsistent review data. Sorry for the inconvenience. | US |
product_id | string | Optional | The ID of the product (required if url is not provided) | 1731578642912612516 |
- Query parameters
urlstringOptionalThe URL of the product (required if product_id is not provided)
Example:
https://www.tiktok.com/shop/pdp/cat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats/1731578642912612516pagenumberOptionalThe page number of the reviews
Example:
1regionstringOptionalThe region of the product. US is the reliable region right now; non-US regions should not be considered reliable and may return limited or inconsistent review data. Sorry for the inconvenience.
Example:
USproduct_idstringOptionalThe ID of the product (required if url is not provided)
Example:
1731578642912612516
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-product-reviews?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fpdp%2Fcat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats%2F1731578642912612516' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-product-reviews?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fpdp%2Fcat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats%2F1731578642912612516",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-tiktok-shop-product-reviews?url=https%3A%2F%2Fwww.tiktok.com%2Fshop%2Fpdp%2Fcat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats%2F1731578642912612516", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00188/call, including the service fee.