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: TikTok (64), Instagram (56), YouTube (16), and X/Twitter (13). The node allows users to select a platform and an operation to retrieve specific data such as videos, user profiles, analytics, posts, stories, reels, tweets, channels, and more.

A common use case is aggregating social media data from multiple platforms in one workflow for marketing analytics, content monitoring, or social listening. For example, a marketer could fetch live room information from TikTok, recent posts from Instagram, and trending videos on YouTube all within the same automation.

Specifically, the "Get data of specified live room" operation under the Default resource for TikTok lets users retrieve detailed information about a particular live streaming room by providing its live room ID.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter.
直播间id/Live room id The unique identifier of the live room to get data for (required when platform is TikTok and operation is "roominfo").

Output

The node outputs JSON data representing the response from the selected social media platform's API endpoint. The structure depends on the chosen operation but generally includes detailed information relevant to that operation, such as user details, video metadata, analytics, or live room info.

If the operation returns multiple items, each item is output as a separate JSON object in an array. The node also attaches execution metadata linking each output item to its input item index.

Binary data output is not indicated in the provided code, so the node primarily outputs structured JSON 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 other external dependencies are indicated.
  • Users must configure the API key credential in n8n before using this node.

Troubleshooting

  • Unknown operation error: If you select an operation that does not exist for the chosen platform, the node will throw an error like Unknown operation: <operation> for platform: <platform>. Ensure you pick a valid operation supported by the platform.
  • Missing required parameters: Some operations require mandatory parameters (e.g., live room ID for the "Get data of specified live room" operation). Omitting these will cause errors.
  • API authentication failures: Make sure the API key credential is correctly set up and has sufficient permissions.
  • Rate limits or API errors: The underlying TikHub API may impose rate limits or return errors; handle these by enabling "Continue On Fail" in the node settings if needed.
  • Empty or unexpected responses: Verify that the input parameters are correct and that the requested data exists on the platform.

Links and References

  • TikHub API Documentation (official API base URL referenced)
  • n8n documentation on Creating Custom Nodes
  • Social media platform developer docs (TikTok, Instagram, YouTube, X/Twitter) for understanding data structures and IDs used

Discussion