TikTok Scraper API
Fetch full user profiles, posted videos, comments and replies, video transcripts, hashtag and music detail, run keyword search across videos/users/hashtags, pull trending videos/hashtags/songs, and query TikTok’s EU Commercial Content (ad transparency) library. The API handles request signing, anti-bot bypass, and regional proxy routing automatically.Key Features
Profiles & Videos
Full user profiles with stats and verification, plus posted videos and reposts with cursor pagination.
Comments & Transcripts
Top-level comments, threaded replies, and ASR voice-to-text transcripts with subtitle tracks.
Search
Keyword search across videos, users, and hashtags, plus a general Top-feed search.
Trending
Trending videos, hashtags, and songs ranked by usage, with rank-change deltas.
Ad Transparency
Search TikTok’s EU Commercial Content Library by keyword or advertiser id.
SDK Support
First-class support via the ScrapeBadger Node.js and Python SDKs.
Supported Regions
TikTok content is region-aware. Use theregion query parameter (ISO 3166-1 alpha-2) on any endpoint to route the request through a proxy and signer for that locale. It defaults to US.
Quick Start
Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v1/tiktok/users/{username} | GET | Full user profile by @handle |
/v1/tiktok/users/{username}/videos | GET | A user’s posted videos |
/v1/tiktok/users/{username}/reposts | GET | Videos a user has reposted |
/v1/tiktok/videos/{video_id} | GET | Full metadata for a single video |
/v1/tiktok/videos/{video_id}/comments | GET | Top-level comments on a video |
/v1/tiktok/videos/{video_id}/related | GET | Related/recommended videos |
/v1/tiktok/videos/{video_id}/transcript | GET | Subtitle tracks + voice-to-text |
/v1/tiktok/comments/{comment_id}/replies | GET | Replies to a comment |
/v1/tiktok/oembed | GET | Cheap unauthenticated oEmbed metadata |
/v1/tiktok/hashtags/{name} | GET | Hashtag/challenge detail |
/v1/tiktok/hashtags/{name}/videos | GET | Videos tagged with a hashtag |
/v1/tiktok/music/{music_id} | GET | Sound/music detail |
/v1/tiktok/music/{music_id}/videos | GET | Videos using a sound |
/v1/tiktok/search | GET | General Top-feed search |
/v1/tiktok/search/users | GET | Search users by keyword |
/v1/tiktok/search/videos | GET | Search videos by keyword |
/v1/tiktok/search/hashtags | GET | Search hashtags by keyword |
/v1/tiktok/trending/videos | GET | Trending Explore-feed videos |
/v1/tiktok/trending/hashtags | GET | Trending hashtags by usage |
/v1/tiktok/trending/songs | GET | Trending songs/sounds by usage |
/v1/tiktok/ads/search | GET | Search the EU ad library |
/v1/tiktok/regions | GET | List supported regions |
Credit Costs
| Endpoint | Cost |
|---|---|
| Get user profile | 5 credits |
| Get user videos | 8 credits |
| Get user reposts | 8 credits |
| Get video detail | 5 credits |
| Get comments | 8 credits |
| Get related videos | 8 credits |
| Get transcript | 10 credits |
| Get comment replies | 8 credits |
| oEmbed | 2 credits |
| Get hashtag detail | 5 credits |
| Get hashtag videos | 8 credits |
| Get music detail | 5 credits |
| Get music videos | 8 credits |
| Search (general) | 5 credits |
| Search users | 5 credits |
| Search videos | 5 credits |
| Search hashtags | 5 credits |
| Trending videos | 5 credits |
| Trending hashtags | 5 credits |
| Trending songs | 5 credits |
| Ad library search | 5 credits |
| List regions | 0 credits |
| Failed requests | 0 credits |
Authentication
All requests require your API key in thex-api-key header:
Anti-Bot Handling & Notes
TikTok protects its mobile and web APIs with request signing (X-Argus / X-Ladon / X-Gorgon / X-Khronos), device trust, and per-IP reputation scoring. ScrapeBadger clears these automatically — you never need to manage signatures, device registration, proxies, or sessions. Requests are routed through proxies matched to theregion you request.
Trending hashtags and trending songs (
/v1/tiktok/trending/hashtags, /v1/tiktok/trending/songs) are served via an on-device signer path. They are ranked by real usage (view counts, distinct-creator counts) rather than the deprecated Creative Center trend lists.Next Steps
Get User Profile
Full API reference for fetching a TikTok user profile
Get Video Detail
Retrieve full metadata for a specific TikTok video

