TikTok Shop
Extract a TikTok Shop storefront — store metadata, products, ratings, and follower counts.
Use the JS token
TikTok scrapers work best with your JavaScript token.
API usage
Add &scraper=tiktok-shop to a Crawling API request. URL-encode the target URL in the url parameter.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.tiktok.com/shop/store/medcursor/7495198098029185725' \
--data-urlencode 'scraper=tiktok-shop' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.tiktok.com/shop/store/medcursor/7495198098029185725',
{'scraper': 'tiktok-shop'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.tiktok.com/shop/store/medcursor/7495198098029185725',
{ scraper: 'tiktok-shop' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.tiktok.com/shop/store/medcursor/7495198098029185725', scraper: 'tiktok-shop')
data = JSON.parse(res.body)Example input URL
The URL passed in the url parameter (URL-decoded for readability):
https://www.tiktok.com/shop/store/medcursor/7495198098029185725Response shape
JSON response body. Field types may be null when the source page omits the value.
Shop identifier.
Display name of the shop.
Shop logo URL.
Average shop rating.
Total reviews across the shop.
Number of shop followers.
Total products listed.
Sample products on the landing page.
Sample response
{
"shop_id": "7495198098029185725",
"shop_name": "Medcursor",
"rating": 4.6,
"reviews_count": 8420,
"follower_count": 125000,
"products_count": 342
}
