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, allowing users to retrieve detailed video metrics, user information, analytics, posts, stories, reels, channels, tweets, timelines, and more.

The node is particularly useful for social media analysts, marketers, content creators, and developers who want to programmatically gather comprehensive data from multiple social media platforms within a single workflow. For example, a marketing team could use this node to fetch video engagement metrics from TikTok and Instagram simultaneously to compare performance, or a developer might automate the retrieval of YouTube channel statistics alongside Twitter timeline data.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok (64 endpoints), Instagram (56 endpoints), YouTube (16 endpoints), X/Twitter (13 endpoints).
作品id/Video id (item_id) The unique identifier of the video or post on TikTok. Required when the platform is TikTok and the operation is "Get video metrics".

Note: The provided properties JSON only includes the "Platform" selector and the "作品id/Video id" property relevant for TikTok video metrics. Other operations and platforms have their own specific properties not listed here.

Output

The node outputs an array of JSON objects representing the data retrieved from the selected social media platform's API endpoint. Each item corresponds to one input item processed and contains the requested data fields as returned by the TikHub API.

  • The output JSON structure varies depending on the platform and operation chosen.
  • If the operation involves fetching video metrics, the output will include detailed statistics about the video such as views, likes, comments, shares, etc., as provided by the TikHub service.
  • In case of errors during execution for any item, the output will contain an error field with the error message for that particular item if "Continue On Fail" is enabled.
  • The node does not explicitly output binary data.

Dependencies

  • Requires an active API key credential for the TikHub service to authenticate requests.
  • The node makes HTTP requests to the TikHub API base URL: https://api.tikhub.io.
  • No other external dependencies are required.
  • Proper configuration of the API key credential in n8n is necessary for successful operation.

Troubleshooting

  • Unknown Operation Error: If you select an operation that is not supported or misspell the operation name, the node will throw an error like Unknown operation: <operation> for platform: <platform>. Ensure the operation name matches exactly one of the supported operations for the chosen platform.
  • Missing Required Parameters: Some operations require mandatory parameters (e.g., video ID for TikTok video metrics). Omitting these will cause request failures. Double-check that all required inputs are provided.
  • API Authentication Errors: If the API key credential is missing, invalid, or expired, the node will fail to authenticate with the TikHub API. Verify your API key setup in n8n credentials.
  • Rate Limits or Quotas: The TikHub API may enforce rate limits. If you encounter errors related to too many requests, consider adding delays or reducing request frequency.
  • Partial Failures: When processing multiple items, enabling "Continue On Fail" allows the node to continue executing subsequent items even if some fail, returning error details per failed item.

Links and References

Discussion