TikTok API for AI agents: profiles, videos, comments and trends
A TikTok data API your agent calls over MCP: public profiles, a creator's recent videos, a video's stats, comments and transcript, keyword and hashtag search, and the hashtags trending now, paid per call with no TikTok developer app.
The problem
Your agent tracks creators, campaigns or a brand on TikTok and needs numbers it can compare: views, likes, comments and shares per video, and what people say underneath. TikTok's own APIs need an approved developer app, and running a scraper means proxies and constant fixes.
Steps
8- Get a TikTok user's profile$0.000165 per request
Get a creator's public profile from the username: followers, following, video count and verification. TikTok ·
tiktok.user.profile - List a TikTok user's recent videos$0.0011 per request (one page, up to max_items videos)
List a creator's recent videos with views, likes, comments, shares, music and hashtags. TikTok ·
tiktok.user.videos - Get a TikTok video's stats$0.0011 per request
Read one video's stats from its URL. TikTok ·
tiktok.video.detail - Get a TikTok video's comments$0.002068 per request (1 credit)
List a video's comments with likes, replies and whether the creator liked or pinned them. TikTok ·
tiktok.video.comments - Get a TikTok video's transcript$0.0011 per result
Get the spoken transcript of a video. TikTok ·
tiktok.video.captions - Search TikTok videos by keyword$0.0011 per request (one page, up to max_items videos)
Search videos by keyword, one query or a list. TikTok ·
tiktok.search.videos - List videos under a TikTok hashtag$0.0033 per video
List the videos under a hashtag with the same stats per video. TikTok ·
tiktok.hashtag.videos - List trending TikTok hashtags right now$0.00165 per result
List the hashtags trending in a country over a period, with post count, views and trend direction. TikTok ·
tiktok.trends.hashtags
Example cost for 100 rows
- Get a TikTok user's profile$0.0165
100 x $0.000165 per request
- List a TikTok user's recent videos$0.11
100 x $0.0011 per request (one page, up to max_items videos)
- Get a TikTok video's stats$0.11
100 x $0.0011 per request
- Get a TikTok video's comments$0.2068
100 x $0.002068 per request (1 credit)
- Get a TikTok video's transcript$0.11
100 x $0.0011 per result
- Search TikTok videos by keyword$0.11
100 x $0.0011 per request (one page, up to max_items videos)
- List videos under a TikTok hashtag$0.33
100 x $0.0033 per video
- List trending TikTok hashtags right now$0.165
100 x $0.00165 per result
Paid from your prepaid balance at the quoted customer price. No top-up fee. Pay per call; each call’s price is shown before it runs. Each run is quoted before it starts.
Paste this into your agent
Start free, no card needed. Your agent runs each step and reports the cost.
Use Ahel. For each creator in my list, get the profile with tiktok.user.profile and the recent videos with tiktok.user.videos. For the top video by views, pull the comments with tiktok.video.comments and the transcript with tiktok.video.captions. Then list the hashtags trending in the United States over the last 7 days with tiktok.trends.hashtags. Quote the total before you run anything, then give me one table per creator with views, likes, comments and shares per video, and tell me what it cost.
What a result looks like
Video rows from tiktok.user.videos, tiktok.video.detail, tiktok.search.videos and tiktok.hashtag.videos share one shape: video_id, video_url, text, created_at, author_username, author_nickname, play_count, like_count, comment_count, share_count, collect_count, duration_seconds, music_name and hashtags. tiktok.user.profile returns username, nickname, user_id, profile_url, verified, followers_count, following_count, video_count and latest_video_url. tiktok.video.comments rows carry comment_id, text, created_at, like_count, reply_count, username, replies_to_id, liked_by_author and pinned_by_author. tiktok.trends.hashtags rows carry rank, hashtag, posts, video_views, country_code, period and trend_direction. Every row keeps its provider and when it was collected.
Public data only
These tasks read public profiles, videos, comments and trend pages. Private accounts, messages and anything behind a login are not available, and a removed video returns nothing. Profiles and comments are personal data: use them for a clear purpose such as research or campaign reporting, keep only what you need, and follow the GDPR and similar rules where they apply.
What it costs
When we checked on 2 Nov 2026, tiktok.user.profile cost $0.000165 per request; tiktok.user.videos, tiktok.video.detail and tiktok.search.videos $0.0011 per request; tiktok.video.captions $0.0011 per result; tiktok.trends.hashtags $0.00165 per result; tiktok.video.comments $0.002068 per request; and tiktok.hashtag.videos $0.0033 per video. Shown prices include Ahel's margin, several providers sit behind most tasks, and every run is quoted before it starts.
More TikTok tasks
The TikTok platform also has followers and following lists, liked videos, playlists, similar creators, music charts and the videos using a sound, live status and rankings, hashtag details, trending search terms and search by user, place or music. Describe the job and your agent finds the task and its price.
Set up Ahel in your agent
- Claude Code
Run once, then approve the sign-in:
claude mcp add --transport http --scope user ahel 'https://mcp.ahel.ai' - Codex
Run once, then approve the sign-in:
codex mcp add ahel --url 'https://mcp.ahel.ai' && codex mcp login ahel - Claude.ai
Add a custom connector with the server address https://mcp.ahel.ai and approve the sign-in.