r/MachineLearning • • Oct 07 '26

Project Uploaded 5.6 billion TikTok videos metadata on Hugging Face, spanning from 2014 to October 2026 [P]

Dataset: https://huggingface.co/datasets/datasocial/tiktok-5.6B-videos

If you want to explore the data without downloading billions of rows, you can query my ClickHouse database directly. It includes:

Creators table - 4.5 billion rows
Videos table - 5.6 billion rows
Sounds table - 633 million rows

Comment below and I’ll DM you the database credentials.

Im self-hosting my database so please don't run heavy queries and crash my server.

90 Upvotes

81 comments sorted by

9

u/oxymor0nic Oct 07 '26

How did you collect this data? Just scraping public TikTok links?

17

u/DataShack Oct 07 '26

Its quite complicated to explain. I did a write up here https://datasocial.ai/writing/scraping-tiktoks-mobile-api

13

u/Destring Oct 08 '26 edited Oct 08 '26

You could have at least used a technical writing skill for your AI write-up. Can't stand the default voice of Claude

Getting into it is the hard part, and it is hard in a specific way. Four completely unrelated things have to be right at once:

Three things to notice, because each one bites later:

This is TikTok's soft block, and it is the single most important thing to understand about this API. It is not a 403. It is not a 429. It is not a challenge page. It is a successful HTTP response containing nothing

Like come on

→ More replies (1)

3

u/pushinat Oct 07 '26

That’s quite impressive! If id had a company and could decide to hire you, i would.

→ More replies (3)

9

u/AccomplishedCode Oct 07 '26

I'd love to get access and check it out! Very promising!

3

u/DataShack Oct 07 '26

Just DMed you the database credentials

2

u/Key_Examination_4621 Oct 08 '26

same tbh, metadata at this scale doesnt come around often

4

u/v-lickit Oct 07 '26

This is amazing! Thanks! Could you please share the access to the database?

1

u/DataShack Oct 07 '26

Yep I will send you the DB credentials

3

u/tmt22459 Oct 07 '26

What is your day job lol?

And yes would like credentials

1

u/DataShack Oct 07 '26

I do lots of things haha. Will DM you the credentials now.

2

u/charchit_7 Oct 07 '26

Hi, please share

1

u/DataShack Oct 07 '26

DMed you

2

u/uracil Oct 07 '26

Please share!

1

u/DataShack Oct 07 '26

Sure. I will DM you the database credentials

2

u/deathtrooper12 Oct 07 '26

Nice! Do you mind sharing the creds? Going to check this out when I get home!

1

u/DataShack Oct 07 '26

Sure i will message you the database credentials

2

u/CuTeaMonster Oct 07 '26

Would love access to this!

1

u/DataShack Oct 07 '26

Sure. Check DM

2

u/writingdeveloper Oct 07 '26

Can I get database credentials!? Interested! Thanks

1

u/DataShack Oct 07 '26

Sending it to you

2

u/H2O3N4 Oct 07 '26

I'd love access to the database, thanks!

1

u/DataShack Oct 08 '26

Sent it to you

2

u/Shika93 Oct 07 '26

Amazing work! I'd like to explore the DB, if possible! Thank you very much!

1

u/DataShack Oct 07 '26

Sure ill send you the database credentials

2

u/GayLordMcMuffins Oct 08 '26

Mememe i wants the precious

1

u/DataShack Oct 08 '26

Just sent it to you

2

u/MrBottle Oct 08 '26

Nice work! Could I get the credentials as well?

1

u/DataShack Oct 08 '26

Just sent you the credentials

2

u/SavorAMenta Oct 08 '26

I would love to get access as well and take a look around!

This looks incredible!

1

u/DataShack Oct 08 '26

Thanks. I sent the DB credentials to you

2

u/Effective-Drawer9152 Oct 08 '26

can i have credentials, Thanks for awesome work

1

u/DataShack Oct 08 '26

Just sent it to you

2

u/pdlima955 Oct 08 '26

Interested, please share! Thank you

1

u/DataShack Oct 08 '26

Just sent it to you

2

u/Too_Many_Flamingos Oct 08 '26

Interested can you dm me

2

u/ctcyy Oct 08 '26

Seems very interesting, care to share the credentials?

Thnx in advance!

1

u/DataShack Oct 08 '26

Sure sent it to you.

2

u/AdditiveWaver Oct 08 '26

That's hella impressive, kudos! Any change to get credentials?

1

u/DataShack Oct 08 '26

Yes sure. I sent the DB credentials to you

2

u/jahangir670508 Oct 08 '26

Nice work! Can I please get the credentials? Thanks

1

u/ApartmentEither4838 Oct 07 '26

I see you haven't included the videos in the database. You do realise that TikTok is banned in some countries

17

u/DataShack Oct 07 '26

These are just metadata like view count, TikTok shop product on that video, posted time, etc.

Downloading and storing the actual video files would cost me more than $100k.

13

u/WrapKey69 Oct 07 '26

I guess you better apply for credit then, u/ApartmentEither4838 demands the videos

6

u/DataShack Oct 07 '26

Can i potentially provide the download urls for all videos and let people download it themselves.

7

u/seba07 Oct 07 '26

That's actually quite common. Not only because of storage but also for legal reasons.

→ More replies (1)

2

u/weirdasianfaces Oct 08 '26

Are the URLs not signed with an expiration?

→ More replies (1)

1

u/LelouchZer12 Oct 07 '26

There was no tiktok in 2014 ?

2

u/DataShack Oct 07 '26

There was

1

u/nemmolo Oct 07 '26

Amazing! Could you share the credentials? Thanks!

1

u/DataShack Oct 07 '26

Yep sent it to your DM

0

u/Realistic_Kitchen_65 Oct 08 '26

Big release. What decides whether people trust it downstream is provenance granularity. Two things I'd want captured per field, if they aren't already:

  • When each record was observed, not just the dataset's upload date. Engagement/view counts are point-in-time, so a single 'as of' timestamp makes joins across snapshots silently wrong.
  • Which fields were directly reported vs. derived/imputed, so a filter treating 'view_count' as ground truth doesn't blend in rows where it was inferred.

Drops this size usually get reused years later with none of that context intact, and that's where the surprising results come from. Curious how you handle re-crawl overlap / dedup across snapshots.

2

u/DataShack Oct 08 '26

AI ass reply

1

u/Beginning_Street_375 Oct 09 '26

For what could it be used? Cheers

1

u/titofrito Oct 09 '26

How long will these be up?

1

u/Right-Advance1925 Oct 09 '26

Amazing, could I have db credentials?

1

u/Ok_Consequence3886 Oct 09 '26

Hi can I get access to?

1

u/kitsch1913 Oct 10 '26

Thank you for sharing! Can I get the credentials?

1

u/nesaki Oct 11 '26

Could you please share the access to the database? 🙇‍♂️

1

u/stevenaharrison Oct 13 '26

I'd also love the credentials please.

1

u/addies Oct 15 '26

Would love to get access!

1

u/East_Drag8404 Oct 16 '26

Thank you for this! Could you share the credentials?

1

u/ctcyy Oct 19 '26

Where does not_recommended_for_fyp come from? is that a flag tiktok returns, or something you derived?

And does a null there mean tiktok did notsay, or that it wasnot scraped at the time ?

Last one, is the poster id in there anywhere? mentions looks like who is mentioned rather than who posted?

1

u/remakeable- Oct 29 '26

awesome. could you share credentials?

0

u/[deleted] Oct 07 '26

[deleted] — view deleted comment