TikTok Shop API: Extract Product & Seller Data
TikTok Shop is growing fast. Our API helps you monitor products, track prices, and analyze sellers on TikTok's e-commerce platform.
TikTok Shop Endpoints
| Endpoint | Description |
|---|---|
| Products | Get products from a shop store |
| Product Details | Get full product info, stock, reviews, shipping |
| Search | Search products by keyword |
| Product Reviews | Get reviews for a product |
Why Scrape TikTok Shop?
- Competitor Analysis - Track competitor pricing and products
- Market Research - Discover trending products
- Price Monitoring - Get alerts on price changes
- Product Discovery - Find best-sellers in your niche
- Seller Research - Analyze successful TikTok shops
Products Endpoint
Get all products from a TikTok Shop seller:
const response = await fetch('https://api.sociavault.com/v1/scrape/tiktok-shop/products?url=https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079', {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const result = await response.json();
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | TikTok Shop store URL |
cursor | string | No | Pagination cursor from previous response |
region | string | No | Region code (US, GB, DE, FR, etc.) |
Response
{
"success": true,
"shopInfo": {
"shop_name": "Goli Nutrition",
"seller_id": "7495794203056835079",
"sold_count": 3767605,
"on_sell_product_count": 36,
"review_count": 284185,
"followers_count": "237879",
"shop_rating": "4.6",
"format_sold_count": "3.7M",
"shop_slogan": "Health Simple. Vegan. Gluten-Free. Non-GMO."
},
"products": [
{
"product_id": "1729527313880355335",
"title": "Goli Ashwagandha & Vitamin D Gummy...",
"product_price_info": {
"sale_price_decimal": "14.96",
"origin_price_decimal": "24.99",
"discount_format": "40%",
"currency_name": "USD",
"currency_symbol": "$",
"reduce_price_format": "Saving $10.03"
},
"rate_info": { "score": 4.5, "review_count": "91316" },
"sold_info": { "sold_count": 1235089 },
"seller_info": { "seller_id": "7495794203056835079", "shop_name": "Goli Nutrition" }
}
]
}
Product Details Endpoint
Get comprehensive information about a specific product:
const response = await fetch('https://api.sociavault.com/v1/scrape/tiktok-shop/product-details?url=https://www.tiktok.com/shop/pdp/product-name-1234567890&get_related_videos=false®ion=US', {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const productDetails = await response.json();
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full TikTok Shop product URL |
get_related_videos | boolean | No | Include related TikTok videos (default: false) |
region | string | No | Region code (US, GB, etc.) |
Response
{
"success": true,
"product_id": "1729527313880355335",
"seller": {
"seller_id": "7495794203056835079",
"name": "Goli Nutrition",
"product_count": 36,
"rating": "4.6",
"seller_location": "United States"
},
"product_base": {
"title": "Goli Ashwagandha & Vitamin D Gummy...",
"images": ["https://..."],
"specifications": "60 Count",
"sold_count": 1235089,
"combined_sales_volume": "1.2M sold",
"price": {
"original_price": "24.99",
"real_price": "14.96",
"discount": "40%",
"min_sku_price": "14.96",
"currency": "USD"
},
"category_name": "Health"
},
"skus": [
{
"sku_id": "1729527313880355336",
"stock_info": { "available_stock_num": 500 },
"price": { "real_price": "14.96" }
}
],
"logistic": {
"shipping_info": "Free shipping"
},
"product_detail_review": {
"product_rating": "4.5",
"review_count": 91316,
"review_items": [
{
"content": "Great product!",
"rating": 5,
"create_time": 1700000000
}
]
}
}
Product Search Endpoint
Search TikTok Shop products by keyword:
const response = await fetch('https://api.sociavault.com/v1/scrape/tiktok-shop/search?query=wireless%20earbuds&page=1', {
headers: {
'x-api-key': 'YOUR_API_KEY'
}
});
const searchResults = await response.json();
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword |
page | number | No | Page number (default: 1) |
Response
{
"success": true,
"query": "wireless earbuds",
"products": {
"0": {
"product_id": "1729527313880355335",
"title": "Wireless Earbuds TWS Bluetooth 5.3...",
"product_price_info": {
"sale_price_decimal": "12.99",
"currency_name": "USD",
"currency_symbol": "$"
},
"sold_info": { "sold_count": 8500 },
"seller_info": {
"seller_id": "7495794203056835079",
"shop_name": "Tech Deals Store"
},
"seo_url": {
"canonical_url": "https://www.tiktok.com/shop/pdp/...",
"slug": "wireless-earbuds-tws"
}
}
}
}
Note: Search results use numeric keys — use
Object.values(data.products)to iterate.
Use Cases
Price Monitoring
Track competitor prices over time:
async function monitorPrices(productUrls) {
for (const url of productUrls) {
const res = await fetch(`https://api.sociavault.com/v1/scrape/tiktok-shop/product-details?url=${encodeURIComponent(url)}®ion=US`, {
headers: { 'x-api-key': 'YOUR_API_KEY' }
});
const { product_base, product_id } = await res.json();
await savePriceHistory({
productId: product_id,
title: product_base.title,
price: product_base.price.real_price,
originalPrice: product_base.price.original_price,
discount: product_base.price.discount,
soldCount: product_base.sold_count,
timestamp: new Date()
});
}
}
Find Best Sellers
Discover top-performing products from a shop:
const res = await fetch('https://api.sociavault.com/v1/scrape/tiktok-shop/products?url=https://www.tiktok.com/shop/store/shop-name/12345®ion=US', {
headers: { 'x-api-key': 'YOUR_API_KEY' }
});
const { products } = await res.json();
const bestSellers = products
.filter(p => p.sold_info.sold_count > 1000 && parseFloat(p.rate_info.score) >= 4.5)
.sort((a, b) => b.sold_info.sold_count - a.sold_info.sold_count);
console.log('Top sellers:', bestSellers.slice(0, 10).map(p => ({
title: p.title,
sold: p.sold_info.sold_count,
price: p.product_price_info.sale_price_decimal,
rating: p.rate_info.score
})));
Competitor Analysis
Compare shops side by side:
async function analyzeShop(shopUrl) {
const res = await fetch(`https://api.sociavault.com/v1/scrape/tiktok-shop/products?url=${encodeURIComponent(shopUrl)}®ion=US`, {
headers: { 'x-api-key': 'YOUR_API_KEY' }
});
const { shopInfo, products } = await res.json();
return {
shopName: shopInfo.shop_name,
totalProducts: shopInfo.on_sell_product_count,
totalSold: shopInfo.format_sold_count,
shopRating: shopInfo.shop_rating,
followers: shopInfo.followers_count,
avgPrice: (products.reduce((s, p) => s + parseFloat(p.product_price_info.sale_price_decimal), 0) / products.length).toFixed(2),
topProduct: products.sort((a, b) => b.sold_info.sold_count - a.sold_info.sold_count)[0]?.title
};
}
Market Research
Search and analyze product categories:
const categories = ['skincare', 'fashion', 'electronics', 'home decor'];
for (const category of categories) {
const res = await fetch(`https://api.sociavault.com/v1/scrape/tiktok-shop/search?query=${encodeURIComponent(category)}&page=1`, {
headers: { 'x-api-key': 'YOUR_API_KEY' }
});
const { products } = await res.json();
const items = Object.values(products);
console.log(`${category}:`);
console.log(` Avg price: $${(items.reduce((s, p) => s + parseFloat(p.product_price_info.sale_price_decimal), 0) / items.length).toFixed(2)}`);
console.log(` Total results: ${items.length}`);
console.log(` Top seller: ${items.sort((a, b) => b.sold_info.sold_count - a.sold_info.sold_count)[0]?.title}`);
}
Related Endpoints
- TikTok Profile Scraper - Creator profiles
- TikTok Videos Scraper - Product promotion videos
- TikTok Search - Find shopping content
- TikTok Trending - Trending products
Frequently Asked Questions
Can I scrape any TikTok Shop?
Yes, the API works with any public TikTok Shop seller in supported regions.
Do I get historical pricing data?
The API returns current prices. For historical tracking, store price data periodically in your own database.
Can I get product reviews?
Yes! The Product Details endpoint includes product_detail_review with ratings and individual review items. There is also a dedicated Product Reviews endpoint at /v1/scrape/tiktok-shop/product-reviews.
Is TikTok Shop available globally?
TikTok Shop is available in select countries (US, UK, Southeast Asia). Product availability varies by region.
How often should I refresh product data?
For price monitoring, daily checks are usually sufficient. For fast-moving inventory, consider more frequent updates.
Get Started
Create your free account and start extracting TikTok Shop data.
API documentation: /docs/api-reference/tiktok-shop/products
Found this helpful?
Share it with others who might benefit
Ready to Try SociaVault?
Start extracting social media data with our powerful API. No credit card required.