Get User Profile
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/users/{username} \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/users/{username}"
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/users/{username}', 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/users/{username}",
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/users/{username}"
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/users/{username}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/users/{username}")
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{
"user": {
"id": "6784129854561813509",
"sec_uid": "MS4wLjABAAAA...",
"unique_id": "charlidamelio",
"nickname": "charli d'amelio",
"signature": "no bio yet",
"bio_link": null,
"verified": true,
"verify_reason": null,
"private_account": false,
"is_commerce_account": false,
"region": "US",
"language": "en",
"avatar_thumb": "https://p16-sign.tiktokcdn-us.com/avatar.jpeg",
"avatar_larger": "https://p16-sign.tiktokcdn-us.com/avatar_larger.jpeg",
"stats": {
"follower_count": 155600000,
"following_count": 1300,
"heart_count": 11800000000,
"video_count": 2700,
"digg_count": 12000,
"friend_count": 1200
},
"is_live": false,
"create_time_utc": 1531234567,
"create_time_at": "2018-07-10T12:16:07Z",
"profile_url": "https://www.tiktok.com/@charlidamelio"
},
"region": "US"
}Users
Get User Profile
Full TikTok user profile by @handle (stats, verification, links, avatars).
GET
/
v1
/
tiktok
/
users
/
{username}
Get User Profile
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/users/{username} \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/users/{username}"
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/users/{username}', 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/users/{username}",
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/users/{username}"
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/users/{username}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/users/{username}")
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{
"user": {
"id": "6784129854561813509",
"sec_uid": "MS4wLjABAAAA...",
"unique_id": "charlidamelio",
"nickname": "charli d'amelio",
"signature": "no bio yet",
"bio_link": null,
"verified": true,
"verify_reason": null,
"private_account": false,
"is_commerce_account": false,
"region": "US",
"language": "en",
"avatar_thumb": "https://p16-sign.tiktokcdn-us.com/avatar.jpeg",
"avatar_larger": "https://p16-sign.tiktokcdn-us.com/avatar_larger.jpeg",
"stats": {
"follower_count": 155600000,
"following_count": 1300,
"heart_count": 11800000000,
"video_count": 2700,
"digg_count": 12000,
"friend_count": 1200
},
"is_live": false,
"create_time_utc": 1531234567,
"create_time_at": "2018-07-10T12:16:07Z",
"profile_url": "https://www.tiktok.com/@charlidamelio"
},
"region": "US"
}Each profile request costs 5 credits. Failed requests are not charged.
Authorizations
Path Parameters
The user's @handle (unique_id), without the leading '@'.
Query Parameters
Content region (ISO 3166-1 alpha-2). Routes the request through a proxy and signer for that locale.
⌘I

