Endpoint
/v1/tiktok/videos/download
Query
Link to the video or photo post.
Optional ISO 3166-1 country code used to route the request when needed.
const response = await fetch( "https://api.socialfetch.dev/v1/tiktok/videos/download?url=https://www.tiktok.com/@mrbeast/video/7596844935442189598", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);