TikTok API
APITikTok for Developers APIs to post videos and show a user's TikTok content
- Price
- Free
- Access
- User access token (OAuth)
About
TikTok's official APIs let users log in with TikTok, post videos and photos to their account, and show their own videos and stats in your app. Unaudited apps post privately for at most 5 users a day. The Research API is only for vetted academic and non-profit researchers.
What you can do with it
- Post videos and photo carousels directly to a creator's TikTok profile
- Upload videos as drafts that creators finish in the TikTok app
- Show a user's profile and recent videos with view and like counts
Get started
- Register an app and add Login Kit and the Content Posting API
- Get the video.publish scope approved and authorized by the user
- Pass the audit to post publicly (unaudited posts stay private)
Example
curl -X POST 'https://open.tiktokapis.com/v2/post/publish/video/init/' \
-H "Authorization: Bearer $TIKTOK_ACCESS_TOKEN" \
-H 'Content-Type: application/json; charset=UTF-8' \
-d '{"post_info": {"title": "Hello #tiktok", "privacy_level": "SELF_ONLY"},
"source_info": {"source": "PULL_FROM_URL",
"video_url": "https://example.verified.domain.com/example_video.mp4"}}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- MCP server
- None
- Works with
- TikTok