Skip to main content gottem  — one API for every scraper.
Social
Verified

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.

Get started Docs
target
tiktok.com
anti-bot
Akamai bypass
included
Trending data
Quick start

Extract data in minutes.

tiktok-social-scraper.ts
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();
ready to run · spider-browser · TypeScript
How it works

Start extracting tiktok.com data in three steps.

01

Get an API key

Sign up free and a balance is credited to your account.

02

Configure the call

Set the target URL, output format, and rendering mode.

03

Get structured data

Clean JSON back in seconds, ready for your pipeline.

Fetch API

One endpoint for tiktok.com.

Structured JSON from tiktok.com with a single POST. AI-resolved selectors, cached on the first call.

POST /fetch/tiktok.com/
Video captionCreatorLikesCommentsSharesViews
cURL
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"}'
Python
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())
Node.js
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);
Use cases

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.

Extraction

Fields you can pull.

Video captionCreatorLikesCommentsSharesViewsSound nameHashtags
Stealth

Akamai bypass

Residential proxy rotation and fingerprint randomization to reliably access TikTok despite Akamai bot detection.

Rendering

Dynamic content

Full browser rendering for TikTok's SPA — handles lazy-loaded videos, infinite scroll, and dynamic feeds.

Data

Video & creator data

Structured JSON with video metadata, engagement metrics, creator profiles, sounds, and hashtags.

Why Spider

Why teams pick Spider for tiktok.com.

Pricing
$0 to start

Free balance on sign-up. No credit card required to test.

Scale
Pay per page

About $0.08 per 1,000 pages on a datacenter-proxy workload. No monthly minimum.

Balance
Never expires

Top up once, use it whenever. Unused balance carries over forever.

Common questions

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.

Related

More Social scrapers.

Start

Start scraping tiktok.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.