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," provides unified access to a wide range of social media data endpoints (149 in total) across four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It enables users to retrieve various types of data such as videos, user profiles, analytics, posts, stories, reels, tweets, channels, and more through a single interface.

For the specified Resource "Default" and Operation "Get video list of specified hashtag" on TikTok, the node fetches a list of videos associated with a given hashtag or music ID. This is useful for social media marketers, content creators, and analysts who want to gather trending or relevant video content based on hashtags or music trends on TikTok.

Practical examples:

  • Retrieve the latest TikTok videos tagged with a specific hashtag to analyze trending content.
  • Collect videos related to a particular music ID to understand how a song is being used across TikTok.
  • Use the cursor and count parameters to paginate through large sets of video data efficiently.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
音乐id/Music id The music ID on TikTok to filter videos by a specific music track (required for TikTok videolist operation)
游标/Cursor Pagination cursor to specify the starting point for fetching results (default 20, min 1, max 1000)
数量/Number Number of videos to retrieve per request (default 20, min 1, max 1000)
话题id/Hashtag id The hashtag ID on TikTok to filter videos by a specific hashtag (required for TikTok videolist operation)

Output

The node outputs an array of JSON objects representing the retrieved video data from the specified platform endpoint. Each item corresponds to one video entry containing all available metadata returned by the TikHub API for that video.

  • The output JSON structure depends on the TikHub API response for the "Get video list of specified hashtag" operation.
  • If the API returns binary data (not indicated here), it would be included accordingly, but this operation primarily returns JSON video metadata.

Dependencies

  • Requires an active API key credential for the TikHub service.
  • The node makes HTTP requests to the TikHub API base URL: https://api.tikhub.io.
  • Proper configuration of the TikHub API credentials within n8n is necessary for authentication.

Troubleshooting

  • Common issues:

    • Missing or invalid API key credential will cause authentication failures.
    • Providing incorrect or empty required parameters like music_id or ch_id (hashtag id) will result in errors or empty responses.
    • Exceeding the allowed range for cursor or count parameters may cause the API to reject the request.
  • Error messages:

    • "Unknown operation" error indicates that the selected operation is not supported or incorrectly specified.
    • Network or API errors will return messages from the TikHub API; ensure network connectivity and valid credentials.
    • If the node throws errors about missing parameters, verify that all required fields are filled correctly.
  • Resolution tips:

    • Double-check all required input properties before execution.
    • Ensure the TikHub API key is valid and has sufficient permissions.
    • Use smaller count values if pagination or rate limits are suspected.

Links and References

Discussion