---
title: tiktok-5.6B-videos
canonical_url: "https://www.modelscope.cn/datasets/datasocial/tiktok-5.6B-videos"
md_url: "https://www.modelscope.cn/datasets/datasocial/tiktok-5.6B-videos.md"
repository: datasocial/tiktok-5.6B-videos
last_updated: 2026-10-24
license: cc-by-nc-4.0
storage_size: "429 GB"
downloads: 2850
stars: 69
---

# tiktok-5.6B-videos

> tiktok-5.6B-videos - datasocial 在 ModelScope 开源的数据集。Telegram: @hashfunctiondev X: @hashfunction Email: hashfunction.dev@gmail.com

datasocial/tiktok-5.6B-videos 是 ModelScope 魔搭社区上的数据集，存储大小 429 GB，采用 cc-by-nc-4.0 许可。

- **Repository**: datasocial/tiktok-5.6B-videos
- **License**: cc-by-nc-4.0
- **Storage size**: 429 GB
- **Downloads**: 2850
- **Stars**: 69
- **Last updated**: 2026-10-24

Source: https://www.modelscope.cn/datasets/datasocial/tiktok-5.6B-videos

---

## Contact

Telegram: [@hashfunction_dev](https://t.me/hashfunction_dev)<br>
X: [@hashfunction](https://x.com/hashfunction)<br>
Email: [hashfunction.dev@gmail.com](mailto:hashfunction.dev@gmail.com)

<table width="100%">
<tr><th align="left"><font size="4">TikTok scraper source code</font></th></tr>
<tr><td><font size="3">
The code that collected these 5.6 billion videos.<br>
TikTok's mobile API: 24 endpoints, request signing, device registration.<br>
<b><a href="https://datasocial.ai/writing/scraping-mobile-api?ref=hf">Technical guide + source code →</a></b>
</font></td></tr>
</table>

## Columns

| Column | Type | Notes |
|---|---|---|
| `video_id` | UInt64 | tiktok.com/@_/video/{video_id} |
| `posted_at` | DateTime | UTC |
| `country` | String | region TikTok gives the video |
| `language` | String | `un` = undetermined |
| `type` | String | `video` or `photo` |
| `duration_ms` | UInt32 | 0 on photos |
| `image_count` | UInt8 | photo posts |
| `width`, `height` | UInt16 | pixels |
| `caption` | String | |
| `hashtags`, `hashtag_ids` | Array | lower-case, parallel arrays |
| `mentions` | Array(UInt64) | creator_ids |
| `on_screen_text` | Array(String) | text stickers |
| `sound_id` | UInt64 | 0 = none |
| `is_ad` | UInt8 | Spark Ads |
| `branded_content` | String | `paid_partnership`, `shop_affiliate` or empty |
| `product_id`, `seller_id` | UInt64 | TikTok Shop; 0 = none |
| `is_shop_video` | UInt8 | |
| `is_ai_generated` | UInt8, nullable | null = TikTok did not say |
| `not_recommended_for_fyp` | UInt8, nullable | TikTok keeps it off the For You page |
| `sound_muted` | UInt8 | audio removed for copyright |
| `views`, `likes`, `comments`, `shares`, `saves`, `downloads` | UInt64 | as of `stats_updated_at` |
| `engagement_rate` | Float32, nullable | (likes+comments+shares+saves) / views |
| `stats_updated_at` | DateTime | UTC |

Older videos come from an archive: some fields are 0 or null there (size, downloads, AI flag), and
duration is rounded to the second.

## License

[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/): free for research and personal use.
**Commercial use, creator profiles and daily updates: [datasocial.ai](https://datasocial.ai).**
