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
public comments on over 20 million TikTok videos since 2018. comments are exported every day, everything else every 6th of each month. tiago.zip/datasets
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.no comments were scraped from 2026-11-22 15:57 UTC to about 07:00 UTC on 2026-12-02. the scraper was stopped, so there are no
fetched=folders for 2026-11-23 to 2026-12-01.
license
tiago.zip/license, version 1.2. in short:
- research, publishing, and training or evaluating ML models are all fine, and none of it needs approval.
- commercial use is fine too, but email hi@tiago.zip first saying who you are, which dataset you're using and what for.
- credit "Data from tiago.zip/datasets" wherever people see your work, whether that's a paper, a post, an app or a model card.
- don't republish, sell, mirror or rehost the data. link to tiago.zip/datasets instead.
- don't use it to identify, track, profile or harass anyone.
- when you get a removal notice, delete those records from your copies within seven days.
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
you may opt out at optout.tiago.zip.
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
- 35,142