TikHub Complete (149 Endpoints) icon

TikHub Complete (149 Endpoints)

Access ALL 149 TikHub social media data endpoints for TikTok (64), Instagram (56), YouTube (16), and X/Twitter (13)

Actions64

Overview

This node, named "TikHub Complete (149 Endpoints)", provides unified access to a wide range of social media data endpoints across four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It supports 64 TikTok endpoints, 56 Instagram endpoints, 16 YouTube endpoints, and 13 X/Twitter endpoints, enabling users to retrieve various types of data such as videos, user profiles, analytics, posts, stories, reels, tweets, channels, and search results.

The specific operation "Get video search results of specified keywords" for the TikTok platform allows users to search TikTok videos by keyword with options to control pagination, sorting, and filtering preferences. This is useful for marketers, content creators, or analysts who want to discover trending or relevant TikTok videos based on specific keywords and criteria.

Practical examples:

  • A marketing team can use this node to find popular TikTok videos related to a product or campaign keyword.
  • Social media analysts can gather video data filtered by publish time or sorted by follower count to analyze trends.
  • Content creators can discover inspiration by searching for videos matching certain hashtags or topics.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
关键词/Keyword The keyword to search for TikTok videos. Required.
偏移量/Offset Offset for pagination in search results. Optional. Range: 1 to 1000. Default: 20
数量/Number Number of results to return. Optional. Range: 1 to 1000. Default: 20
排序类型/Sort type Sort type for the search results. Optional. Range: 1 to 1000. Default: 20
发布时间/Publish time Filter videos by publish time. Optional. Range: 1 to 1000. Default: 20
根据粉丝数排序/Sort by number of followers Sort results by number of followers. Optional string value.
根据账号类型排序/Sort by account type Sort results by account type. Optional string value.
根据其他偏好排序/Sort by other preferences Sort results by other user-defined preferences. Optional string value.

Note: The properties are shown only when the platform is set to TikTok and the operation is "searchresult".

Output

The node outputs an array of JSON objects representing the search results from the TikTok video search API. Each item corresponds to a video or related data returned by the endpoint. The exact structure depends on the TikTok API response but generally includes video metadata such as video ID, description, author info, statistics, publish time, and URLs.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for the TikHub API service.
  • The node makes HTTP requests to https://api.tikhub.io.
  • Proper configuration of the TikHub API credential in n8n is necessary for authentication.

Troubleshooting

  • Unknown operation error: If the selected operation is not recognized for the chosen platform, the node throws an error indicating the unknown operation. Ensure the operation name matches one of the supported endpoints.
  • Missing required parameters: The keyword parameter is required for the TikTok search operation. Omitting it will likely cause errors or empty results.
  • API request failures: Network issues, invalid credentials, or rate limits may cause request failures. Check API key validity and network connectivity.
  • Invalid parameter values: Parameters like offset, count, sort_type, and publish_time have defined ranges. Values outside these ranges might cause errors or unexpected behavior.
  • Use the "Continue On Fail" option to handle errors gracefully and continue processing multiple items.

Links and References

  • TikHub API Documentation (general reference for the API base URL)
  • TikTok official developer resources (for understanding video data fields)
  • n8n documentation on creating and using custom nodes and credentials

Discussion