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 comprehensive data retrieval such as videos, users, analytics, posts, stories, reels, channels, tweets, timelines, and more.

The specific operation "Get comprehensive search results of specified keywords" allows users to perform keyword-based searches on the selected platform (in this case, TikTok) and retrieve detailed search results with various filtering and sorting options.

Common scenarios where this node is beneficial:

  • Marketing teams analyzing trending content or hashtags on TikTok.
  • Social media managers searching for relevant user-generated content.
  • Data analysts gathering insights on video performance or user engagement.
  • Developers building dashboards or reports based on social media search data.

Practical example:
A marketer wants to find the top 20 TikTok videos related to "fitness tips," sorted by publish time, starting from an offset of 0. They configure the node with the platform set to TikTok, operation to the search result, keyword to "fitness tips," count to 20, offset to 0, and specify sorting preferences. The node returns a list of matching videos with metadata for further processing.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
关键词/Keyword The keyword to search for on the selected platform (required for TikTok search operation).
偏移量/Offset Offset for pagination; defines the starting point of the search results (default 20).
数量/Number Number of results to return (default 20).
排序类型/Sort type Sort type identifier to order the search results (numeric value, optional).
发布时间/Publish time Filter or sort by publish time (numeric value, optional).
根据粉丝数排序/Sort by number of followers Sort results based on the number of followers (string, optional).
根据账号类型排序/Sort by account type Sort results based on account type (string, optional).
根据其他偏好排序/Sort by other preferences Sort results based on other user-defined preferences (string, optional).

Note: All properties except "Platform" and "Keyword" are optional and mostly numeric or string values used for filtering and sorting the search results.

Output

The node outputs an array of JSON objects representing the search results returned by the TikHub API for the specified keyword query. Each item in the output corresponds to one search result entry, which may include details such as video information, user profiles, timestamps, follower counts, and other metadata depending on the endpoint's response structure.

If the API returns binary data (e.g., media files), it would be included accordingly, but this particular operation focuses on JSON search results.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service.
  • The node makes HTTP requests to https://api.tikhub.io.
  • No additional environment variables are explicitly required beyond the API key credential.
  • The node depends on internal utility functions for making authenticated API calls.

Troubleshooting

  • Unknown operation error: If the operation name does not match any known endpoint, the node throws an error indicating an unknown operation for the selected platform. Ensure the operation parameter is correctly set.
  • Missing required parameters: The keyword property is mandatory for the search operation. Omitting it will likely cause errors or empty results.
  • API request failures: Network issues, invalid API keys, or rate limiting by TikHub can cause request failures. Check API credentials and network connectivity.
  • Invalid parameter values: Numeric parameters like offset, count, sort_type, and publish_time have defined minimum and maximum values. Providing out-of-range values may cause errors.
  • Continue on fail: If enabled, the node will continue processing subsequent items even if some fail, returning error messages in the output JSON.

Links and References

Discussion