TikTok Post API
Get one TikTok post as JSON from its numeric id or its tiktok.com link: caption, date, duration, cover, media URL, counts, author, music, hashtags and mentions, and whether it has captions.
Cost: 1 credit per successful call (free from cache). A post that does not exist answers 404 user_not_found and is free.
Parameters
postpathrequiredPost id (
7300000000000000123) or a URL-encoded tiktok.com/@user/video/<id> or /photo/<id> link.freshqueryoptionaltrue skips the cache.rawqueryoptionaltrue returns TikTok's own JSON in data (same price).FAQ
Can I pass the TikTok link instead of the id?
Yes. URL-encode it into the path: /v1/tiktok/posts/https%3A%2F%2Fwww.tiktok.com%2F%40user%2Fvideo%2F7300000000000000123.