Shop Search
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/shop/search \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/shop/search"
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/search', 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/search",
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/search"
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/search")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/shop/search")
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{
"products": [
{
"product_id": "1732156048655421577",
"title": "True Wireless OWS Bluetooth In-Ear Portable Earbuds - Electronic Waterproof True Wireless Headphones with HiFi Audio, Call Noise-Canceling Mic, Vibration Motor, for Music, Phone Calls, Ideal Valentine's Gift",
"url": "https://shop.tiktok.com/us/pdp/tws-wireless-earbuds-deep-bass-noise-reduction-sports/1732156048655421577",
"image": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-...",
"price": {
"amount": 15.99,
"original": null,
"discount": null,
"currency": "USD",
"symbol": "$"
},
"rating": 5,
"review_count": 1,
"sold_count": 1,
"seller": {
"id": "7494304794736231561",
"name": "AirMelody local",
"logo": "https://p16-oec-general.ttcdn-us.com/tos-alisg-i-a..."
},
"brand": null,
"labels": [
"Free shipping"
],
"video": null,
"rank": null
}
],
"shops": [],
"related_searches": [],
"related_categories": [],
"pagination": {
"offset": 30,
"count": 10,
"has_more": false,
"next_offset": 0
},
"query": "wireless earbuds",
"region": "US"
}Shop
Shop Search
Paginated keyword search over TikTok Shop products, 30 per page, with the TikTok video each listing is bound to, matching shops and related searches.
GET
/
v1
/
tiktok
/
shop
/
search
Shop Search
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/shop/search \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/shop/search"
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/search', 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/search",
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/search"
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/search")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/shop/search")
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{
"products": [
{
"product_id": "1732156048655421577",
"title": "True Wireless OWS Bluetooth In-Ear Portable Earbuds - Electronic Waterproof True Wireless Headphones with HiFi Audio, Call Noise-Canceling Mic, Vibration Motor, for Music, Phone Calls, Ideal Valentine's Gift",
"url": "https://shop.tiktok.com/us/pdp/tws-wireless-earbuds-deep-bass-noise-reduction-sports/1732156048655421577",
"image": "https://p16-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-...",
"price": {
"amount": 15.99,
"original": null,
"discount": null,
"currency": "USD",
"symbol": "$"
},
"rating": 5,
"review_count": 1,
"sold_count": 1,
"seller": {
"id": "7494304794736231561",
"name": "AirMelody local",
"logo": "https://p16-oec-general.ttcdn-us.com/tos-alisg-i-a..."
},
"brand": null,
"labels": [
"Free shipping"
],
"video": null,
"rank": null
}
],
"shops": [],
"related_searches": [],
"related_categories": [],
"pagination": {
"offset": 30,
"count": 10,
"has_more": false,
"next_offset": 0
},
"query": "wireless earbuds",
"region": "US"
}Pages hold 30 products: pass back
pagination.next_offset as offset until has_more is false. The first page also carries shops, related_searches, related_categories, and each product’s video (play_count, like_count, author_name) and brand. US only.Markets —
region=US (default) serves everything; GB and ID (Tokopedia) serve categories, category products and product detail in GBP/IDR. SG, MY, PH, TH, VN, MX, BR and JP sit behind a puzzle our exits do not clear and return 400.Each request costs 5 credits. Failed requests are not charged.
Authorizations
Query Parameters
Keyword, e.g. wireless earbuds.
Market — US only for this endpoint.
Pass back the previous page's pagination.next_offset.
Required range:
x >= 0Response
Shop Search

