TikTok API
tiktok.com
Public TikTok data: profiles, posts, comments and search.
- Actions
- 6
- Category
- Social Media
- Login
- Not required
- Output
- JSON
Call the TikTok API
Submit a task, then poll the job until it settles. This example runs tiktok_keyword_search.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "tiktok_keyword_search",
"params": {
"query": "cooking"
}
}'6 actions on tiktok.com
Read
Keyword Search
tiktok_keyword_searchread10 credits / callSearch TikTok videos by keyword, one full page (about 30) per call, with caption, author, post date, plays, likes, comments and shares. Use cursor for more.
- query
- string · required
- cursor
- string
Profile
tiktok_profileread10 credits / callGet a public TikTok profile: username, display name, bio, verified badge, follower, following, like and video counts, and avatar.
- username
- string · required
User Videos
tiktok_user_videosread10 credits / callGet a TikTok user's latest videos, one full page (about 10) per call: link, caption, post date, length, plays, likes, comments, shares, saves, cover image and sound. Use cursor for older videos.
- username
- string · required
- cursor
- string
Video Comments
tiktok_video_commentsread10 credits / callGet the comments on a TikTok video, one full page (about 10-20) per call: text, likes, reply count, date and commenter username. Use cursor for more.
- video_url
- string · required
- cursor
- string
Video Details
tiktok_video_detailread10 credits / callGet the details of one TikTok video: caption, post date, length, plays, likes, comments, shares, saves, cover image, sound and author.
- video_url
- string · required
Video Transcript
tiktok_transcriptread10 credits / callGet the spoken transcript of a TikTok video as plain text and timed segments. Videos without speech return has_transcript false.
- video_url
- string · required
TikTok API questions
- Is there an API for TikTok?
- TikTok does not offer a public data API for this, but Anakin Wire provides 6 maintained endpoints for tiktok.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape TikTok data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when tiktok.com changes its markup, Anakin updates the action.
- Do I need a TikTok account?
- No. Every TikTok action listed here runs anonymously — no account and no credentials required.
- What does the TikTok API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Social Media APIs
Are.na
Are.na - channels, block search, channel details, and public profiles.
Bear Blog
Bear Blog - trending posts, articles, author blogs, and discover feed.
Public Facebook data: profiles, posts, comments and search.
Public Instagram data: profiles, posts, comments and search.
Public LinkedIn data: profiles, posts, comments and search.
Public Pinterest data: profiles, posts, comments and search.