Get a single TikTok video.
Endpoint
/v1/tiktok/videos
Query
Link to the video or photo post.
Optional two-letter region (country code) used to route the request when needed.
When true, returns a smaller response with fewer fields.
When true, includes hosted CDN URLs in `downloads` when available. Adds 10 credits (11 total with the base lookup) on successful lookups, even if `downloads` is empty.
When true, includes the video transcript (WEBVTT) in `transcript` when one is available.
const response = await fetch( "https://api.socialfetch.dev/v1/tiktok/videos?url=https://www.tiktok.com/@mrbeast/video/7596844935442189598", { headers: { "x-api-key": "YOUR_API_KEY", } } ); const data = await response.json(); console.log(data);