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 149 social media data endpoints across four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It enables users to perform various operations such as searching for user data, videos, posts, analytics, and more by specifying the platform and operation.

For the specified Resource "Default" and Operation "Get user search results of specified keywords" on the TikTok platform, the node performs a search query using given keywords and optional parameters like offset, count, sorting type, and publish time. This is useful for marketers, analysts, or developers who want to retrieve TikTok user search results based on specific keywords and preferences.

Practical examples:

  • Searching TikTok users related to a trending hashtag or keyword.
  • Retrieving a paginated list of users matching certain criteria.
  • Sorting user search results by follower count or account type to identify influencers.

Properties

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

Note: All properties except "Platform" and "Keyword" are optional and mainly apply when the platform is TikTok and the operation is the user search result.

Output

The node outputs an array of JSON objects representing the user search results returned from the TikHub API for the specified platform and operation.

  • Each item in the output corresponds to one user or search result entry.
  • The structure of each JSON object depends on the TikHub API response but generally includes user details such as username, user ID, follower count, profile type, and other metadata.
  • If the node encounters errors during execution and "Continue On Fail" is enabled, the output will include error messages paired with the respective input item index.
  • The node does not output binary data for this operation.

Dependencies

  • Requires an API key credential for TikHub API authentication.
  • 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 to make authenticated API requests.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing unsupported or incorrect operation names will throw an "Unknown operation" error.
    • Exceeding allowed limits for offset or count parameters may result in API errors.
    • Network connectivity issues can cause request failures.
  • Error messages:

    • "Unknown operation: <operation> for platform: <platform>": Indicates the specified operation is not supported for the chosen platform. Verify the operation name.
    • API errors returned from TikHub will be included in the output if "Continue On Fail" is enabled; otherwise, they will stop execution.
  • Resolution tips:

    • Ensure the API key credential is correctly configured and valid.
    • Double-check property values, especially required fields like "Keyword."
    • Use valid numeric ranges for offset and count.
    • Enable "Continue On Fail" to handle partial failures gracefully.

Links and References

  • TikHub API Documentation (general reference for available endpoints)
  • n8n documentation on Creating Custom Nodes
  • Social media platform official developer docs (TikTok, Instagram, YouTube, X/Twitter) for understanding data context

Discussion