TikTok Shop product details API
One product with its SKUs and stock levels (in extra), rating, rating spread, specifications and shipping.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
US catalogue only. TikTok sometimes treats an exit as a crawler; the request is retried on fresh exits and answers upstream_blocked (free) if all three are refused.
You send one of url or id.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/tiktok/shop/product" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'id=1729527313880355335'import os
import requests
params = {
"id": "1729527313880355335",
}
res = requests.get(
"https://api.socialscrape.io/v1/tiktok/shop/product",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/tiktok/shop/product");
url.search = new URLSearchParams({
id: "1729527313880355335",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape TikTok Shop product details",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/tiktok/shop/product",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "id",
"value": "1729527313880355335"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Product URL (tiktok.com/shop/pdp/...). |
id | string | one of | Product id. Also accepted as product_id. |
region | string | Two-letter country code (ISO 3166-1) for results that vary by country. Also accepted as country, geo. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_ee8d4bff7a7b3f76c6babad5",
"data": {
"object": "product",
"platform": "tiktok",
"id": "1729527313880355335",
"url": "https://www.tiktok.com/shop/pdp/ashwagandha-gummies-by-goli-ksm-66-mixed-berry-vegan-non-gmo/1729527313880355335",
"title": "Goli Ashwagandha & Vitamin D Gummy - Mixed Berry, KSM-66, Vegan, Plant Based, Non-GMO, Gluten-Free & Gelatin Free. America's #1 Ashwagandha Brand",
"description": "Goli Nutrition has sold over 90 Million bottles of gummy vitamins.\nVegan, Non-GMO, Gluten-free & Gelatin-free: Each bottle of Goli contains 60 delicious, veg...",
"price": {
"amount": 19.47,
"currency": "USD",
"original_amount": 24.7,
"display": "$19.47"
},
"seller": {
"id": "7495794203056835079",
"handle": null,
"name": "Goli Nutrition",
"url": "https://shop.tiktok.com/us/store/goli-nutrition/7495794203056835079",
"avatar_url": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/e7478d3e93d4487a9e772fa74e10f506~tplv-fhlh96nyum-resize-png:300:300.png?dr=12184&t=5...",
"verified": null
},
"rating": 4.5,
"review_count": 94470,
"sold_count": 1306215,
"image_urls": [
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/2bc69aa9f6084480beee1bb4a8db3a69~tplv-fhlh96nyum-crop-webp:800:800.webp?dr=12190&t=5...",
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/e55105f652d84992807aefb34664bb00~tplv-fhlh96nyum-crop-webp:800:800.webp?dr=12190&t=5...",
"https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/f1fb81b18a5d4f88bb70c8a72e466d02~tplv-fhlh96nyum-crop-webp:800:800.webp?dr=12190&t=5..."
],
"category": "Vitamins Supplements",
"in_stock": true,
"location": null,
"published_at": null,
"extra": {
"categories": [
{
"id": "700645",
"level": 1,
"name": "Health"
},
{
"id": "700646",
"level": 2,
"name": "Nutrition & Wellness"
},
{
"id": "700650",
"level": 3,
"name": "Vitamins, Minerals & Wellness Supplements"
}
],
"default_sku_id": "1729527298861535751",
"free_shipping": true,
"rating_distribution": {
"1": 5782,
"2": 1511,
"3": 3736,
"4": 7816,
"5": 75625
},
"seller_followers": 601537,
"seller_product_count": 53
}
},
"cursor": null,
"has_more": null
}Fields
One Product in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "product" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
title | string or null | ||
description | string or null | ||
price | Price or null | ||
seller | Author or null | ||
rating | number or null | ||
review_count | integer or null | ||
sold_count | integer or null | ||
image_urls | string[] or null | ||
category | string or null | ||
in_stock | boolean or null |
Show the other 3 fields
| Field | Type | Always | Notes |
|---|---|---|---|
location | Place or null | ||
published_at | string (ISO 8601 date-time) or null | ||
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry), upstream_blocked (retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The preview Python client has client.tiktok.shop_product(...) and the TypeScript client client.tiktok.shopProduct(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.