TikTok Best Sellers (4seller): Check TikTok Sales Rankings in the Agent

Introduction

When selecting products or tracking competitors for TikTok Shop, ranking data is often scattered across ERP backends or manually exported spreadsheets. If you ask an Agent in a conversation, “What sold best yesterday in the US site’s Beauty category?”, and the Agent is not connected to the 4seller sales ranking API, it can only offer vague suggestions to check reports in the backend. Below is an introduction to tiktok-hot-products (4seller) on SkillHub: it encapsulates 4seller’s best-seller list capabilities into an Agent-callable skill and OpenClaw plugin, allowing you to query rankings with unified parameters, mark data sources, and support scheduled summary retrieval.

About This

tiktok-hot-products (4seller) is a SkillHub community skill located at @user_bd447e33/4seller-tk-sourcing. Current version: 1.0.0, Category: business-ops, Publisher: user_bd447e33, Source: community. The SkillHub page indicates requires_api_key=true (requires configuration of a 4seller API key).

The skill package is essentially the 4seller TKSourcing Plugin (npm package name @4seller/openclaw-tiktok-plugin): designed for TikTok sellers, it fetches hot-selling product data via 4seller’s sales ranking API and provides query instructions and tool conventions on the Agent side.

Official Entry Points:

  • API Address: https://api.skillhub.cn/user_bd447e33/4seller-tk-sourcing
  • SkillHub Page: https://www.skillhub.cn/skills/user_bd447e33/4seller-tk-sourcing

(SkillHub Statistics: Rating 100000, Downloads 1429, Installations 10.)

Core Features

The skill package contains two sub-skills. Capabilities are subject to the official SKILL.md.

Get Hot Products (tiktok-hot-products)

Triggered when users need to view TikTok hot-selling products, sales rankings, or check rankings by market or category. The Agent fetches rankings via the tool tiktok_hot_products; before querying, you can use tiktok_l1_categories to get the list of primary categories by site (e.g., US) and then fill in the category.

Main query dimensions:

  1. Market: region (Required, e.g., US)
  2. Category: category (Optional, corresponds to the ERP’s pcname)
  3. Period: dateRange is day / 7d / 30d
  4. Attribution Date: dateValue, format YYYYMMDD; daily rankings have a T+2 delay note
  5. Sorting: sortBy is sales / revenue / growth
  6. Limit: limit (Default 10)

Successful returns will standardize the product list (including rank, title, shop, sales volume, revenue, growth rate, product link, etc.). It should include callTime and source whenever possible, and the data source must be cited when replying to the user.

Scheduled Tasks (tiktok-cron)

Explains how to use openclaw cron on OpenClaw to send messages at scheduled times, prompting the Agent to call tiktok_hot_products. Recommended task name: tiktok-hot-products-daily (Example cron: 15 9 * * *, timezone Asia/Shanghai).

Installation and Activation

1. Install SkillHub CLI (If not already installed)

Check or install the CLI according to the SkillHub Installation Documentation:

command -v skillhub && skillhub --version

If not installed, run the full installation script (the recommended method in the documentation):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this skill to the current Agent’s skills directory

During installation, you must use --dir to point to the skills path recognized by the current client; otherwise, it may default to ./skills/ and not be loaded. Common path examples from the documentation:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Search and installation commands (consistent with skillhub search output):

skillhub search 4seller

skillhub install 4seller-tk-sourcing --namespace user_bd447e33 --dir ~/.cursor/skills/

You can also send the following prompt to the Agent to let it handle the installation according to official instructions:

Please install `@user_bd447e33/4seller-tk-sourcing` based on https://skillhub.cn/install/skillhub.md.

3. Configure Plugin and API Key in OpenClaw

The actual HTTP request is handled by the OpenClaw plugin (peerDependencies requires openclaw >= 2026.3.23). Enable 4seller-tk-sourcing under plugins.entries in openclaw.json, and fill in the key and API address:

{
  "plugins": {
    "entries": {
      "4seller-tk-sourcing": {
        "enabled": true,
        "config": {
          "apiKey": "your-api-key",
          "apiBaseUrl": "https://beta.4seller.com/api/listing/tiktok/sale-rank-by-tk-api",
          "requestTimeoutMs": 10000
        }
      }
    }
  }
}

Configuration item meanings:

  • apiKey: 4seller API key, sent in header X-Api-Key
  • apiBaseUrl: Base address for the sales ranking API; the documentation also mentions it can be configured to the corresponding interface at https://4seller.com
  • requestTimeoutMs: Timeout in milliseconds, default 10000

If a valid apiKey is not configured, the tool may return an error similar to “Authentication failed, please check if the API key is correct.”

Typical Usage

Check categories first, then check the hot sales list

Step 1: Get primary categories for the US site:

{
  "tool_calls": [
    {
      "name": "tiktok_l1_categories",
      "arguments": {
        "site": "US"
      }
    }
  ]
}

Step 2: Query the top 10 by market, category, and daily list (sorted by sales):

{
  "tool_calls": [
    {
      "name": "tiktok_hot_products",
      "arguments": {
        "region": "US",
        "category": "Beauty",
        "dateRange": "day",
        "dateValue": 20260415,
        "limit": 10,
        "sortBy": "sales"
      }
    }
  ]
}

If the user does not specify a category, the skill requires a reminder that the full category list can be obtained via tiktok_l1_categories for filtering.

Natural Language Trigger Examples

Once the skill is installed and the OpenClaw plugin is configured, you can use colloquial requests directly, for example:

  • “Check the top 20 daily best-sellers for the Automotive & Motorcycle category in the US market, sorted by sales revenue.”
  • “Look at the fastest-growing products in the Beauty category using a 7d period.”

Replies should indicate the data source, e.g., US Beauty, 2026-04-16 10:30, sourced from TikTok Hot Products API (subject to the callTime and source returned by the API).

Daily Scheduled Summary (OpenClaw)

After configuring the plugin, you can refer to the recommended command in the skill to add a cron (message content can be modified according to market and category):

openclaw cron add \
  --name "tiktok-hot-products-daily" \
  --cron "15 9 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --message "Please call tiktok_hot_products to query day hot products for the Beauty category in the US market, return a summary of the top 10, and note the callTime and source."

The cron is only responsible for sending messages at scheduled times; the query logic is still executed by tiktok_hot_products. It is recommended to manually run through the parameters once before setting up the schedule.

Use Cases and Notes

Who is it for

  • TikTok Shop operators, product selectors, and data analysts who already use or plan to use 4seller ERP and possess a relevant API Key for sales rankings
  • Those working in OpenClaw (or Agent runtimes compatible with its plugin system) who want to turn “asking for rankings” into a conversation or scheduled task

Limitations and Notes

  1. External API Dependency: You need to apply for a 4seller API key yourself; an empty list is not an error, but you must distinguish between “no data” and “authentication failure.”
  2. Data Latency: Daily rankings and others have T+2 delays; the default date for scheduled tasks should be understood according to the documentation to avoid misinterpreting “today” as the latest queryable day.
  3. Runtime Environment: The skill documentation and package.json revolve around the OpenClaw plugin; if you only use SkillHub to put the Markdown into a Cursor/Codex directory without loading the corresponding plugin, the Agent will only have operating instructions and cannot truly call tiktok_hot_products.
  4. API Fields: The plugin handles code === 0, data.records, etc., based on the actual sale-rank response; when displaying, total is the total number of records under the query conditions, which may not equal the number of items returned this time.

Conclusion

tiktok-hot-products (4seller) connects 4seller TikTok sales rankings to the Agent toolchain: parameterized tiktok_hot_products, category auxiliary queries, and optional OpenClaw scheduled summaries. If product selection discussions require verifiable rankings and clear data sources, you can complete the SkillHub installation, OpenClaw plugin configuration, and API Key application as described above.

Official Address: https://api.skillhub.cn/user_bd447e33/4seller-tk-sourcing
SkillHub Page: https://www.skillhub.cn/skills/user_bd447e33/4seller-tk-sourcing

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye