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 is designed to fetch various types of data such as videos, users, analytics, posts, stories, reels, channels, tweets, timelines, and more.

A common use case for this node is aggregating social media data from multiple platforms in one workflow without needing separate nodes or API integrations for each platform. For example, marketers can retrieve video details from TikTok, post insights from Instagram, and channel statistics from YouTube all within a single n8n workflow. Another practical scenario is monitoring social media content by fetching specific video or tweet data based on IDs.

The "Get single video data" operation under the "Default" resource allows users to retrieve detailed information about a specific video by providing its unique identifier (e.g., TikTok's aweme_id).

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
作品id/Video id (aweme_id) The unique identifier of the video to retrieve (required for TikTok platform when using "Get single video data" operation)

Note: The property "作品id/Video id" (aweme_id) is shown only when the platform is TikTok and the operation is "onevideo" (Get single video data).

Output

The node outputs an array of JSON objects representing the data retrieved from the selected social media platform endpoint. Each item corresponds to one piece of data returned by the API call, typically containing detailed information about the requested video or other resource.

  • The output JSON structure depends on the platform and operation but generally includes fields such as video metadata, user info, statistics, URLs, timestamps, etc.
  • If the API returns binary data (not explicitly shown in the code), it would be included accordingly, but this node primarily handles JSON responses.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service at https://api.tikhub.io.
  • The node uses internal helper functions to make HTTP requests to TikHub endpoints.
  • No additional external services are required beyond the TikHub API.

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 the operation name matches one supported by the platform.
  • Missing required parameters: For example, when retrieving a single TikTok video, the aweme_id must be provided; otherwise, the request will fail.
  • API request failures: Network issues, invalid API keys, or rate limits may cause errors. Verify your API credentials and network connectivity.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if some fail, returning error messages in the output JSON.

Links and References

  • TikHub API Documentation (for detailed endpoint descriptions and usage)
  • n8n Documentation on Creating Custom Nodes
  • Social Media Platform APIs (TikTok, Instagram, YouTube, X/Twitter) official docs for understanding underlying data structures

Discussion