TikTok
Scrape public TikTok videos, comments, accounts, and trending feeds
What it does
Pulls public TikTok data — videos, comment threads, account profiles, and trending feeds — and returns structured results you can read in chat or in the playground output panel.
How it works
TikTok is a native connector. No TikTok account is required. AINexLayer fetches public pages when you ask.
- Chat — describe a hashtag, profile, video URL, or topic. The agent runs the TikTok scraper automatically.
- API Playground — open API Playground → TikTok, pick a verb, fill in the form, and click Run.
Profile targets reliably return account metadata (name, followers, bio), but TikTok often withholds a profile's video list from automated access. Use hashtags or video URLs for reliable video results. To find accounts by keyword, use User search — TikTok's own video search is login-walled.
Use in API Playground
Scrape videos
- Open API Playground → TikTok → Scrape
- Add at least one input:
- URLs — a video, profile (
/@user), hashtag (/tag/name), or search page - Profiles — usernames, with or without
@ - Hashtags — names without the
#
- URLs — a video, profile (
- Set Max items to 10–20 for a first run
- Click Run
Fetch comments
- Open API Playground → TikTok → Comments
- Paste Video URLs
- Set Max items to 10–20 for a first run
- Click Run
Search accounts
- Open API Playground → TikTok → User search
- Enter Queries — keywords to find accounts by
- Set Max items to 10–20 for a first run
- Click Run
Trending feed
- Open API Playground → TikTok → Trending
- Set Max items to 10–20
- Click Run — no other input needed
Useful options
| Option | What it does |
|---|---|
| Results per page | Max videos per profile or hashtag target |
| Max items | Total items returned across all sources (hard cap 100) |
| Comments per video | Max comments fetched per video URL |
What you get back
Videos include caption, author, play/like/comment/share counts, music, hashtags, and timestamps. Comments include text, author, like count, and reply relationships. User search returns matching profiles with name, followers, bio, and verification status.
Runs are billed per item returned. Error items (e.g. a withheld feed) are never charged. The price per item is shown on the TikTok card in API Playground.
