100 free credits. No credit card required. Get a key

TikTok user search API

TikTok accounts for a name, an artist, brand or creator, each with its profile and stats. Exact names and verified accounts first.

GET /v1/tiktok/search/users1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/tiktok/search/users?q=Jorge+e+Mateus",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit

No bundled sample for this call. The response is a TikTokUserListResponse; its fields are listed below.

Parameters

NameTypeDescription
qquery · requiredstringName or handle to look up. Example: Jorge e Mateus.
cursorquerystringThe previous page’s cursor, for the next page. Omit for the first.
Response fields

200 with a TikTokUserListResponse, in TikTok’s own web JSON (itemStruct, userInfo, comments).

FieldTypeDescription
userListobject[]
cursorstringPass as cursor for the next page (TikTok’s minCursor).
hasMoreboolean
totalnumber
Status codes
StatusMeaning
200Matching accounts (userList), best match first.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account, video, comment, hashtag or sound does not exist on TikTok, or was removed.
429Too many requests. Wait for Retry-After seconds.
503TikTok is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Where do the accounts come from?

From the accounts TikTok’s search box suggests to a logged-out visitor, each read from its profile page. TikTok’s full account search tab needs a login, so it is not offered.

What if nobody matches?

You get an empty userList and are not charged.

TikTok is a trademark of ByteDance Ltd. We are not affiliated with or endorsed by TikTok or ByteDance.