To scrape TikTok Shop, search products with /v1/shop/search, open each product_id with /v1/shop/product-page for SKUs, prices, vouchers, shipping and the rating, page reviews with /v1/shop/reviews, and store a snapshot per product per day so you can see prices, ratings and review counts move. You do not need a seller account, a browser or proxies.
Why TikTok Shop is hard to scrape
TikTok Shop lives mostly inside the mobile app. The product pages are server-driven UI (the app downloads a layout tree, not HTML), requests are signed with mobile headers like X-Argus and X-Ladon, and prices, vouchers and stock depend on the storefront you are served. Browser scrapers see a thin web version, or nothing, and get blocked quickly.
An API that calls the app’s own Shop endpoints avoids all of that. You send a product ID or keyword and get the same data a shopper sees, as JSON.
What data you can get
| Data | Endpoint | Cost per call |
|---|---|---|
| Products for a keyword | /v1/shop/search | 3 reqs |
| Full product page: SKUs, prices, vouchers, shipping, rating | /v1/shop/product-page | 6 reqs |
| Buyer reviews for a product | /v1/shop/reviews | 3 reqs |
| A seller’s catalog and reviews | /v1/shop/seller, /v1/shop/seller/reviews | 3 reqs |
| Products a creator sells | /v1/shop/showcase | 6 reqs |
| Products in a LIVE shopping bag | /v1/live/bag-items | 2 reqs |
| Products matching a photo | /v1/vision/ecom-search | 10 reqs |
Step 1: Search products by keyword
Get an API key and set it as TIKULTRA_API_KEY. Shop search runs on Starter and up; product pages, sellers and reviews on Growth and up (the free plan’s 500 requests cover public video and profile data). Search returns product cards with a product_id and seller_id, plus cursor and has_more for the next page.
import os, requests
API = "https://api.tikultra.com"
HEADERS = {"x-api-key": os.environ["TIKULTRA_API_KEY"]}
def get(path, **params):
r = requests.get(API + path, headers=HEADERS, params=params, timeout=60)
r.raise_for_status()
return r.json()
def shop_search(keyword, max_pages=5):
cursor = None
for _ in range(max_pages):
params = {"keyword": keyword}
if cursor:
params["cursor"] = cursor
page = get("/v1/shop/search", **params)
for p in page["products"]:
yield p["product_id"], p["seller_id"]
if not page.get("has_more"):
break
cursor = page["cursor"]
for product_id, seller_id in shop_search("mechanical keyboard"):
print(product_id, seller_id)Step 2: Read the full product page
The product page is the richest call: it returns the SKUs with prices, discounts and vouchers, the delivery promise, the seller, and a reviews block with product_rating and review_count. Pass product_id, or the Shop link as url.
pdp = get("/v1/shop/product-page", product_id="1729441872198734410")
reviews = pdp["data"]["reviews"]
print(reviews["product_rating"], reviews["review_count"]) # 4.7 2400Step 3: Export reviews
Reviews page like every other list. Each review has its text in review.display_text, a like count, images and whether it was left anonymously, which is enough for sentiment analysis or to find the most common complaints.
def reviews(product_id):
cursor = None
while True:
page = get("/v1/shop/reviews", product_id=product_id, **({"cursor": cursor} if cursor else {}))
for r in page["reviews"]:
yield r["review"]["display_text"]
if not page.get("has_more"):
break
cursor = page["cursor"]Step 4: Track products every day
Single snapshots tell you little. The signal is in the change: a review count that jumps, a price that drops, a voucher that appears. Store one row per product per day and diff.
import json, sqlite3, datetime
db = sqlite3.connect("shop.db")
db.execute("create table if not exists snap (day text, product_id text, rating real, reviews int, raw text, primary key (day, product_id))")
today = datetime.date.today().isoformat()
for pid in ["1729441872198734410"]:
pdp = get("/v1/shop/product-page", product_id=pid)
r = pdp["data"]["reviews"]
db.execute("insert or replace into snap values (?,?,?,?,?)", (today, pid, r["product_rating"], r["review_count"], json.dumps(pdp)))
db.commit()Run it once a day from cron, or put the product IDs in one batch job (up to 500 calls) and get a webhook when it is done. Tracking 400 products a day is 2,400 requests a day, about $2.18 a day on Growth. Failed calls are not billed.
Is it legal to scrape TikTok Shop?
Product listings, prices and public reviews are published to every shopper, and collecting public commercial data is common practice for price monitoring and market research. Rules differ by country, and reviews can contain personal data, so store only what you need and check the law where you operate.