Skip to content

Search Users

GET /v1/tiktok/search/users

Searches for TikTok users by keyword or name , useful for finding creators or accounts matching a query. Returns users, an array of objects each containing user_info (nickname, unique_id, signature/bio, follower_count, following_count, avatar) and associated items. Paginate with cursor from the previous response.

Authentication

All requests require the x-api-key header. Get your key at scrapecreators.com.

Query Parameters

NameTypeRequiredDescriptionExample
querystringyesSearch query for users
cursornumbernoCursor to get more users. Get 'cursor' from previous response.10
trimbooleannoSet to true to get a trimmed response

Example Request

curl

bash
curl 'https://api.scrapecreators.com/v1/tiktok/search/users?query=<query>' \
  -H 'x-api-key: $SCRAPECREATORS_API_KEY'

Node / TypeScript

js
const params = new URLSearchParams({ query: '...' });
const res = await fetch(`https://api.scrapecreators.com/v1/tiktok/search/users?${params}`, {
  headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);

Python

python
import os, requests
r = requests.get(
    'https://api.scrapecreators.com/v1/tiktok/search/users',
    headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
    params={'query': '...'},
)
r.raise_for_status()
print(r.json())

CLI

bash
scrapecreators tiktok search-users --help

Example Response

json
{
  "users": [
    {
      "follower_count": 163953,
      "following_count": 63,
      "nickname": "ADRIAN",
      "sec_uid": "MS4wLjABAAAAcT5kdL_w3D2p3a3DkULhrVE6Ir17Ua1M9GZK4cnvnKxbJg3qy0xDdbaFeY260Qzz",
      "uid": "6757029651601835013",
      "unique_id": "adrianzyno",
      "avatar_medium": {
        "height": 720,
        "uri": "tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093",
        "url_list": [
          "https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4"
        ],
        "url_prefix": null,
        "width": 720
      }
    }
  ],
  "cursor": 30
}

Credits

Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.

Errors

StatusMeaningAction
200Success.Use the JSON payload.
400Invalid or missing parameter.Verify required parameters and value format.
401Missing or invalid x-api-key.Pass a valid API key in the header.
402Out of credits.Top up at scrapecreators.com or wait for plan reset.
404Resource not found or private.Confirm the handle, URL, or id and that the resource is public.
429Rate limited.Backoff and retry with exponential delay.
500Server error or upstream platform failure.Retry with backoff; report persistent errors to support.