curl --request GET \
--url https://api.scraperize.com/v1/tiktok/user/followers \
--header 'x-api-key: <api-key>'import requests
url = "https://api.scraperize.com/v1/tiktok/user/followers"
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://api.scraperize.com/v1/tiktok/user/followers', 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://api.scraperize.com/v1/tiktok/user/followers",
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://api.scraperize.com/v1/tiktok/user/followers"
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://api.scraperize.com/v1/tiktok/user/followers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scraperize.com/v1/tiktok/user/followers")
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{
"data": {
"profile": {
"id": "6780344874811442181",
"secUid": "MS4wLjABAAAAEf96k3JW8-3eOhgzgQswlFF6ZDnn1dzqWWorJjwDsiNZymqTtvOcFhp_RiYYST6s",
"handle": "natgeo",
"nickname": "National Geographic",
"url": "https://www.tiktok.com/@natgeo",
"followerCount": 9641543
},
"followers": [
{
"id": "6803024404806812678",
"secUid": "MS4wLjABAAAAQYqTYb8zTACz7lwdcP53WyjOQpH512lEaFq3OS7nnyMID_ZP3KaVTDxgaVYjg15v",
"handle": "mspangles",
"nickname": "Megan Leger",
"bio": null,
"url": "https://www.tiktok.com/@mspangles",
"avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=8467d8d7&x-expires=1791381600&x-signature=KF%2BYF6zhxej%2BosrZpg422ux7Sfo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"avatars": {
"large": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=8467d8d7&x-expires=1791381600&x-signature=KF%2BYF6zhxej%2BosrZpg422ux7Sfo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"medium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=8ca0ff48&x-expires=1791381600&x-signature=6kcnV5%2BBzBFtA7hBzjki9osJrWA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=5ec9327d&x-expires=1791381600&x-signature=8ro2uZIC8Dv0eHNiNJgLG%2FkIfu0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2"
},
"verified": false,
"privateAccount": false,
"secret": false,
"ttSeller": false,
"openFavorite": false,
"downloadSetting": 0,
"ftc": false,
"isADVirtual": false,
"stats": {
"followerCount": 306,
"followingCount": 7064,
"likeCount": 0,
"videoCount": 0,
"friendCount": 0,
"diggCount": 198604
}
},
{
"id": "297838177673830400",
"secUid": "MS4wLjABAAAAdjgZBwHQZkmHDBVc1CDrEELGunby6tZ2F4MaeO00OJRlHGRQ2ZCF9OgKlMl4fwPM",
"handle": "curiosidadesconmike",
"nickname": "Curiosidades con Mike",
"bio": "Cuenta oficial del canal de YouTube\nCuriosidades con Mike",
"url": "https://www.tiktok.com/@curiosidadesconmike",
"avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=fe3494d3&x-expires=1791381600&x-signature=5%2B23I612E5Uz92DGaKjaiJo2kek%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"avatars": {
"large": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=fe3494d3&x-expires=1791381600&x-signature=5%2B23I612E5Uz92DGaKjaiJo2kek%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"medium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=6532d9a1&x-expires=1791381600&x-signature=C4woIBZdzto%2FXZn5LspVZgTetWg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=78ee70a7&x-expires=1791381600&x-signature=kbDcAHg7%2FP8sMMqlML3fAyZbJKk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2"
},
"verified": false,
"privateAccount": false,
"secret": false,
"ttSeller": false,
"openFavorite": false,
"downloadSetting": 3,
"ftc": false,
"isADVirtual": false,
"stats": {
"followerCount": 34474,
"followingCount": 3,
"likeCount": 44114,
"videoCount": 85,
"friendCount": 0,
"diggCount": 4
}
},
{
"id": "6916774838086534150",
"secUid": "MS4wLjABAAAA6HrY-ttntV-P8uKOdIM1afoK04IiQC2SEJpxo3K0XTWNTmfhVesyU92DCcrqcMBY",
"handle": "jaybirdm75",
"nickname": "Jay❌️",
"bio": "I'm me \nvibing in Central Illinois\n😎😎😎",
"url": "https://www.tiktok.com/@jaybirdm75",
"avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=777c6087&x-expires=1791381600&x-signature=Nlj2ZUKmppiw0h1ZGlwv35rV49Y%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"avatars": {
"large": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=777c6087&x-expires=1791381600&x-signature=Nlj2ZUKmppiw0h1ZGlwv35rV49Y%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"medium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=4df87c2c&x-expires=1791381600&x-signature=WfOYut3IdWLS5tDiD%2BHdcXY%2Bo%2Fo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3f401016&x-expires=1791381600&x-signature=fcqSDFb%2Fk2eVQVpVZN5XElqehSE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2"
},
"verified": false,
"privateAccount": false,
"secret": false,
"ttSeller": false,
"openFavorite": false,
"downloadSetting": 0,
"ftc": false,
"isADVirtual": false,
"stats": {
"followerCount": 1563,
"followingCount": 6956,
"likeCount": 2250,
"videoCount": 252,
"friendCount": 0,
"diggCount": 64167
}
}
],
"count": 30,
"total": 9641543,
"cursor": "1791210555",
"hasMore": true,
"fetchedAt": "2026-10-05T14:45:13.108Z"
},
"meta": {
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"creditsCharged": 1,
"creditsRemaining": 4999,
"cached": false
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "The request was invalid.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "API key required — pass it in the `x-api-key` header.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "This request costs 1 credit, but your balance is 0. Top up to continue.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The requested content was not found (it may not exist, be deleted, or be private).",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"details": [
{
"path": "url",
"message": "Required"
}
]
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "UPSTREAM_BLOCKED",
"message": "The source is temporarily unavailable. Please try again shortly.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}Followers
Scrapes the followers of a public TikTok account by username (handle) or numeric user id (userId) — pass exactly one — 30 per page, newest followers first. Each follower comes with their user id and secUid, username, nickname, bio, profile link, avatars (three sizes), verified / private / TikTok Shop seller flags, whether their liked videos are public, and exact stats (followers, following, likes, videos, friends, videos liked). Pass the returned cursor (with the same handle / userId) to get the next page; it is null on the last page. Private accounts don’t expose their followers (404).
curl --request GET \
--url https://api.scraperize.com/v1/tiktok/user/followers \
--header 'x-api-key: <api-key>'import requests
url = "https://api.scraperize.com/v1/tiktok/user/followers"
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://api.scraperize.com/v1/tiktok/user/followers', 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://api.scraperize.com/v1/tiktok/user/followers",
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://api.scraperize.com/v1/tiktok/user/followers"
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://api.scraperize.com/v1/tiktok/user/followers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scraperize.com/v1/tiktok/user/followers")
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{
"data": {
"profile": {
"id": "6780344874811442181",
"secUid": "MS4wLjABAAAAEf96k3JW8-3eOhgzgQswlFF6ZDnn1dzqWWorJjwDsiNZymqTtvOcFhp_RiYYST6s",
"handle": "natgeo",
"nickname": "National Geographic",
"url": "https://www.tiktok.com/@natgeo",
"followerCount": 9641543
},
"followers": [
{
"id": "6803024404806812678",
"secUid": "MS4wLjABAAAAQYqTYb8zTACz7lwdcP53WyjOQpH512lEaFq3OS7nnyMID_ZP3KaVTDxgaVYjg15v",
"handle": "mspangles",
"nickname": "Megan Leger",
"bio": null,
"url": "https://www.tiktok.com/@mspangles",
"avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=8467d8d7&x-expires=1791381600&x-signature=KF%2BYF6zhxej%2BosrZpg422ux7Sfo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"avatars": {
"large": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=8467d8d7&x-expires=1791381600&x-signature=KF%2BYF6zhxej%2BosrZpg422ux7Sfo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"medium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=8ca0ff48&x-expires=1791381600&x-signature=6kcnV5%2BBzBFtA7hBzjki9osJrWA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=5ec9327d&x-expires=1791381600&x-signature=8ro2uZIC8Dv0eHNiNJgLG%2FkIfu0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2"
},
"verified": false,
"privateAccount": false,
"secret": false,
"ttSeller": false,
"openFavorite": false,
"downloadSetting": 0,
"ftc": false,
"isADVirtual": false,
"stats": {
"followerCount": 306,
"followingCount": 7064,
"likeCount": 0,
"videoCount": 0,
"friendCount": 0,
"diggCount": 198604
}
},
{
"id": "297838177673830400",
"secUid": "MS4wLjABAAAAdjgZBwHQZkmHDBVc1CDrEELGunby6tZ2F4MaeO00OJRlHGRQ2ZCF9OgKlMl4fwPM",
"handle": "curiosidadesconmike",
"nickname": "Curiosidades con Mike",
"bio": "Cuenta oficial del canal de YouTube\nCuriosidades con Mike",
"url": "https://www.tiktok.com/@curiosidadesconmike",
"avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=fe3494d3&x-expires=1791381600&x-signature=5%2B23I612E5Uz92DGaKjaiJo2kek%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"avatars": {
"large": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=fe3494d3&x-expires=1791381600&x-signature=5%2B23I612E5Uz92DGaKjaiJo2kek%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"medium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=6532d9a1&x-expires=1791381600&x-signature=C4woIBZdzto%2FXZn5LspVZgTetWg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ee91b92223a711f062590e052060552f~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=78ee70a7&x-expires=1791381600&x-signature=kbDcAHg7%2FP8sMMqlML3fAyZbJKk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2"
},
"verified": false,
"privateAccount": false,
"secret": false,
"ttSeller": false,
"openFavorite": false,
"downloadSetting": 3,
"ftc": false,
"isADVirtual": false,
"stats": {
"followerCount": 34474,
"followingCount": 3,
"likeCount": 44114,
"videoCount": 85,
"friendCount": 0,
"diggCount": 4
}
},
{
"id": "6916774838086534150",
"secUid": "MS4wLjABAAAA6HrY-ttntV-P8uKOdIM1afoK04IiQC2SEJpxo3K0XTWNTmfhVesyU92DCcrqcMBY",
"handle": "jaybirdm75",
"nickname": "Jay❌️",
"bio": "I'm me \nvibing in Central Illinois\n😎😎😎",
"url": "https://www.tiktok.com/@jaybirdm75",
"avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=777c6087&x-expires=1791381600&x-signature=Nlj2ZUKmppiw0h1ZGlwv35rV49Y%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"avatars": {
"large": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=777c6087&x-expires=1791381600&x-signature=Nlj2ZUKmppiw0h1ZGlwv35rV49Y%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"medium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=4df87c2c&x-expires=1791381600&x-signature=WfOYut3IdWLS5tDiD%2BHdcXY%2Bo%2Fo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2",
"thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/d206eac5d079c24457c96017d5c6e06a~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=3f401016&x-expires=1791381600&x-signature=fcqSDFb%2Fk2eVQVpVZN5XElqehSE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my2"
},
"verified": false,
"privateAccount": false,
"secret": false,
"ttSeller": false,
"openFavorite": false,
"downloadSetting": 0,
"ftc": false,
"isADVirtual": false,
"stats": {
"followerCount": 1563,
"followingCount": 6956,
"likeCount": 2250,
"videoCount": 252,
"friendCount": 0,
"diggCount": 64167
}
}
],
"count": 30,
"total": 9641543,
"cursor": "1791210555",
"hasMore": true,
"fetchedAt": "2026-10-05T14:45:13.108Z"
},
"meta": {
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"creditsCharged": 1,
"creditsRemaining": 4999,
"cached": false
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "The request was invalid.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "API key required — pass it in the `x-api-key` header.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "This request costs 1 credit, but your balance is 0. Top up to continue.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The requested content was not found (it may not exist, be deleted, or be private).",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"details": [
{
"path": "url",
"message": "Required"
}
]
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded — max 100 requests per 60s. Retry in ~30s.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}{
"error": {
"code": "UPSTREAM_BLOCKED",
"message": "The source is temporarily unavailable. Please try again shortly.",
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f"
}
}cache_max_age) are free.Copy for AI assistant
Copy for AI assistant
I want to make an API call to /v1/tiktok/user/followers. Here are the details:
Endpoint: GET https://api.scraperize.com/v1/tiktok/user/followers
Description: Scrapes the followers of a public TikTok account by username (`handle`) or numeric user id (`userId`) — pass exactly one — 30 per page, newest followers first. Each follower comes with their user id and secUid, username, nickname, bio, profile link, avatars (three sizes), verified / private / TikTok Shop seller flags, whether their liked videos are public, and exact stats (followers, following, likes, videos, friends, videos liked). Pass the returned `cursor` (with the same handle / userId) to get the next page; it is null on the last page. Private accounts don't expose their followers (404).
Required Headers:
- x-api-key: Your API key
Parameters:
- handle (string): The TikTok username (with or without a leading @, or a tiktok.com/@username URL). Provide this or `userId`, not both.
- userId (string): The TikTok account's numeric user id. Provide this or `handle`, not both.
- cursor (string): The `cursor` from the previous response, to get the next page. Omit for the first page.
- cache_max_age (select): Optional. Return a cached result if one this age or newer exists — served for **0 credits** with `meta.cached=true` and `meta.cachedAt`. Otherwise a fresh scrape runs (**1 credit**) and refreshes the cache. Omit to always scrape fresh.
Example Response:
{
"data": {
"profile": {
"id": "6780344874811442181",
"secUid": "MS4wLjABAAAAEf96k3JW8-3eOhgzgQswlFF6ZDnn1dzqWWorJjwDsiNZymqTtvOcFhp_RiYYST6s",
"handle": "natgeo",
"nickname": "National Geographic",
"url": "https://www.tiktok.com/@natgeo",
"followerCount": 9641543
},
"followers": [
{
"id": "6803024404806812678",
"secUid": "MS4wLjABAAAAQYqTYb8zTACz7lwdcP53WyjOQpH512lEaFq3OS7nnyMID_ZP3KaVTDxgaVYjg15v",
"handle": "mspangles",
"nickname": "Megan Leger",
"bio": null,
"url": "https://www.tiktok.com/@mspangles",
"avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=8467d8d7&x-expires=1…",
"avatars": {
"large": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=8467d8d7&x-expires=1…",
"medium": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=8ca0ff48&x-expires=179…",
"thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7329673602457042949~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=5ec9327d&x-expires=179…"
},
"verified": false,
"privateAccount": false,
"secret": false,
"ttSeller": false,
"openFavorite": false,
"downloadSetting": 0,
"ftc": false,
"isADVirtual": false,
"stats": {
"followerCount": 306,
"followingCount": 7064,
"likeCount": 0,
"videoCount": 0,
"friendCount": 0,
"diggCount": 198604
}
}
],
"count": 30,
"total": 9641543,
"cursor": "1791210555",
"hasMore": true,
"fetchedAt": "2026-10-05T14:45:13.108Z"
},
"meta": {
"requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
"creditsCharged": 1,
"creditsRemaining": 4999,
"cached": false
}
}
Please help me write code in my preferred programming language to make this API call and handle the response appropriately. Include error handling and best practices.
Authorizations
Your API key. Send it in the x-api-key header (or Authorization: Bearer <key>). Create and manage keys from your dashboard.
Query Parameters
The TikTok username (with or without a leading @, or a tiktok.com/@username URL). Provide this or userId, not both.
The TikTok account's numeric user id. Provide this or handle, not both.
^\d{1,20}$The cursor from the previous response, to get the next page. Omit for the first page.
^\d{1,13}$Optional. Return a cached result if one this age or newer exists — served for 0 credits with meta.cached=true and meta.cachedAt. Otherwise a fresh scrape runs (1 credit) and refreshes the cache. Omit to always scrape fresh.
1d, 3d, 7d, 14d, 30d