TikTok scraper and API alternative for AI agents

Scrollport is an easier alternative to the official TikTok API for AI agents: no developer app, approval or OAuth app. It gives agents 27 tools to search TikTok, from TikHub, Apify and TikTok, through one MCP, CLI or HTTP connection. Prices are per request, result or search, depending on the tool, paid per use.

Updated

What is the best TikTok API for AI agents?

Start with TikHub's video search to find TikTok videos by keyword, with each creator and their stats. Use user profile for a creator's followers, likes and video count, or Video Transcript to get what's said in a video.

Start with

Search TikTok videos by keyword

by TikHub$0.0025 per request

Best for: finding videos by keyword, with creator stats

You ask your agent

“Find TikTok videos about coffee.”

You get

Description
Step by step how I make my perfect morning coffee
Music title
original sound - noahsterncoffee
Author
Noah Stern
User count
1
Nickname
Noah Stern
Follower count
306,698
Following count
114
Comment count
1107

Also good for

A real run

· run 5d7a82b5

You asked
TikTok videos about matcha latte recipes in the US.
You got
  • 10 videos with creator, caption, plays, likes, shares, saves and comments, plus a cursor for more.
  • The top result: 1.39m plays, 128k likes and 40k saves.
It cost
$0.0025through tikhub.tiktok-search-videos. Failed calls are not charged.

Compare all 27 TikTok API tools

ToolWhat it returnsPrice
Search TikTok across all content by keywordTikHubGet comprehensive search results of specified keywords$0.0025/request
Search TikTok hashtags by keywordTikHubGet hashtag search results of specified keywords$0.0025/request
Search TikTok photo posts by keywordTikHubSearch TikTok photo posts by keyword.$0.0025/request
Search TikTok users by keywordTikHubGet user search results of specified keywords$0.0025/request
Search TikTok videos by keywordTikHubSearch TikTok videos by keyword$0.0025/request
TikTok account country by usernameTikHubGet user account country by username$0.0025/request
TikTok comment replies by video and comment idTikHubGet comment replies data of specified video$0.0025/request
TikTok daily trending search termsTikHubGet daily trending search words$0.0025/request
TikTok hashtag details by tag name — challenge idTikHubTikTok hashtag metadata — resolves a tag name to the challengeID needed for hashtag videos$0.0025/request
TikTok hashtag videos by challenge idTikHubVideos under a TikTok hashtag (by numeric challengeID)$0.0025/request
TikTok music charts — Top 50, Viral 50TikHubTikTok music charts — Top 50, Viral 50.$0.0025/request
TikTok music details by music idTikHubTikTok music details by music id.$0.0025/request
TikTok Post ScraperApifyCollect public TikTok posts by hashtag, profile, keyword or URL with engagement.$0.0025/result
TikTok Profile PostsApifyCollect recent public TikTok posts from profiles with views and engagement.$0.0025/result
TikTok user profile by username or secUidTikHubPublic TikTok profile by username (uniqueId) or secUid$0.0025/request
TikTok user's followers by user id or secUidTikHubGet follower list of specified user$0.0025/request
TikTok user's playlists by secUidTikHubTikTok user's playlists by secUid.$0.0025/request
TikTok user's recent videos by secUidTikHubRecent videos posted by a TikTok user (keyed by secUid, not username)$0.0025/request
TikTok video comment keywords analysis by video idTikHubTikTok video comment keywords analysis by video id.$0.0025/request
TikTok video comments by video idTikHubTikTok video comments by video id.$0.0025/request
TikTok video details by video id — author, statsTikHubA single TikTok video's metadata, author and stats$0.0025/request
TikTok video metrics by video idTikHubTikTok video metrics by video id.$0.0025/request
TikTok Video ScraperApifyRead TikTok videos by URL with plays, engagement, author and music.$0.0025/result
TikTok videos using a music track by music idTikHubGet video list of specified music$0.0025/request
Video TranscriptTikTokGet native TikTok captions or an explicitly requested short AI transcript.$0.0027/request
TikTok CommentsApifyRead comments on a TikTok video by its ID.$0.0028/search
TikTok Data APIApifyGet TikTok profiles, posts and search results in TikTok's own format.$0.0028/search

Why use Scrollport instead of the official TikTok API

  • No developer app or approval process to apply for.
  • No OAuth app to build and no tokens to refresh.
  • One Scrollport key and one prepaid wallet for every tool.
  • Pay per call, at the price shown before each run.
  • Use it from your agent over MCP, the Scrollport CLI or the HTTP API, as a TikTok API or TikTok scraper.

These tools come from TikHub, Apify, TikTok; coverage and freshness vary by tool. Scrollport is not affiliated with, endorsed by or sponsored by TikTok.

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Then help me search TikTok with Scrollport's TikTok API tools. Start with Search TikTok videos by keyword (tool ID: tikhub.tiktok-search-videos) unless another Scrollport tool fits my request better. Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? Create your account on the web and connect one from your dashboard later.

Questions about TikTok API

Is the TikTok API free?

TikTok sets the access terms and any charges for its own official API. Through Scrollport you do not need a TikTok developer account: these tools are priced per request, result or search, depending on the tool, paid from a prepaid wallet, and connecting your first agent adds $1 of trial credit.

How do I get TikTok data without an API key?

Connect your agent to Scrollport once. It can then call the TikTok tools on this page through Scrollport, which holds the provider access, so you never create or handle a TikTok or provider API key.

Learn more about the TikTok API

Search by keyword and region, read the counts that matter

A video search such as “matcha latte recipe” in the US returns ten videos per page with plays, likes, shares, saves and comments. Saves are the number to watch for a how-to; shares for a take; comments for a question the creator left open.

Follow the thread from a video to its parts

From any result the agent can fetch the creator's profile and recent videos, the comments, the sound and the other videos using it, or the hashtag's feed, each as a separate priced call. Ask for only the next step you need.

How do I distinguish a TikTok trend from one viral video?

Look for the same hook or format across several creators in a recent window, and compare it with older or weaker examples. One video with 1.39m plays is a reference; the same format repeated by five accounts is a pattern worth testing.

Example prompt

The run above researched a recipe niche; swap in your audience or product.

Example prompt to give your agent

Use Scrollport's TikTok API tools to find 10 recent videos about [SUBJECT] in [REGION]. For each give the creator, caption, plays, likes, saves, comments and link, then name the two formats that repeat across creators and propose one original angle for each. Show me the price before the paid run.