Docs
Log in
Use the JS token

TikTok scrapers work best with your JavaScript token.

API usage

Add &scraper=tiktok-product 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/view/product/1729493620818874839' \
  --data-urlencode 'scraper=tiktok-product' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.tiktok.com/view/product/1729493620818874839',
    {'scraper': 'tiktok-product'}
)

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/view/product/1729493620818874839',
  { scraper: 'tiktok-product' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.tiktok.com/view/product/1729493620818874839', scraper: 'tiktok-product')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://www.tiktok.com/view/product/1729493620818874839

Response shape

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

product_id
string
Product identifier from the URL.
title
string
Product title.
price
string
Current selling price.
original_price
string | null
Pre-discount price when on sale.
discount_percentage
string | null
Discount as percentage string e.g. "20%".
rating
number
Average product rating.
reviews_count
integer
Total number of reviews.
sold_count
string
Total units sold (formatted as "10K+", "1.2M+").
description
string
Product description.
images
array
Array of product image URLs.
variants
array
Array of variant objects (color, size, etc).
seller
object
Seller metadata: name, rating, follower_count.
related_videos
array
TikTok videos featuring this product.

Sample response

{
  "product_id": "1729493620818874839",
  "title": "Wireless Bluetooth Earbuds Pro",
  "price": "$24.99",
  "original_price": "$49.99",
  "discount_percentage": "50%",
  "rating": 4.7,
  "reviews_count": 12453,
  "sold_count": "50K+",
  "seller": {
    "name": "AudioPro Store",
    "rating": 4.8,
    "follower_count": 28000
  }
}