Skip to main content

What Is TikTok User secUid?

The secUid (short for Secure User ID) is TikTok’s internal, unique secondary user identifier, a long string of characters used by the Tiktok’s backend and APIs to identify a user, distinct from their public @username. It is a persistent identifier used to fetch user data, such as a user’s video list, via the API. Unlike a TikTok @username or userId the secUid:
  • Is long, encrypted, and non-human-readable
  • Remains more stable even if a user changes their username
  • Is mainly used internally by TikTok by some their APIs

Why Tiktok uses secUid?

TikTok relies on secUid for:
  • Security and privacy protection
  • Tracking users consistently across sessions
  • Preventing scraping and abuse
  • API-level user identification
Because @username can change (once every 30 days) and numeric IDs can sometimes be exposed or manipulated, secUid acts as a secure, reliable reference to a user account.

secUid vs username vs userId

Here’s a quick comparison to clear up the confusion
IdentifierExampleCan Change?Public?
username (uniqueId)taylorswift✅ Yes✅ Yes
userId6881290705605477381❌ No⚠️ Semi
secUidMS4wLjABAAAAqB08cUbXaDWqbD6MCga2R…❌ No❌ No
secUid is the most secure and stable identifier TikTok uses.

How to Get a Tiktok User secUid?

1. Get secUid from Tiktok Web Requests (Developer Method)

If you’re comfortable with browser developer tools:
1

Open tiktok.com in your browser

2

Visit the user’s profile page

3

Open Developer Tools (F12 or Right-click → Inspect)

4

Go to the Network tab

5

Look for a request

Look for a request like item_list/ then inspect the response JSON. You’ll find a field called:
  "secUid": "MS4wLjABAAAAqB08..."

2. Use Tikok API by Tikfly

1

Get Your API Key

See Quickstart to get your API Key.
2

Get secUid using @username

One of the most common methods is retrieving secUid directly from a username via the Get User Info endpoint.For example
  curl --request GET \
  --url 'https://tiktok-api23.p.rapidapi.com/api/user/info?uniqueId=taylorswift' \
  --header 'x-rapidapi-key: <api-key>'
Response
{
  "userInfo": {
    ...
    "user": {
      ...
      "secUid": "MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6",
      ...
    }
  }
}

Common Questions About TikTok secUid

No. A secUid is permanent for an account.
No. Each secUid is unique.
No. secUid is encrypted and more secure.
Yes, using the same methods described above.
Need help? Check our support page or contact our team.