Skip to main content
NEW AI Studio is now available Try it now
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. Powered by 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 Documentation Free tier — no credit card
tiktok.com target
Akamai bypass anti-bot
Trending data included
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 3 steps

01

Get your API key

Sign up for free and get 1,000 credits instantly.

02

Configure your scrape

Set your target URL, output format, and stealth level.

03

Extract structured data

Get clean JSON back in seconds — ready for your pipeline.

Fetch API

Structured data endpoint

Extract structured JSON from tiktok.com with a single POST request. AI-configured selectors, cached for fast repeat calls.

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 people 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.

Start extracting tiktok.com data today

1,000 free credits — no credit card required

Extraction

Data you can extract

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 choose Spider for tiktok.com

$0 to start

Free tier with 1,000 credits. No credit card required to get started.

No rate limits

Scale to millions of pages. Pay only for what you use.

Credits never expire

Unlike competitors, unused credits roll over indefinitely.

FAQ

Common questions about 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

Join Zapier, Swiss Re, and 10,000+ developers

Start scraping tiktok.com

Get your API key and start extracting data in minutes.