Docs
Log in
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' -G
from 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/7495198098029185725

Response shape

JSON response body. Field types may be null when the source page omits the value.

shop_id
string
Shop identifier.
shop_name
string
Display name of the shop.
logo_url
string
Shop logo URL.
rating
number
Average shop rating.
reviews_count
integer
Total reviews across the shop.
follower_count
integer
Number of shop followers.
products_count
integer
Total products listed.
products
array
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
}