Definition
sec_uid is TikTok's secondary user identifier, a long alphanumeric string required by most TikTok API endpoints for fetching user posts, followers, and followings. Unlike the visible username, sec_uid is stable and does not change when a user renames their account.
In Depth
TikTok uses multiple user identifiers internally. The username (unique_id) is the public handle visible in URLs. The sec_uid is an internal identifier needed for API calls to user-specific endpoints: posts, followers, followings. To get a sec_uid, call the profile endpoint with a username. The response includes the sec_uid alongside follower counts, bio, and verification status. Scavio's TikTok profile endpoint returns the sec_uid at $0.005/request. This two-step pattern (profile lookup then data fetch) costs $0.01 total: one credit for the profile, one for the data request. The sec_uid remains constant even if the user changes their username, making it reliable for long-term tracking.
Example Usage
A brand monitoring tool stores sec_uids for 50 tracked creators. Daily monitoring checks each creator's latest posts using the stored sec_uid, avoiding the profile lookup step after initial setup. Cost: $0.25/day (50 posts requests) instead of $0.50/day (50 profile + 50 posts).
Platforms
TikTok sec_uid is relevant across the following platforms, all accessible through Scavio's unified API:
- TikTok
Related Terms
TikTok max_cursor Pagination
max_cursor is the pagination parameter used by TikTok's user posts endpoint, where each response includes a max_cursor v...
TikTok page_token Pagination
page_token + min_time is the dual-parameter pagination pattern used by TikTok's follower and following endpoints. Both v...