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 distinct API endpoints in total, allowing users to retrieve various types of data such as videos, user profiles, analytics, posts, stories, reels, channels, tweets, timelines, and more.

The specific operation "Get live daily rank data" under the "Default" resource is designed to fetch real-time daily ranking information from TikTok's live streaming environment. This can be useful for marketers, content creators, analysts, or social media managers who want to monitor live performance metrics, track influencer rankings, or analyze competitive positioning on TikTok.

Practical examples:

  • A marketing analyst fetching daily live streamer rankings to identify trending influencers.
  • A content creator monitoring their own live room rank to adjust streaming strategies.
  • An agency aggregating live rank data across multiple anchors to report on campaign effectiveness.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter.
主播id/Anchor id Anchor ID on TikTok (optional). Used to specify a particular live streamer.
直播间id/Live room id Live room ID on TikTok (optional). Identifies a specific live streaming room.
榜单类型/Rank type Rank type identifier (number between 1 and 1000). Specifies the category or type of ranking list.
地区类型/Region type Region type identifier (number between 1 and 1000). Defines the geographic region for the ranking.
时间间隔/Time interval Time interval (number between 1 and 1000). Sets the time gap or granularity for the ranking data.
用户自己的cookie/User's own cookie User's own cookie string (optional). Allows using personal authentication cookies for requests.

Output

The node outputs an array of JSON objects representing the live daily rank data retrieved from the TikTok platform. Each object corresponds to an item in the ranking list and contains detailed fields as returned by the TikHub API for this endpoint.

The exact structure depends on the API response but typically includes rank position, anchor/user details, live room statistics, and other relevant metadata.

If the node encounters errors during execution and "Continue On Fail" is enabled, it outputs error objects containing the error message paired with the input item index.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the TikHub API service.
  • The node makes HTTP requests to https://api.tikhub.io.
  • No additional external dependencies are required beyond the configured API credential.
  • Proper configuration of the API key credential in n8n is necessary for successful operation.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing unsupported or incorrect parameter values (e.g., invalid rank_type or region_type) may result in API errors.
    • Network connectivity problems can prevent successful API calls.
    • Using an empty or malformed cookie string might lead to incomplete or unauthorized data retrieval.
  • Error messages:

    • "Unknown operation: dailyrank for platform: tiktok": Indicates that the specified operation is not recognized for the selected platform. Verify the operation name and platform selection.
    • API response errors will be surfaced with their message in the output if "Continue On Fail" is enabled.
    • General request failures will throw exceptions stopping execution unless handled.
  • Resolutions:

    • Ensure the API key credential is correctly set up and valid.
    • Double-check all input parameters for correctness and completeness.
    • Confirm network access to api.tikhub.io is available.
    • Use the user's own cookie only if necessary and ensure it is valid.

Links and References

  • TikHub API Documentation (official API base URL referenced)
  • Social media platform official developer documentation for TikTok, Instagram, YouTube, and X/Twitter for understanding data context.

Discussion