# How a Researcher Scraped 4.5B TikTok Videos by Reverse-Engineering the App's Private API

Original title: 4.5B Posts Scraped from TikTok

> Hacker News story 49548625 · language: en · submitted 2026-09-03
> Web version: https://zeli.app/story/49548625
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 54 · by [TheOnlyWayUp](<https://news.ycombinator.com/user?id=TheOnlyWayUp>) · 💬 61
[original](<https://tiktok-api.seeksocial.io/>) · [HN discussion](<https://news.ycombinator.com/item?id=49548625>)

## Summary

A technical deep dive into scraping TikTok's mobile API, which is faster and richer than the web endpoints. The author details the four prerequisites for success: a valid device credential, request signature, regional host, and TLS fingerprint. They also share a free dataset of 4.5 billion videos on Hugging Face, collected using this method.

## Key quote

> A device that registered and then immediately started querying the API is, from ByteDance's side, an install that never launched.

## HN discussion (61 comments)

### [1vuio0pswjnm7](<https://news.ycombinator.com/item?id=49552916>)

> 1787990085 | X and Meta's past data scraping lawsuit losses and how it would relate to nitter | https://www.reuters.com/legal/musks-x-corp-loses-lawsuit-aga... | https://news.ycombinator.com/item?id=49487864
>
> Perhaps Google can succeed where others like Meta and X have failed, or perhaps not
>
> https://storage.courtlistener.com/recap/gov.uscourts.cand.46...

### [Retr0id](<https://news.ycombinator.com/item?id=49548876>)

> Can any brave soul wade through the LLM prose to provide a human-readable summary?

### [moinism](<https://news.ycombinator.com/item?id=49548968>)

> \> Everything described here is a private Go repository. One-time payment, permanent access, complete source.
>
> \> $699 one time · lifetime access
>
> Not open-source apparently.
>
> And I cant find the reddit post but I think I read that videos/assets are not actually pre-downloaded, they have to be requested through Tiktok API using the provided code. So if Tiktok patches, the code will need updates too.

### [nomilk](<https://news.ycombinator.com/item?id=49549056>)

> \> Three things to notice, because each one bites later:
>
> Very LLMish language!

### [smallerize](<https://news.ycombinator.com/item?id=49548857>)

> There's no way this dataset is going to survive on HF, right? It will be hit with so many DMCA takedowns.

---

## Cite

- Page: https://zeli.app/story/49548625
- Date: 2026-09-03
- Source: tiktok-api.seeksocial.io (https://tiktok-api.seeksocial.io/)
- Hacker News: https://news.ycombinator.com/item?id=49548625

## Other languages

- zh: https://zeli.app/zh/story/49548625 · markdown: https://zeli.app/zh/story/49548625.md
- ja: https://zeli.app/ja/story/49548625 · markdown: https://zeli.app/ja/story/49548625.md
- ko: https://zeli.app/ko/story/49548625 · markdown: https://zeli.app/ko/story/49548625.md
- de: https://zeli.app/de/story/49548625 · markdown: https://zeli.app/de/story/49548625.md
- es: https://zeli.app/es/story/49548625 · markdown: https://zeli.app/es/story/49548625.md
- ru: https://zeli.app/ru/story/49548625 · markdown: https://zeli.app/ru/story/49548625.md
