TikTok Social Scraper API
Extract video metadata, creator profiles, engagement metrics, and trending sounds from TikTok. Stealth browsing bypasses TikTok's aggressive anti-bot and Akamai protection. Built on spider-browser .
TikTok's rapid growth makes it essential for social listening, trend analysis, and influencer marketing. Spider renders TikTok's dynamic interface and extracts structured data from creator profiles, video feeds, and trending pages.
- target
- tiktok.com
- anti-bot
- Akamai bypass
- included
- Trending data
Extract data in minutes.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
stealth: 2,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.tiktok.com/@nasa");
await page.content(12000);
const data = await page.evaluate(`(() => {
const videos = [];
document.querySelectorAll("[data-e2e='user-post-item']").forEach(el => {
const caption = el.querySelector("[data-e2e='video-desc']")?.textContent?.trim();
const views = el.querySelector("[data-e2e='video-views']")?.textContent?.trim();
const link = el.querySelector("a")?.href;
if (caption || views) videos.push({ caption: caption?.slice(0, 200), views, link });
});
return JSON.stringify({ total: videos.length, videos: videos.slice(0, 10) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Start extracting tiktok.com data in three steps.
Get an API key
Sign up free and a balance is credited to your account.
Configure the call
Set the target URL, output format, and rendering mode.
Get structured data
Clean JSON back in seconds, ready for your pipeline.
One endpoint for tiktok.com.
Structured JSON from tiktok.com with a single POST. AI-resolved selectors, cached on the first call.
curl -X POST https://api.spider.cloud/fetch/tiktok.com/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"return_format": "json"}' import requests
resp = requests.post(
"https://api.spider.cloud/fetch/tiktok.com/",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
json={"return_format": "json"},
)
print(resp.json()) const resp = await fetch("https://api.spider.cloud/fetch/tiktok.com/", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data); What teams build with tiktok.com data.
Trend Detection
Track trending sounds, hashtags, and content formats to spot viral trends before they saturate the market.
Influencer Vetting
Analyze creator engagement rates, follower growth, and content consistency to identify authentic influencer partners.
Competitive Intelligence
Monitor competitor TikTok strategies — posting frequency, content themes, and engagement benchmarks.
Content Research
Study high-performing video formats, captions, and hashtag strategies to inform your own TikTok content plan.
Fields you can pull.
Akamai bypass
Residential proxy rotation and fingerprint randomization to reliably access TikTok despite Akamai bot detection.
Dynamic content
Full browser rendering for TikTok's SPA — handles lazy-loaded videos, infinite scroll, and dynamic feeds.
Video & creator data
Structured JSON with video metadata, engagement metrics, creator profiles, sounds, and hashtags.
Why teams pick Spider for tiktok.com.
Free balance on sign-up. No credit card required to test.
About $0.08 per 1,000 pages on a datacenter-proxy workload. No monthly minimum.
Top up once, use it whenever. Unused balance carries over forever.
Scraping tiktok.com.
Can I scrape TikTok without an account?
Yes. Spider extracts data from public TikTok profiles, video pages, and trending feeds that are visible without login.
How does Spider handle TikTok anti-bot?
Spider uses residential proxies, browser fingerprint rotation, and real Chrome rendering to bypass TikTok's Akamai-powered bot detection.
What TikTok data can I extract?
Video captions, view counts, likes, comments, shares, creator profiles, follower counts, sound names, and hashtags.
Can I scrape TikTok search results?
Yes. Spider renders TikTok search pages and extracts video results for any keyword, hashtag, or user query.
More Social scrapers.
Reddit Scraper
Extract subreddit posts, comments, vote counts, and user data from Reddit. The fastest Reddit scraping API with full JavaScript rendering for new Reddit and old Reddit layouts.
LinkedIn Scraper
Extract public company profiles, employee counts, job listings, and professional data from LinkedIn. The most reliable LinkedIn scraping API with residential proxy rotation and stealth browsing to handle aggressive anti-bot protection.
Twitter/X Scraper
Extract tweets, user profiles, engagement metrics, and trending topics from X (formerly Twitter). Full stealth browsing with residential proxies to handle X's aggressive bot detection.
Start scraping tiktok.com.
Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.