Shop Bestsellers
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/shop/bestsellers \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/shop/bestsellers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://scrapebadger.com/v1/tiktok/shop/bestsellers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/tiktok/shop/bestsellers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/tiktok/shop/bestsellers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/tiktok/shop/bestsellers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/shop/bestsellers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"region": "<string>",
"products": [
{
"product_id": "<string>",
"url": "<string>",
"title": "<string>",
"image": "<string>",
"price": {
"amount": 123,
"original": 123,
"discount": "<string>",
"currency": "<string>",
"symbol": "<string>"
},
"rating": 123,
"review_count": 123,
"sold_count": 123,
"seller": {
"id": "<string>",
"name": "<string>",
"logo": "<string>"
},
"brand": "<string>",
"labels": [
"<string>"
],
"video": {
"id": "<string>",
"title": "<string>",
"author_name": "<string>",
"play_count": 123,
"like_count": 123,
"cover_url": "<string>",
"video_url": "<string>"
},
"rank": 123
}
],
"source": "sales_ranked",
"category_ids": [
"<string>"
]
}Shop
Shop Bestsellers
Sales-ranked best-selling TikTok Shop products for every operating market, ordered by real sold_count.
GET
/
v1
/
tiktok
/
shop
/
bestsellers
Shop Bestsellers
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/shop/bestsellers \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/shop/bestsellers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://scrapebadger.com/v1/tiktok/shop/bestsellers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/tiktok/shop/bestsellers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/tiktok/shop/bestsellers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/tiktok/shop/bestsellers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/shop/bestsellers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"region": "<string>",
"products": [
{
"product_id": "<string>",
"url": "<string>",
"title": "<string>",
"image": "<string>",
"price": {
"amount": 123,
"original": 123,
"discount": "<string>",
"currency": "<string>",
"symbol": "<string>"
},
"rating": 123,
"review_count": 123,
"sold_count": 123,
"seller": {
"id": "<string>",
"name": "<string>",
"logo": "<string>"
},
"brand": "<string>",
"labels": [
"<string>"
],
"video": {
"id": "<string>",
"title": "<string>",
"author_name": "<string>",
"play_count": 123,
"like_count": 123,
"cover_url": "<string>",
"video_url": "<string>"
},
"rank": 123
}
],
"source": "sales_ranked",
"category_ids": [
"<string>"
]
}Ranked by each product’s real
sold_count (source: "sales_ranked"). Omit category_id
for a market-wide list, or pass one to rank within a category. pages (1-4) controls how many
category pages are aggregated before ranking; limit (1-100) caps the returned list.Markets — available for every operating market:
US, GB, ID (Tokopedia), and the
Southeast Asian markets SG, MY, PH, TH, VN plus JP, each in its local currency.
This is the recommended trending/best-seller endpoint for markets where TikTok exposes no
curated ranking page. region=TW returns HTTP 200 with availability: "not_operated" and an
empty list — TikTok operates no Shop marketplace in Taiwan.Each request costs 5 credits. Failed requests are not charged.
Authorizations
Query Parameters
Market: US, GB, ID, SG, MY, PH, TH, VN, JP.
Optional category to rank within; omit for a market-wide list.
Pattern:
^[1-9][0-9]{0,18}$Category pages to aggregate (1-4).
Required range:
1 <= x <= 4Max products to return (1-100).
Required range:
1 <= x <= 100
