- ‣:{: {…}, : Array(20)}
TikTok provides various endpoints to access popular videos. Through these endpoints, users can discover and watch the platform's most popular videos. The endpoints can filter videos based on user preferences, rank them by engagement rate, and provide access to specific categories or trends. This is a valuable feature for users who want to access popular content on TikTok. The endpoints are available through the API, offering developers flexibility to access popular videos on the platform.
1
2
3
4
5
6
7
8
async function Main() {
// get trending videos from turkey page 1 limit 20 period 7 days
const trending = await TiktokDiscovery.getTrendingVideos("TR", 1, 20, 7);
console.log(trending);
}
Main();
TikTok provides an endpoint to access popular hashtags. Through this endpoint, users can discover the platform's most popular hashtags and view videos associated with these hashtags. The endpoint can be used to filter and rank hashtags based on current trends, category, or engagement rate. This feature enables users to easily access engaging content through popular hashtags. The endpoint is available through the API, offering developers flexibility to access popular hashtags on TikTok.
1
2
3
4
5
6
7
8
async function Main() {
// get trending hastags from turkey page 1 limit 20 period 7 days
const trending = await TiktokDiscovery.getTrendingHastag("TR", 1, 20, 7);
console.log(trending);
}
Main();
TikTok provides an endpoint to access popular songs. Through this endpoint, users can discover the platform's most popular songs and view videos associated with these songs. The endpoint can be used to filter and rank songs based on trends, category, or engagement rate. This feature enables users to easily access engaging content through popular songs. The endpoint is available through the API, offering developers flexibility to access popular songs on TikTok.
1
2
3
4
5
6
7
8
async function Main() {
// get trending songs from turkey page 1 limit 20 period 7 days
const trending = await TiktokDiscovery.getTrendingSongs("TR", 1, 20, 7);
console.log(trending);
}
Main();
TikTok provides an endpoint to access popular content creators. Through this endpoint, users can discover the platform's most popular content creators and view their videos. The endpoint can be used to filter and rank content creators based on follower counts, engagement rates, or categories. This feature allows users to explore and follow popular content creators. The endpoint is available through the API, offering developers flexibility to access popular content creators on TikTok.
1
2
3
4
5
6
7
8
async function Main() {
// get trending creators from turkey page 1 limit 20 period 7 days
const trending = await TiktokDiscovery.getTrendingCreators("TR", 1, 20, 7);
console.log(trending);
}
Main();