Operated by Sourcelane✓ verified
Scrape TikTok videos from links, profiles, hashtags, search keywords and sounds in one run: plays, likes, captions, music, creator stats and comments.
A TikTok-focused web scraper that collects video-level metadata and engagement data from a mixture of inputs (links, usernames, hashtags, search keywords and sounds) in a single run. The connector extracts video attributes (timestamps, duration, captions, thumbnails and direct media file links where available), engagement metrics (views, likes, comments, shares, saves), creator information (username, display name, IDs, verification and follower counts where present), text metadata (hashtags and mentions), music metadata (title, ID, author, original vs. non-original), and source attribution for each unique video. It can optionally emit separate comment records and profile detail records, performs deduplication so each video appears once even if found via multiple inputs, supports date-based filtering and result limits, and operates without login, cookies or a browser.
Verified Dec 1, 7:47 AM
$0.0004
per video
Up to 100 per call. Only pay for results returned; failed calls are refunded.
Influencer research
Pull recent videos and engagement for lists of creators
Trend and hashtag tracking
Monitor postings under hashtags or sounds in near real time
Competitor analysis
Monitor brand accounts and keyword/search results side by side
Content research for marketers
Find top-performing videos for a topic, with hashtags and sounds
Comment and sentiment analysis
Collect top comments for every video in a single run
Any mix of TikTok links: videos or photo posts, short links, profiles, hashtags, searches and sounds.
TikTok usernames or profile links.
Hashtags with or without #.
Keywords or phrases to search TikTok videos for, like you would in the app's search bar.
TikTok sound links or numeric sound IDs.
Skip videos older than this.
Optional settings
| Window | Uptime | Success rate | p50 | p95 | Calls |
|---|---|---|---|---|---|
| 24h | — | — | — | — | 0 |
| 7d | — | — | — | — | 0 |
| 30d | — | — | — | — | 0 |
Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.
Call it via Sourcelane
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"tiktok-scraper","params":{"startUrls":["https://www.tiktok.com/@khaby.lame/video/7709194461913419038"],"maxVideosPerInput":5},"maxResults":10}'Request params
| Field | Type | Required | Description |
|---|---|---|---|
startUrls | array | optional | Any mix of TikTok links: videos or photo posts, short links (vm.tiktok.com, vt.tiktok.com, tiktok.com/t/...), profiles (tiktok.com/@name), hashtags (tiktok.com/tag/...), searches (tiktok.com/search?q=...) and sounds (tiktok.com/music/...). You can also paste a video ID, @username or #hashtag here. |
profiles | array | optional | TikTok usernames (with or without @) or profile links. Returns each profile's latest videos, newest first. |
hashtags | array | optional | Hashtags with or without #. Returns popular videos using each hashtag. |
searchQueries | array | optional | Keywords or phrases to search TikTok videos for, like you would in the app's search bar. |
sounds | array | optional | TikTok sound links (tiktok.com/music/...) or numeric sound IDs. Returns videos that use each sound. |
maxVideosPerInput | integer | optional | Maximum number of videos to collect from each profile, hashtag, search keyword or sound. A video link always returns its one video. Capped at 100 per call. |
onlyPostsNewerThan | string | optional | Skip videos older than this. Use a date (2026-01-31) or a relative period (7 days, 2 weeks, 3 months). Applies to profiles, search keywords, hashtags and sounds, not to single video links. Profiles and searches sorted by newest stop as soon as they pass this date. |
searchSort | string | optional | How search keyword results are ordered. |
commentsPerVideo | integer | optional | Also collect up to this many top comments for every video, as separate rows with dataType "comment". 0 turns comments off. Billed as one fee per video whose comments are collected plus a small price per comment. |
includeProfileDetails | boolean | optional | For every username or profile link, also add one row with dataType "profile": bio, bio link, followers, following, total likes, video count, verification and avatar. |
Each result contains
| Field | Type | Description |
|---|---|---|
dataType | string | — |
videoId | string | — |
url | string | — |
caption | string | — |
creator | string | — |
creatorName | string | — |
creatorId | string | — |
secUid | string | — |
creatorVerified | boolean | — |
followers | integer | — |
plays | integer | — |
likes | integer | — |
comments | integer | — |
shares | integer | — |
saves | integer | — |
durationSeconds | integer | — |
postedAt | string | — |
hashtags | array | — |
mentions | array | — |
musicTitle | string | — |
musicId | string | — |
musicAuthor | string | — |
musicIsOriginal | boolean | — |
cover | string | — |
videoUrl | null | — |
isPinned | boolean | — |
isAd | boolean | — |
isPhotoPost | boolean | — |
photos | array | — |
sourceType | string | — |
sourceInput | string | — |
scrapedAt | string | — |
Pick your tool and connect in under a minute. Then just ask — for example: “What are the top 25 TikTok videos for 'protein coffee' this week, and what hooks do they use?”
Connect Claude
Web, desktop and mobile. One click, then confirm.
Adds the Sourcelane MCP server with your key as a header.
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
--header "Authorization: Bearer sl_live_your_agent_key"Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.
{
"mcpServers": {
"sourcelane": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.usesourcelane.com/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer sl_live_your_agent_key"
}
}
}
}Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).
{
"mcpServers": {
"sourcelane": {
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer sl_live_your_agent_key"
}
}
}
}Save as .vscode/mcp.json. VS Code prompts for your key once.
{
"servers": {
"sourcelane": {
"type": "http",
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer ${input:sourcelane-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "sourcelane-key",
"description": "Sourcelane agent key",
"password": true
}
]
}Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonOne POST. Pass maxResults to cap cost.
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"tiktok-scraper","params":{"startUrls":["https://www.tiktok.com/@khaby.lame/video/7709194461913419038"],"maxVideosPerInput":5},"maxResults":10}'Wrap the REST call as a tool, or point an MCP client at the endpoint.
import requests
res = requests.post(
"https://api.usesourcelane.com/v1/call",
headers={"Authorization": "Bearer sl_live_your_agent_key"},
json={
"listing": "tiktok-scraper",
"params": {"startUrls":["https://www.tiktok.com/@khaby.lame/video/7709194461913419038"],"maxVideosPerInput":5},
"maxResults": 10,
},
timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])—
0 reviews
Leave a review
Loading reviews…