# TikTok Scraping Options
TikTok is unusual among the platforms here in that it runs an official, free API specifically for research use — worth checking before reaching for a scraper.
# Official Route: TikTok's Research API
- Research API (opens new window) — gives approved non-profit/academic researchers access to public videos, comments and account data (likes, comments, transcripts, follower counts) for research into misinformation, social trends and similar topics. Requires an application and ethical-review evidence; not open to commercial use.
# Commercial Scraping Services
- Bright Data — TikTok Data Extraction (opens new window) — managed endpoints for profiles, posts and TikTok Shop listings, returned as structured JSON; handles proxies and CAPTCHAs.
- Apify — TikTok Scraper (Clockworks) (opens new window) — one of the longest-running TikTok actors on Apify, covering videos, hashtags and profiles by URL or search.
- RapidAPI — TikTok Scraping (TTAPI) (opens new window) — a RapidAPI marketplace listing billed per request.
Priced on usage and limited to publicly visible data — check current terms before committing to a plan.
# Open-Source Options
- TikTok-Api (opens new window) (Python) — a long-running, actively maintained unofficial wrapper for reading TikTok data (no posting/authenticated actions). MIT-licensed with thousands of stars.
- PHPScraper itself can fetch public TikTok pages, but TikTok's heavy client-side rendering and bot detection make this unreliable without a headless browser on top.
# Real-World Use Cases & Case Studies
- A guide to collecting TikTok Research API data for academics (opens new window) — a hands-on walkthrough of authenticating against and querying the official Research API with Python, useful as a starting point for the request/pagination structure.