Skip to main content

What it does

Returns a paginated list of accounts a TikTok user follows. Maximum 30 per page. Includes profile details for each followed account.

Tool details

FieldValue
Tool nametiktok_get_user_following
PlatformTikTok
REST endpointGET /v1/tiktok/users/{username}/following
Result typeCollection tool

Parameters

ParameterTypeRequiredDescription
usernamestringYesTikTok username (with or without @ symbol)
countintegerNoNumber of users to fetch (maximum: 30) Default: 30.
cursorstringNoPagination cursor Default: 0.
projection_presetstringNoDefaults to minimal. Allowed values: full, minimal, identity, engagement, content.
data_fieldsstring[]NoAdds top-level keys from data on top of the selected projection_preset.
item_fieldsstring[]NoAdds keys from data.orderedItems[] on top of the selected projection_preset.

Example

{
  "name": "tiktok_get_user_following",
  "arguments": {
    "username": "khaby.lame",
    "count": 30,
    "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.