Short answer: send a username to /tiktok/profile and you get the public profile as JSON — display name, bio, follower, following, like and video counts, verified flag, account creation date and avatar.
TikTok's official APIs need an approved app and, for most data, the account owner's consent. Public profile figures are on the profile page for anyone to see; this endpoint returns them in a fixed shape.
The request
curl -X POST 'https://api.serpbase.dev/tiktok/profile' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"username":"nba"}'
Send the handle without the @.
What comes back
We ran this on 26 November 2026 on three accounts:
username | followers_count | likes_count | videos_count | Time |
|---|---|---|---|---|
nba | 27,530,526 | 1,218,540,111 | 26,060 | about 4 s |
khaby.lame | 162,899,145 | 2,697,415,458 | 1,361 | about 2 s |
tiktok | 97,153,407 | 470,208,587 | 1,522 | about 13 s |
The fields in profile:
| Field | What it holds |
|---|---|
username, name, id | Handle, display name, numeric account ID |
bio | Profile text |
followers_count, following_count, friends_count | Audience figures |
likes_count | Total likes across the account's videos |
videos_count | Number of public videos |
verified, private_account | Booleans |
joined | When the account was created, e.g. 2016-08-30T08:01:48Z |
image_url | Avatar |
url | The profile address |
Python: a daily follower log
import csv, datetime, time, requests
ACCOUNTS = ["nba", "khaby.lame"]
today = datetime.date.today().isoformat()
with open("tiktok_followers.csv", "a", newline="") as f:
w = csv.writer(f)
for user in ACCOUNTS:
r = requests.post(
"https://api.serpbase.dev/tiktok/profile",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"username": user},
timeout=60,
).json()
if r["status"] != 0:
print(user, "failed:", r.get("error")) # not charged; try again later
continue
p = r["profile"]
w.writerow([today, user, int(p["followers_count"]),
int(p["likes_count"]), int(p["videos_count"])])
time.sleep(1)
TikTok does not publish follower history, so the only way to have a growth curve is to record the number yourself, starting today.
Things that trip people up
- Counts are exact, and they are strings. You get
"27530526", not "27.5M". Convert withint(). - Retry on failure. Our first request for
tiktokcame back with a non-zerostatusand no charge; the same request later succeeded. Build one retry into your job. - It is the profile, not the video list. The response has totals but not the account's videos. Use TikTok search for videos on a topic.
- Check
private_account. All three accounts we tested were public (false); we did not test a private one. - No history. Each call is today's snapshot.
Related endpoints
TikTok search returns videos for a keyword with views, likes and shares. For video search on another platform see YouTube search.
Cost and limits
Each request costs 2 credits; failed requests are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.
- Parameters and the full response: TikTok profile docs
- Try it in the browser: TikTok profile
- Credit packs: pricing