ScavioScavio
ToolsPricing
Sign InsGet Startedg
TikTok tool · secUid

Get a TikTok secUid
from a username

Paste a handle or profile link. You get the secUid, the numeric user id, and a request that's ready to run.

POST /api/v1/tiktok/profileSame engine, for your code

What a TikTok secUid is, and why you need one

TikTok identifies an account three ways: the @handle you see in the URL, a short numeric uid, and a long encoded string called sec_uid that looks like MS4wLjABAAAA…. The handle can be changed by its owner; the secUid does not move. That stability is why the user-facing endpoints — posts, followers, followings — take a secUid and reject a bare username.

You will see the name written both ways, and they mean the same thing: TikTok's web API returns it as secUid, the app API returns it as sec_uid, and the endpoints that consume it take it as sec_user_id in the request body.

A secUid can't be derived or guessed from a handle. It has to come back from a profile lookup, which is exactly what this page does: one call, and the string is on screen with a copy button.

If you are wiring this into code rather than doing it by hand, the same lookup is POST /api/v1/tiktok/profile with { username } — the sec_uid comes back at data.user.sec_uid for 1 credit. Cache it per handle: re-resolving the same account on every run is the most common source of wasted credits in TikTok pipelines.

How to find a TikTok secUid

  1. 1

    Enter the username or profile URL

    Type the @handle or paste the full tiktok.com/@username link. No login and no account of your own needed.

  2. 2

    Read the secUid

    The lookup returns the account's secUid — the MS4wLjABAAAA... string — along with the numeric user id, follower count, and verification status.

  3. 3

    Copy it into your request

    Hit Copy on the secUid, or copy the pre-filled cURL request that already has it in the body, and call the posts or followers endpoint.

Want the background rather than the value? Read the secUid glossary entry.

Frequently asked questions

What is a TikTok secUid?+

A secUid is TikTok's stable internal identifier for an account — a base64-looking string around 70-80 characters that starts with MS4wLjABAAAA. It is not the @username and not the numeric user id. It stays the same when someone renames their account, which is why the posts, followers, and followings endpoints key on it instead of the handle.

Is it secUid or sec_uid?+

Both, depending on which API you are reading. TikTok's web API returns it as secUid in camelCase; the app API returns the same value as sec_uid in snake_case, and the endpoints that consume it take it as sec_user_id in the request body. They are all the same string. Scavio's profile response returns it at data.user.sec_uid.

How do I find a secUid from a username?+

There is no way to compute one — it has to be looked up. Enter the handle above and this tool resolves it, or call POST /api/v1/tiktok/profile with {"username": "..."} and read data.user.sec_uid from the response.

Is the secUid finder free?+

Yes. The first three lookups are free with no account. After that, sign up free and lookups run on your own Scavio credits — one credit per profile call.

What's the difference between secUid and user_id?+

user_id (uid) is the short numeric id, like 6614519312189947909. sec_uid is the long encoded string. Both identify the same account, but most TikTok endpoints only accept sec_uid — passing the numeric id where sec_uid is expected returns an error or an empty result.

Does a secUid ever change?+

In practice it stays constant for the life of the account, including through username changes — that is the whole reason it exists. Cache it per handle rather than re-resolving it on every request; it is the most common source of wasted calls in TikTok pipelines.

Does it work for private accounts?+

Yes — a private account still has a public profile record, so the secUid resolves. You just cannot pull its posts or followers afterwards.

Will the account owner know I looked them up?+

No. The lookup runs on our servers against the public profile — nothing is posted, followed, or viewed from an account, so there is no notification.

Can I do this in my own code?+

Yes. This tool is one call to the Scavio TikTok API. POST /api/v1/tiktok/profile takes a username and returns the sec_uid with the rest of the profile for 1 credit.

Build with the TikTok API

This tool is one endpoint on the Scavio API. Resolve profiles, pull posts and followers by sec_uid, and search TikTok from your own pipelines and agents.

Get API AccessRead the Docs
ScavioScavio

One scraper API for every social, search and ecommerce platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy