Tik Tok

Introduction

The TikTok API provides seamless access to a variety of data and functionalities on TikTok. You can retrieve posts, hashtags, user information, and more. It is designed to help you explore and analyze TikTok's rich ecosystem effectively.

  • Base URL: https://api.webit.live/api/v1/realtime/social/tiktok/v1

Key Endpoints

Search: The Search endpoints allow you to explore TikTok content based on keywords or hashtags:

  • Search for Hashtags: Retrieve similar hashtags based on a keyword, including details like ID, use count, and view count. Use these IDs to search for related posts.

  • Search for Posts by Keyword: Perform keyword-based searches to find posts, with options to specify a country for localized results. Get comprehensive data, including post content, statistics (likes, views, comments), author info, and music info.

  • Search for Posts by Hashtag ID: Use a hashtag ID (retrieved via "Discover Hashtags") to fetch posts with detailed metadata, including content, statistics, and author details.

Posts: The Posts endpoints provide in-depth access to post data and interactions:

  • Fetch Post Info by ID: Retrieve detailed information about a post, including text, hashtags, media, statistics, author, and music details.

  • Get Comments by Post ID: Access the list of comments for a post, including their content, author details, and sub-comments.

  • Get Sub-Comments by Comment ID: Fetch replies to a specific comment, providing content, author info, and additional statistics.

User: The User endpoints enable detailed exploration of TikTok profiles:

  • Get User Info by Sec ID: Retrieve profile details such as name, bio, profile photo, statistics, and connected social accounts.

  • Fetch User's Feed by Sec ID: Access a user's public posts, including all associated metadata such as text, hashtags, media, and statistics.

  • Retrieve Followers and Following Lists: Get lists of followers or followed accounts with their basic information and Sec IDs for further exploration (up to 5000 results).

Last updated