TikTok API
A structured TikTok API for AI agents and developers. Fetch user posts, hashtag videos, and creator profiles as clean JSON, without running scrapers, proxies, or headless browsers.
Free tier: 50 credits on signup, one-time, no card required.
Everything you need from TikTok
One endpoint family for posts, hashtags, and creators. Structured, agent-ready, and covered by our Python and JavaScript SDKs.
User posts
Pull any public creator's recent videos with captions, thumbnails, and view, like, and comment counts.
Hashtag videos
Fetch ranked video lists for any hashtag so your agents can track what is trending right now.
Profiles and secUID
Resolve creator profiles and the secUID you need to page through an account's full catalog.
Engagement metrics
Every video returns play_count, digg_count, and comment_count so you can rank by real signals.
Structured JSON
No HTML parsing or headless browsers. Responses come back as clean, typed JSON built for agents.
SDKs and MCP
Call it from Python (pip install scavio), JavaScript (npm i scavio), or the MCP server at mcp.scavio.dev.
A single call returns clean JSON
Request hashtag videos through the SDK and get back a structured list of videos with engagement metrics.
POST /api/v1/tiktok/hashtag/videos
# pip install scavio
from scavio import ScavioClient
client = ScavioClient(api_key="YOUR_API_KEY")
# Fetch the latest videos for a hashtag
res = client.tiktok.hashtag_videos(hashtag_id="7119...", count=30)
print(res["data"]["videos"][0]["play_count"]){
"data": {
"hashtag": "cleantok",
"videos": [
{
"id": "7412...",
"author": "@creator",
"desc": "This viral cleaning gadget",
"play_count": 5200000,
"digg_count": 410000,
"comment_count": 8200,
"create_time": "2026-04-15T16:34:40Z"
}
]
},
"credits_remaining": 498
}What developers build with it
Trend and creator monitoring
Watch a hashtag or a set of creators and flag viral spikes the moment play and like counts move. Agents poll the API on a schedule and surface what is breaking out, no manual scrolling required.
Social listening and research
Feed TikTok captions and engagement metrics into RAG pipelines, dashboards, or analytics jobs. Because everything returns as structured JSON, it drops straight into a vector store or a data warehouse.
Influencer and creator discovery
Resolve a profile, pull the creator's posts, and score reach and engagement before you reach out. Build shortlists ranked by real view and comment counts instead of follower vanity numbers.
TikTok API FAQ
What does the Scavio TikTok API return?
The TikTok API covers user posts, hashtag videos, and creator profile and secUID lookups. Each response is structured JSON with video ids, captions, thumbnails, creator data, and engagement metrics such as play_count, digg_count, and comment_count.
Do I need to scrape TikTok or manage login myself?
No. You make one HTTP request or call a single SDK method and get clean JSON back. There are no headless browsers, proxies, or session handling to maintain on your side.
Does the TikTok API support TikTok Shop or TikTok Ads?
TikTok Shop and TikTok Ads are coming soon and not live yet. Today the API focuses on user posts, hashtag videos, and creator profile and secUID data, which are all available now.
How much does the TikTok API cost?
It starts free. New accounts get 50 credits on signup as a one-time grant with no card required. See the pricing page for plans and credit details as your usage grows.
Which SDKs and tools support the TikTok API?
Use the Python SDK (pip install scavio), the JavaScript SDK (npm i scavio), or the hosted MCP server at mcp.scavio.dev to plug TikTok data into agent frameworks. You can also call the REST endpoints directly from any language.
Explore more Scavio APIs
Ship TikTok data into your agent today
Start on the free tier, wire up the SDK in minutes, and pull user posts, hashtag videos, and creator profiles as structured JSON.