TikTok API for latest video

Asked Apr 18, 2023·1 reply·Last activity 3 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Is there an API available to use in a ! command for fetching the latest video uploaded to tikok?

1 reply

Hey @Topaz Leopard!

There isn't, for a good reason: the endpoints aren't open, meaning that for a user to fetch the URL of their last video, they need to authenticate with TikTok first.

But if you want, you can set it up using this endpoint, then once you have the response, you can get the last video's link like this: response.data.videos[0].share_url