1. TikTok Display API OAuth 2.0 Scopes & Field Restrictions
The Display API splits creator data across three permission scopes, all restricted to the authenticated token holder:
| OAuth Scope | Display API v2 Endpoint | Fields Returned (Own Account Only) | Public @username Equivalent on TikTokAPI.io |
|---|---|---|---|
| user.info.basic | GET /v2/user/info/ | open_id, union_id, avatar_url, display_name | GET /v1/user/info?unique_id=@handle (no OAuth) |
| user.info.profile | GET /v2/user/info/ | bio_description, profile_deep_link, is_verified | Included in GET /v1/user/info response |
| user.info.stats | GET /v2/user/info/ | follower_count, following_count, likes_count, video_count | Included in GET /v1/user/info data.stats |
| video.list | POST /v2/video/list/ | User's own public videos (max 20/page, embed link only) | GET /v1/user/posts?unique_id=@handle (33/page + 1080p MP4) |
2. Fetching Any Public Creator Profile & Videos Without User OAuth
When building influencer discovery tools, competitor trackers, or social listening dashboards, you cannot ask thousands of creators to complete an OAuth login flow. Query their public @username directly instead:
Query Any Public @username Profile & Latest Videos
Fetches full profile statistics and recent 1080p videos for any public TikTok handle using a single API key.
# Fetch public profile & stats for any @username (no OAuth required)
curl -sS "https://api.tiktokapi.io/v1/user/info?unique_id=khaby.lame" \
-H "x-api-key: tk_live_your_api_key"
# Fetch up to 33 latest public videos for @username
curl -sS "https://api.tiktokapi.io/v1/user/posts?unique_id=khaby.lame&count=33" \
-H "x-api-key: tk_live_your_api_key"Interactive Engineering Workbench · GET /v1/user/info
Verify real-time latency, pagination math & JSON schema
Frequently Asked Questions
- Can the TikTok Display API fetch another user's public videos by username?
- No. The Display API's /v2/video/list/ endpoint only reads videos owned by the user whose OAuth 2.0 Bearer token is passed in the Authorization header. To fetch public videos for any @username, use GET /v1/user/posts on TikTokAPI.io.
- Does the TikTok Display API return direct MP4 video download links?
- No. Display API v2 returns an embed_link and embed_html iframe snippet along with a temporary cover_image_url. To get direct 1080p unwatermarked MP4 URLs (data.hdplay), call GET /v1/video/detail on TikTokAPI.io.