Skip to content
ScrapeField

TikTok video date

When a TikTok video was posted, to the second, read from the number in its URL. It runs in your browser: nothing is sent anywhere, and it is free.

The time is inside the id: nothing is sent anywhere.

How it works

A TikTok video’s id, the long number after /video/ in its URL, has the time in its top 32 bits: the seconds since 1 January 1970. Shift the id right by 32 bits and you have it.

It is the moment the upload began, usually a few seconds before the time TikTok shows: 5 to 10 seconds on the videos we checked.

The same in your own code:

// a TikTok video's id: its top 32 bits are seconds since 1970, when the upload began
const videoDate = (id: string) => new Date(Number(BigInt(id) >> 32n) * 1000);

videoDate('7643923087913651479').toISOString(); // '2026-05-25T20:05:32.000Z'

The rest of the post

The id gives the time and nothing else. GET /v1/tiktok/video gives the whole post: its caption, author, views, likes, comments, shares and music. A call costs 3 credits, $2.34 per 1,000 on the smallest pack, and with no key it answers from the demo. Every endpoint is on the ScrapeField TikTok API page.

Questions

Does it work with a short link?

Not directly: a vm.tiktok.com link has no id in it. Open it once, and paste the full address it leads to.

Does it work for a deleted video?

Yes. The time is in the id, and the id stays in the video’s link after the video is gone.

Is the time exact?

To the second, and it is when the upload began. TikTok’s own create_time is usually a few seconds later.