TikHub API Helper for Openclaw

A comprehensive tool for discovering and calling TikHub API endpoints to fetch data from TikTok, Instagram, Douyin, and other social platforms.

liangdabiao
v1.0.0
Mar 6, 2026
1
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install tikhub-api-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install tikhub-api-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is TikHub API Helper?

TikHub API Helper is a robust interface designed to simplify interactions with the TikHub ecosystem, which provides extensive API coverage for global social media platforms. By integrating this skill into Openclaw Skills, developers and AI agents can programmatically search for relevant API endpoints, explore detailed parameter requirements, and execute high-performance data requests across networks like TikTok, Xiaohongshu, YouTube, and Twitter.

This skill is particularly valuable for cross-platform data aggregation, sentiment analysis, and content monitoring. It abstracts the complexity of different platform structures into a unified workflow, making it easier to build data-driven applications or research tools using Openclaw Skills.

TikHub API Helper Use Cases

  • Extracting detailed user profiles and metadata from TikTok or Instagram.
  • Fetching video details, comment threads, and engagement metrics for social media analysis.
  • Searching for trending content and keywords across Douyin, Reddit, and YouTube.
  • Automating social media monitoring workflows for digital marketing using Openclaw Skills.
  • Bypassing geographic network restrictions for social media data in mainland China.

How TikHub API Helper Works

  1. The agent identifies the user's intent regarding which social media platform and data type they need.
  2. The api_searcher.py script is executed with relevant keywords to find the matching TikHub API endpoint.
  3. The agent retrieves specific parameter requirements (e.g., sec_user_id or post_id) using the detail flag in the searcher.
  4. The api_client.py utility makes an authenticated HTTP request to the selected TikHub endpoint.
  5. The tool processes the raw JSON response, handles potential errors or rate limits, and presents the formatted data to the user.

TikHub API Helper Setup

To start using TikHub API Helper within Openclaw Skills, follow these configuration steps:

  1. Obtain an API token from the TikHub User Dashboard.
  2. Set the TIKHUB_TOKEN environment variable in your terminal or configuration file:
export TIKHUB_TOKEN="YOUR_API_TOKEN_HERE"
  1. Verify connectivity using the health check command:
python api_client.py GET /api/v1/health/check

TikHub API Helper Data Schema & Taxonomy

The skill manages data through two primary scripts that interact with the TikHub REST API. The organization is based on platform tags and operation IDs:

Component Function Data Type
api_searcher.py Endpoint Discovery JSON metadata (operation_id, tags, description)
api_client.py Data Execution Platform-specific JSON (User, Video, Comment objects)
Domain Logic Region Routing Auto-detects between api.tikhub.io (Global) and api.tikhub.dev (China)

All results returned to Openclaw Skills are structured in JSON format for easy parsing and subsequent processing.

TikHub API Helper Advanced Features

  • Cross-platform support for over 10 major networks including TikTok, Douyin, Instagram, Reddit, and Bilibili.
  • Region-aware routing to ensure high availability and bypass network filters using the China-specific domain.
  • Built-in rate limit management and automatic retries (up to 3 times) on connection errors.
  • Detailed endpoint documentation discovery to guide AI agents in generating valid API requests for Openclaw Skills.
  • Support for both GET and POST requests with custom JSON body payloads for advanced data extraction.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*