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," provides access to a comprehensive set of social media data endpoints (149 in total) across four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It allows users to perform various operations such as searching for hashtags, retrieving user or video data, analytics, and more.

Specifically, the "Get hashtag search results of specified keywords" operation under the "Default" resource enables users to search for content related to specific keywords on TikTok. This is useful for marketers, social media analysts, or content creators who want to monitor trending topics, analyze hashtag performance, or gather relevant content for campaigns.

Practical examples:

  • A marketer wants to find the most popular TikTok videos tagged with a certain keyword to understand current trends.
  • A social media analyst retrieves recent posts containing a hashtag to analyze engagement metrics.
  • A content creator searches for niche hashtags to discover relevant content and influencers.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
关键词/Keyword The keyword or hashtag to search for on TikTok. Required.
偏移量/Offset Offset for pagination; defines where to start fetching results. Optional, default 20.
数量/Number Number of results to retrieve. Optional, default 20.
排序类型/Sort type Sort type to order the results. Optional.
发布时间/Publish time Filter results by publish time. Optional.
根据粉丝数排序/Sort by number of followers Sort results based on the number of followers of the user. Optional.
根据账号类型排序/Sort by account type Sort results based on the account type. Optional.
根据其他偏好排序/Sort by other preferences Sort results based on other user-defined preferences. Optional.

Note: All properties except "Platform" and "Keyword" are optional and mostly relate to filtering and sorting the search results.

Output

The node outputs an array of JSON objects representing the search results from the selected platform's API. Each item corresponds to a piece of content matching the keyword search criteria, including metadata such as video details, user information, timestamps, and engagement statistics depending on the endpoint.

If the node encounters errors during execution and "Continue On Fail" is enabled, it outputs error messages paired with the corresponding input item index.

No binary data output is indicated for this operation.

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 or external services are explicitly required beyond the API key.

Troubleshooting

  • Unknown operation error: If an invalid operation name is provided, the node throws an error indicating the unknown operation for the selected platform. Ensure the operation name matches one of the supported endpoints.
  • Missing required parameters: The "Keyword" property is mandatory. Omitting it will likely cause the API request to fail.
  • API request failures: Network issues, invalid API keys, or rate limiting can cause request failures. Check API credentials and network connectivity.
  • Empty or unexpected results: Verify that the keyword is correctly spelled and that filters like offset, count, and sort options are set appropriately.
  • Enabling "Continue On Fail" allows the node to continue processing subsequent items even if some fail, returning error details in the output.

Links and References

  • TikHub API Documentation (assumed official docs for the API)
  • n8n documentation on Creating Custom Nodes
  • Social media platform developer portals for TikTok, Instagram, YouTube, and X/Twitter for understanding underlying data structures and limitations.

Discussion