curl --request POST \
--url https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies \
--header 'Content-Type: application/json' \
--data '
{
"url": "7612965843596479751",
"comment_id": "7612966844110914334"
}
'import requests
url = "https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies"
payload = {
"url": "7612965843596479751",
"comment_id": "7612966844110914334"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({url: '7612965843596479751', comment_id: '7612966844110914334'})
};
fetch('https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies', 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://app.sideshift.app/api/v1/scrape/tiktok/comment-replies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '7612965843596479751',
'comment_id' => '7612966844110914334'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies"
payload := strings.NewReader("{\n \"url\": \"7612965843596479751\",\n \"comment_id\": \"7612966844110914334\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"7612965843596479751\",\n \"comment_id\": \"7612966844110914334\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"7612965843596479751\",\n \"comment_id\": \"7612966844110914334\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"aweme_id": "7612965843596479751",
"comment_id": "7612966844110914334",
"has_more": false,
"status_code": 0,
"total": 4,
"comments": [
{
"aweme_id": "7612965843596479751",
"text": "Thx𓀠𓀠",
"create_time": 1772532161,
"user": {
"nickname": "ちい/Chii",
"unique_id": "artchiist",
"region": "JP",
"sec_uid": "MS4wLjABAAAANiBD2T6ao7u2cE5Xj1zRRiVjShx-oKRUIDUFgHqmbyUkUOH-bk4iehKJ7eOsUkrJ",
"signature": "⸝⋆꙳⟡.· ⋆ 𖦹ܾ 𖥧🪵🌿\n\n🗺ɪɴꜱᴛᴀɢʀᴀᴍ : @ artchiist\n\nꜱᴜʙ:@たいやきくん(ちい) 🚹: @壱",
"uid": "7093407411964986370",
"aweme_count": 0,
"favoriting_count": 0,
"follower_count": 0,
"following_count": 0,
"secret": false,
"total_favorited": 0,
"verified": false,
"avatar_larger": {
"uri": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/05fb1570b7fe0e2957d819ea183b2aa7~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/05fb1570b7fe0e2957d819ea183b2aa7~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg"
]
}
},
"cid": "7612967610280805138",
"digg_count": 38,
"status": 1
}
],
"status_msg": "",
"cursor": null,
"extra": null,
"log_pb": null
},
"request_id": "req_8f3c9a2b1d4e6f70",
"upstream_calls": 1,
"meta": {
"credits_charged": 1,
"credits_remaining": 9998
}
}{
"error": "INVALID_INPUT",
"message": "Invalid request body.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UNAUTHORIZED",
"message": "Invalid scraper API key.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INSUFFICIENT_SCRAPER_CREDITS",
"message": "Insufficient scraper credits.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "RESOURCE_NOT_FOUND",
"message": "Requested resource not found or unavailable.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "PAYLOAD_TOO_LARGE",
"message": "Request body must be 32KB or smaller.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "SCRAPER_RATE_LIMITED",
"message": "Scraper API rate limit exceeded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INTERNAL_ERROR",
"message": "Request failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_ERROR",
"message": "Data source failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_TIMEOUT",
"message": "Data source timed out. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}The reply thread under one comment. Platform field names are preserved inside data. Standard billing: 1 SideShift credit per completed lookup; the Scraper dashboard shows the exact rate for an account with negotiated pricing.
curl --request POST \
--url https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies \
--header 'Content-Type: application/json' \
--data '
{
"url": "7612965843596479751",
"comment_id": "7612966844110914334"
}
'import requests
url = "https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies"
payload = {
"url": "7612965843596479751",
"comment_id": "7612966844110914334"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({url: '7612965843596479751', comment_id: '7612966844110914334'})
};
fetch('https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies', 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://app.sideshift.app/api/v1/scrape/tiktok/comment-replies",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '7612965843596479751',
'comment_id' => '7612966844110914334'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies"
payload := strings.NewReader("{\n \"url\": \"7612965843596479751\",\n \"comment_id\": \"7612966844110914334\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"7612965843596479751\",\n \"comment_id\": \"7612966844110914334\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.sideshift.app/api/v1/scrape/tiktok/comment-replies")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"7612965843596479751\",\n \"comment_id\": \"7612966844110914334\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"aweme_id": "7612965843596479751",
"comment_id": "7612966844110914334",
"has_more": false,
"status_code": 0,
"total": 4,
"comments": [
{
"aweme_id": "7612965843596479751",
"text": "Thx𓀠𓀠",
"create_time": 1772532161,
"user": {
"nickname": "ちい/Chii",
"unique_id": "artchiist",
"region": "JP",
"sec_uid": "MS4wLjABAAAANiBD2T6ao7u2cE5Xj1zRRiVjShx-oKRUIDUFgHqmbyUkUOH-bk4iehKJ7eOsUkrJ",
"signature": "⸝⋆꙳⟡.· ⋆ 𖦹ܾ 𖥧🪵🌿\n\n🗺ɪɴꜱᴛᴀɢʀᴀᴍ : @ artchiist\n\nꜱᴜʙ:@たいやきくん(ちい) 🚹: @壱",
"uid": "7093407411964986370",
"aweme_count": 0,
"favoriting_count": 0,
"follower_count": 0,
"following_count": 0,
"secret": false,
"total_favorited": 0,
"verified": false,
"avatar_larger": {
"uri": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/05fb1570b7fe0e2957d819ea183b2aa7~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg",
"url_list": [
"https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/05fb1570b7fe0e2957d819ea183b2aa7~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg"
]
}
},
"cid": "7612967610280805138",
"digg_count": 38,
"status": 1
}
],
"status_msg": "",
"cursor": null,
"extra": null,
"log_pb": null
},
"request_id": "req_8f3c9a2b1d4e6f70",
"upstream_calls": 1,
"meta": {
"credits_charged": 1,
"credits_remaining": 9998
}
}{
"error": "INVALID_INPUT",
"message": "Invalid request body.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UNAUTHORIZED",
"message": "Invalid scraper API key.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INSUFFICIENT_SCRAPER_CREDITS",
"message": "Insufficient scraper credits.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "RESOURCE_NOT_FOUND",
"message": "Requested resource not found or unavailable.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "PAYLOAD_TOO_LARGE",
"message": "Request body must be 32KB or smaller.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "SCRAPER_RATE_LIMITED",
"message": "Scraper API rate limit exceeded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "INTERNAL_ERROR",
"message": "Request failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_ERROR",
"message": "Data source failed. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}{
"error": "UPSTREAM_TIMEOUT",
"message": "Data source timed out. Your credits were refunded.",
"request_id": "req_8f3c9a2b1d4e6f70"
}Body
- Option 1
- Option 2
Video id or full video/photo URL. Accepted names: url or video_id. Send only one.
Comment id.
Video id or full video/photo URL. Accepted names: url or video_id. Send only one.
Opaque pagination token.
32768Response
Completed lookup. Standard cost: 1 SideShift credit; account-specific pricing, when present, is shown in the Scraper dashboard and returned in the billing headers.
TikTok platform data payload. Field names and nesting are preserved.
Show child attributes
Show child attributes
SideShift request id. Include it in support requests.
Number of data-source lookups performed.
1 Per-request credit accounting (also surfaced in the X-Scraper-Credits-* response headers).
Show child attributes
Show child attributes