TikTok scraper API
TikTok's Research API is restricted to approved academics. Sourcelane gives your agent public TikTok data on demand — video stats by URL, a profile's latest videos, user profiles and keyword search — as structured JSON, priced per result.
From $0.007 per result · no API key · failed calls refunded
What you get
- Video stats: views, likes, comments, shares
- Author info, music metadata and hashtags
- A profile's most recent videos
- User profiles with follower counts and bio
- Keyword and hashtag search results
Just ask your AI
“Pull the last 30 videos from @duolingo and tell me which hooks get the most views.”
“Search TikTok for 'protein coffee' and summarise the top 20 videos.”
Connectors behind it
Your AI picks the right one for the question. Each is priced per result and refunded if it fails.
idwebVideoUrldesccreateTimeISOlocationCreatedisAdTikTok Profile Posts Scraper$0.006 per videoScrape a TikTok profile's most recent videos - descriptions, engagement stats, hashtags, cover images, and music for every post in its current feed.idwebVideoUrldesccreateTimeISOregionhashtagsTikTok User Scraper$0.005 per resultScrape TikTok user profiles by username extract follower counts, stats, bio, verification status, and account metadata for any public TikTok account.usernameidsecUidnicknameverifiedprivateAccountTikTok Search Scraper$0.002 per resultSearch TikTok by any keyword and scrape matching videos with views, likes, author stats, hashtags, and music — no login required.keywordpositionvideoIdvideoUrldescriptionhashtagsUse the TikTok scraper API from Claude, ChatGPT or Cursor
Pick your tool and connect in under a minute. Then just ask — for example: “Pull the last 30 videos from @duolingo and tell me which hooks get the most views.”
Connect Claude
Web, desktop and mobile. One click, then confirm.
- 1Click Add to Claude — claude.ai opens with Sourcelane filled in
- 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +
Claude Code
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"Claude Desktop (config file)
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"
}
}
}
}Cursor & Windsurf
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"
}
}
}
}VS Code
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
}
]
}ChatGPT Custom GPT (Actions)
Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonREST
One 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-video-scraper","params":{"postURLs":["https://www.tiktok.com/@tiktokcreators/video/7630922277026090254"]},"maxResults":10}'Python, LangChain, CrewAI, OpenAI Agents SDK…
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-video-scraper",
"params": {"postURLs":["https://www.tiktok.com/@tiktokcreators/video/7630922277026090254"]},
"maxResults": 10,
},
timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])TikTok scraper API — FAQ
Do I need a TikTok developer account?+
No. Sourcelane runs the connectors; you only need a Sourcelane agent key or a Claude/ChatGPT connection.
Can I download the video files?+
The TikTok Video Scraper returns direct media links along with the stats for each public video.
Do I need a TikTok API key or developer account?+
No. Sourcelane runs the connectors for you. You top up a balance with a card, create an agent key, and your agent calls the connector — there is no TikTok app review, OAuth setup or rate-limit juggling on your side.
Which AI tools can use it?+
Anything that speaks MCP (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf) can connect to the Sourcelane MCP server with one config block. ChatGPT can use it through a Custom GPT Action, and any agent framework can call the REST endpoint directly.
Can I stop an agent from overspending?+
Yes. Every agent key has its own per-call cap, daily and monthly limits, an optional lifetime budget, an allowlist of connectors, and a kill switch.

