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 149 endpoints in total, including 64 for TikTok, 56 for Instagram, 16 for YouTube, and 13 for X/Twitter.

The node is designed to fetch various types of social media data such as videos, users, analytics, posts, stories, reels, channels, tweets, timelines, and more. Users select the platform and operation they want to perform, then provide relevant parameters to retrieve live or historical data.

Common scenarios where this node is beneficial:

  • Social media marketers analyzing content performance and trends.
  • Developers building dashboards aggregating multi-platform social media data.
  • Researchers collecting user or video metadata for analysis.
  • Automation workflows that require fetching latest posts, videos, or user info from multiple platforms.

Practical example:

  • Fetching live search results on TikTok for a specific keyword with pagination and sorting options.
  • Retrieving recent Instagram stories or reels for a given user.
  • Getting YouTube channel statistics or searching videos by keywords.
  • Accessing X/Twitter tweets or user timelines based on search queries.

Properties

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

Note: The above properties are primarily shown when the platform is TikTok and the operation is to get live search results of specified keywords.

Output

The node outputs JSON data representing the response from the selected social media platform's API endpoint. The structure of the JSON depends on the chosen operation and platform but generally includes arrays or objects containing:

  • Video details (IDs, URLs, descriptions, stats)
  • User information (usernames, IDs, follower counts)
  • Post or tweet data (content, timestamps, engagement metrics)
  • Analytics or metadata related to the requested resource

If the API returns binary data (e.g., media files), it would be handled accordingly, but this node primarily deals with JSON responses representing social media data.

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 external dependencies beyond the n8n environment and the provided API credential.

Troubleshooting

  • Unknown operation error: If you select an operation not supported for the chosen platform, the node throws an error indicating the unknown operation. Ensure the operation matches the platform.
  • Missing required parameters: Some operations require mandatory fields like keywords or IDs. Omitting these will cause errors.
  • API authentication failures: Invalid or missing API credentials will prevent successful requests.
  • Rate limiting or quota exceeded: The TikHub API may limit request rates; handle errors gracefully or implement retries.
  • Empty or malformed responses: Check if the parameters are correct and the API endpoint is functioning.

To resolve issues:

  • Verify platform and operation selections.
  • Provide all required input parameters.
  • Confirm API key validity and permissions.
  • Review API documentation for parameter constraints.

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 models and endpoints.

Discussion