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 total endpoints distributed as follows: 64 for TikTok, 56 for Instagram, 16 for YouTube, and 13 for X/Twitter.

The node is designed to fetch various types of data such as videos, users, analytics, posts, stories, reels, channels, tweets, timelines, and more by selecting the platform and operation. For example, it can retrieve detailed video information from TikTok using a sharing link or get user timeline data from X/Twitter.

A practical use case is automating social media analytics workflows where you need to gather data from multiple platforms in one place without switching between different APIs. Another example is content monitoring or competitive analysis by fetching posts or videos programmatically.

Specifically, for the "Get single video data by sharing link" operation under the "Default" resource, the node fetches detailed metadata about a single video on TikTok by providing its share URL.


Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
分享链接/Share link The sharing URL of the TikTok video to retrieve data for. Required when Platform is TikTok and Operation is "shareurl".

Output

  • The output is a JSON array containing the data returned by the selected API endpoint.
  • Each item corresponds to one input item processed.
  • The JSON structure depends on the specific endpoint called but generally includes detailed metadata about the requested resource (e.g., video details, user info).
  • If an error occurs and "Continue On Fail" is enabled, the output will include an object with an error field describing the issue.
  • No binary data output is indicated in the code.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service at https://api.tikhub.io.
  • The node uses this external API to access social media data; thus, internet connectivity and valid credentials are mandatory.
  • No other external dependencies or environment variables are required.

Troubleshooting

  • Unknown operation error: If you select an operation that does not exist for the chosen platform, the node throws an error like Unknown operation: <operation> for platform: <platform>. Ensure the operation name matches one of the supported operations for the selected platform.
  • Missing or invalid share link: For the "Get single video data by sharing link" operation, the share URL must be provided and valid. An empty or malformed URL may cause request failures.
  • API authentication errors: If the API key credential is missing or invalid, requests will fail. Verify that the correct API key is configured in n8n credentials.
  • Rate limits or API errors: Since the node relies on an external API, hitting rate limits or temporary service issues may cause errors. Check the API provider's status and consider adding retry logic if needed.
  • Continue On Fail behavior: When enabled, the node outputs error messages per item instead of stopping execution, which helps in batch processing scenarios.

Links and References

  • TikHub API Documentation (official API base URL referenced in the code)
  • Social media platform developer documentation for TikTok, Instagram, YouTube, and X/Twitter for understanding underlying data structures and limitations.

Discussion