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 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 depending on the selected platform and operation. It is useful for scenarios where you want to aggregate or analyze social media content programmatically without dealing with each platform's API separately.

Practical examples include:

  • Retrieving detailed video information from TikTok by providing video IDs.
  • Fetching Instagram post or story data for marketing analysis.
  • Accessing YouTube channel statistics or search results.
  • Gathering tweet details or user timelines from X/Twitter.

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 a TikTok video (作品id). Required when platform is TikTok and operation involves video data retrieval.

Note: The full list of input properties depends on the chosen platform and operation. The provided snippet shows only a subset relevant to TikTok video operations.

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 input item processed and contains the requested data fields as returned by the external API.

If the API returns multiple records, they are flattened into individual output items with metadata linking them back to the original input.

Binary data output is not indicated in the source code; the node primarily returns JSON-formatted data.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service at https://api.tikhub.io.
  • The node internally uses helper functions to make HTTP requests to TikHub endpoints.
  • No other external dependencies are indicated.

Troubleshooting

  • Unknown operation error: If an unsupported operation is selected for a given platform, the node throws an error like Unknown operation: <operation> for platform: <platform>. Ensure that the operation name matches one of the supported endpoints for the chosen platform.
  • Missing required parameters: Some operations require specific parameters (e.g., aweme_id for TikTok video info). Omitting these will likely cause API errors.
  • API request failures: Network issues or invalid API credentials can cause request failures. Verify your API key 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 under an error field.

Links and References

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

Discussion