TikHub icon

TikHub

Interact with TikHub API (TikTok, Instagram, YouTube, Twitter)

TikTok → Get User Profile

AI-generated

Summary

Retrieve a TikTok user profile by specifying the user via User ID, Sec User ID, or Unique ID (username).

Inputs

  • Identifier Type (required) — Select the type of identifier used to specify the TikTok user: User ID, Sec User ID, or Unique ID (username). Defaults to Unique ID.
  • User ID — The TikTok user ID, required if Identifier Type is set to User ID.
  • Sec User ID — The TikTok sec_user_id, required if Identifier Type is set to Sec User ID.
  • Username (Unique ID) — The TikTok username (unique_id), required if Identifier Type is set to Unique ID.

Output shape

a single user profile record as JSON

The output is a JSON object containing the user's TikTok profile data as returned by the TikHub API. If the specified user identifier is invalid or not found, an error may occur unless 'continueOnFail' is enabled.

Examples

Example 1: Get TikTok user profile by username

Set Identifier Type to 'Unique ID', then provide the TikTok username (e.g., 'charlidamelio') in the Username parameter.

Discussion