Skip to main content

What it does

Searches TikTok for user profiles matching a query. Fixed page size of 10 (platform limit). Returns profile details including follower counts and verification status.

Tool details

FieldValue
Tool nametiktok.search_users
PlatformTikTok
REST endpointGET /v1/tiktok/search/users
Result typeCollection tool

Parameters

ParameterSourceTypeRequiredDescription
queryquerystringYesSearch query
countqueryintegerNoPage size (fixed at 10 by the platform) Default: 10.
cursorquerystringNoPagination cursor Default: 0.
projection_presetsharedstringNoOptional. Defaults to minimal. Allowed values: full, minimal, identity, engagement, content.
data_fieldssharedstring[]NoOptional. Adds top-level keys from data on top of the selected projection_preset.
item_fieldssharedstring[]NoOptional. Adds keys from data.orderedItems[] on top of the selected projection_preset.

Example

{
  "name": "tiktok.search_users",
  "arguments": {
    "query": "cooking",
    "count": 10,
    "projection_preset": "minimal",
    "data_fields": [
      "orderedItems",
      "nextCursor",
      "cursor",
      "itemCount"
    ],
    "item_fields": [
      "entityId",
      "name",
      "preferredUsername",
      "published",
      "summary"
    ]
  }
}

Available data fields

[
  "@context",
  "type",
  "partOf",
  "totalItems",
  "cursor",
  "nextCursor",
  "next",
  "itemCount",
  "orderedItems"
]

Available item fields

[
  "type",
  "id",
  "url",
  "entityId",
  "name",
  "preferredUsername",
  "summary",
  "attachment",
  "published",
  "isPrivate",
  "isVerified",
  "isLive",
  "hasLikes",
  "hasPlaylists",
  "followerCount",
  "followingCount",
  "language",
  "likeCount",
  "likedCount",
  "mediaCount",
  "icon",
  "image"
]

Response notes

Successful calls return a JSON object with a top-level data field and, when available, metadata.creditsUsed and metadata.creditsRemaining. See response format, pagination, and credits.