Datasets:
You need to agree to share your Hugging Face information to access this dataset
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
by downloading this dataset, you agree with the dataset license
Log in or Sign Up to review the conditions and access this dataset content.
TikTok scrape
billions of public comments on over 20 million TikTok videos since 2018. comments are updated daily, everything else monthly.
from datasets import load_dataset
comments = load_dataset("tiagozip/tiktok", "comments", split="train", streaming=True)
videos = load_dataset("tiagozip/tiktok", "videos", split="train", streaming=True)
format
| config | rows | notes |
|---|---|---|
| comments | 3.2B+ | see below |
| videos | 23M+ | one file per month the video was posted |
| repost_edges | 54M+ | who reposted which video, by month first seen |
| users | 300k+ | users whose reposts were crawled |
comments
comments scraped before 2026-10-21 are split by the month they were posted, in data/comments/created=YYYY-MM/*.parquet. comments scraped after that are split by scrape day, in data/comments/fetched=YYYY-MM-DD/*.parquet. a comment that was scraped again shows up once per scrape, so dedupe on cid and keep the latest fetched_at.
| column | type | notes |
|---|---|---|
cid |
uint64 | comment id |
aweme_id |
uint64 | video id, joins to videos.id |
reply_id |
uint64 | 0 when not a reply |
reply_to_reply_id |
uint64 | 0 when not a reply to a reply |
text |
string | |
create_time |
datetime | UTC |
digg_count |
int64 | likes, counter at fetch time |
reply_comment_total |
int64 | same |
comment_language |
string | TikTok's guess |
author_pin |
bool | pinned by the video author |
is_author_digged |
bool | liked by the video author |
user_hash |
uint64 | keyed hash of the commenter, not their id |
user_enc |
binary | the commenter's id and name, encrypted. only the maintainer holds the key |
mentions |
list[string] | |
hashtags |
list[string] | |
fetched_at |
datetime |
videos
id, author_sec_uid, author_unique_id, author_uid, description, create_time, duration,
digg_count, comment_count, play_count, share_count, collect_count, music_id, music_title,
challenges, text_language, is_ad, fetched_at.
repost_edges and users
reposter_hash and sec_hash / uid_hash use the same keyed hash as comments.user_hash, so they join to each other but not back to TikTok accounts.
what this is not
not complete. comments were crawled per video, so this covers the videos that were crawled, not all of TikTok.
engagement counts are snapshots. every counter is whatever it read at
fetched_at.
license
disclaimers
access can be revoked at any time and all data is provided as-is. this dataset contains personal information about real people, a lot of whom are not public figures. this dataset is not a reflection of the views of the author or the institutions they are affiliated with. please be respectful. every comment in this dataset was publicly readable at the time it was fetched.
TikTok and associated marks are trademarks of their respective owners. this dataset is independent and unaffiliated.
opting out
email legal@tiago.zip with your username and your data is removed from the next update.
citation
@misc{tiktok,
title = {tiktok: a corpus of public TikTok comments},
author = {tiagozip},
year = {2026},
url = {https://huggingface.co/datasets/tiagozip/tiktok}
}
- Downloads last month
- 1,188