本文へ移動
cccskills
無料GitHub で公開

ecommerce.tiktok-product-analytics

Query TikTok e-commerce product leaderboards via Kalodata and query detailed data for specific products. Supports viewing high-ranking/hot-selling products by region, currency, language, and date range, and using productId to retrieve price range, sales, revenue, commission rate, listing/delisting time, and owning shop. Trigger when users mention TikTok product ranking, TikTok bestseller chart, TikTok top products, kalodata product rank, TikTok product detail, TikTok product profile, product price, product sales, TikTok product ranking, TikTok bestseller chart, TikTok top products, kalodata product rank, TikTok product detail, kalodata product detail, product analytics. Even if the user does not explicitly mention "kalodata", trigger this skill whenever their need involves viewing TikTok product leaderboards or detailed data for a specific TikTok product.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md11.0 KB
  • manifest.json269 B
  • references/api.md12.5 KB
  • scripts/product_detail.py6.5 KB
  • scripts/product_rank.py6.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Kalodata - TikTok Product Search & Detail

This skill supports a two-step TikTok Shop product workflow via the Kalodata data source:

  1. Browse TikTok Shop product leaderboards to discover top-ranked and best-selling products.
  2. Fetch one product's full detail by productId.

Use the ranking endpoint when the user wants best-seller rankings, hot products, or product discovery. Use the detail endpoint when the user already has a productId or has selected one product from a ranking result.

Core Concepts

The product ranking endpoint returns a paginated leaderboard filtered by region, dateRange, currency, language, and optional sortField. Each product row includes identity, price, sales volume, revenue (split across video, live, and showcase channels), revenue growth rate, commission rate, and launch date. Results are paginated with pageNumber (1-5) and pageSize (5-100).

The product detail endpoint fetches one TikTok Shop product by productId. It returns the product's price range, sales, revenue (with channel split), commission rate, launch date, review count, category hierarchy, owning shop, and associated video/live/creator counts. The productId usually comes from the ranking response field product_id.

Both endpoints may reflect a statistical delay (T+1). See references/api.md for full request and response details.

Data Fields

Ranking rows include:

FieldDescription
product_idProduct unique ID; pass this as productId for detail lookup
product_nameProduct title
unit_pricePrice per unit (currency follows region, e.g. USD for US)
sales_volumnUnits sold (field is spelled volumn)
revenueTotal revenue / GMV; equals video + live + showcase revenue
video_revenueRevenue from the video channel
live_revenueRevenue from the live-stream channel
showcase_revenueRevenue from the showcase channel
revenue_growth_rateRevenue growth rate (%)
commission_rateCommission rate as a direct percentage (25.0 = 25%)
launch_dateProduct launch date (YYYY-MM-DD)

Detail rows additionally include:

FieldDescription
product_regionProduct market region (e.g. us)
product_shop_idID of the shop this product belongs to
pri_cate_id / sec_cate_id / ter_cate_idPrimary / secondary / tertiary category IDs
min_price / max_priceMinimum / maximum price in the requested currency
product_review_countNumber of product reviews
delivery_typeDelivery type (e.g. local)
video_number / live_number / creator_numberAssociated video / live / creator counts
shopping_mall_revenueRevenue from the shopping mall channel

Detail revenue channel split: revenue = video_revenue + live_revenue + shopping_mall_revenue.

Parameter Guide

Product ranking (/kalodata/product/rank)

ParameterTypeRequiredDescription
regionstringNoTikTok Shop market region code, e.g. US. Default US when unspecified
dateRangestringNoRelative time window, e.g. last7Day, last30Day
currencystringNoCurrency for monetary metrics, e.g. USD
languagestringNoResponse language, e.g. zh-CN, en-US
category_idsarray<string>NoCategory ID list filter
shop_idstringNoShop ID filter
creator_idstringNoCreator ID filter
video_idstringNoReturn products associated with the specified video
livestream_idstringNoReturn products associated with the specified livestream
revenue_rangestringNoRevenue / GMV range filter
is_affiliatestringNoAffiliate filter: PUBLIC_PLAN or NON_AFFILIATE
commission_ratenumberNoAffiliate commission rate, e.g. 0.15
is_tts_productintegerNoFully managed product filter: 1 or 0
unit_price_rangestringNoProduct unit-price range filter
sortFieldobjectNoSorting specification; omit for default ranking
pageNumberintegerNoPage number, 1-5
pageSizeintegerNoPage size, 5-100

Product detail (/kalodata/product/detail)

ParameterTypeRequiredDescription
productIdstringYesTikTok product ID from ranking field product_id (string to preserve precision)
regionstringNoMarket region code, e.g. US
dateRangestringNoTime window, e.g. last7Day, last30Day
languagestringNoResponse language, e.g. zh-CN, en-US
currencystringNoCurrency for monetary metrics, e.g. USD

How to Call

  • API Endpoints: POST /kalodata/product/rank or POST /kalodata/product/detail (see references/api.md for full parameters/response/error codes)
  • Python Scripts: python scripts/product_rank.py '<JSON parameters>' [--inline] or python scripts/product_detail.py '<JSON parameters>' [--inline]
  • Cost constraint: This tool consumes credits; the same parameter combination in the same session is called only once by default, with 24h local caching in the script. On failure/empty results, do not automatically retry with different keywords, pagination, or filter changes; inform the user before making additional queries.

Output strategy (default script behavior):

  • Always write the full response to <cwd>/nexscope/<YYYY-MM-DD>/<session>/data/nexscope-kalodata-tiktok-product-<timestamp>.json (<cwd> is the working directory at script execution time, i.e., the current project directory in Claude Code; <session> is taken from the SESSION_ID environment variable, auto-grouped by user task; do not write to /tmp, error if the current directory is not writable)
  • Response body <= 8 KB: print the full JSON to stdout after writing to disk
  • Response body > 8 KB: stdout only outputs a summary (top-level fields, common counts like total/costToken, length of the largest list field + first 3 samples)
  • Add --inline to force full output to stdout (still writes to disk)

Data reading tip: Check the summary first to see if sufficient; for specific fields, prefer using jq or ConvertFrom-Json to extract from the saved JSON file on demand, avoiding loading the entire JSON into context.

Response handling

For the research HTTP response, require a numeric outer code equal to 0 before using data. Nonzero codes are platform failures; display outer msg without interpreting its wording as a retry instruction. Nexscope preserves upstream messages and translates Chinese to English; successful responses may have msg: null. HTTP 200 alone and nested business code / status do not replace the platform check. See references/api.md for response paths and task-specific states.

Authentication

Set NEXSCOPE_API_KEY. Visit https://www.nexscope.ai/help/skills-external-access?co-from=skillNS to manage credits.

Usage Examples

1. Browse top TikTok products in the US (last 7 days)

{"region":"US","dateRange":"last7Day","pageSize":20,"pageNumber":1,"currency":"USD"}

2. Fetch one product's detail

{"productId":"1729508370969629931","region":"US","dateRange":"last7Day","currency":"USD"}

3. Discovery-to-detail workflow

Run `product_rank.py` first, choose a row's `product_id`, then pass that value as `productId` to `product_detail.py`.

Display Rules

  1. Present ranking results in a table with product name, product ID, price, sales volume, revenue (with channel split), growth rate, commission rate, and launch date.
  2. Present detail results as one grouped profile: identity, price range, sales, revenue (channel split), commission, category hierarchy, owning shop, and associated video/live/creator counts.
  3. Always label dateRange, region, and currency when showing monetary metrics.
  4. Use the exact field name sales_volumn.
  5. commission_rate is a direct percentage (25.0 = 25%), not basis points -- show with a % sign.
  6. revenue_growth_rate is a percentage -- show with a % sign.
  7. Revenue channel split: ranking revenue = video_revenue + live_revenue + showcase_revenue; detail revenue = video_revenue + live_revenue + shopping_mall_revenue. Present the split when useful.
  8. Preserve ranking order unless the user explicitly requests a supported sortField.

Important Limitations

  • Ranking is not keyword search; it browses leaderboards by region and time window.
  • Detail requires productId; it cannot find a product by name alone. Obtain productId from the ranking product_id first.
  • The ranking response does not include total or page count; result count is data.length.
  • pageNumber is limited to 1-5 and pageSize is limited to 5-100.
  • A valid-but-empty request (e.g. an unsupported region) may return outer code: 0 with an empty business payload and still be billed.
  • Transient upstream errors may appear as a nonzero platform code with an upstream failure message. Retry the same parameters once or twice; do not change parameters automatically.
  • Use the matching Kalodata video/creator/shop/livestream skills for non-product entities.

User Expression & Scenario Quick Reference

Applicable -- TikTok product ranking or product detail lookup:

User SaysScenario
"TikTok product ranking", "TikTok product leaderboard"Product ranking lookup
"TikTok bestseller chart", "TikTok hot product ranking", "TikTok product selection ranking"Best-seller / hot product ranking
"kalodata product ranking", "kalodata ranking"Direct data source reference
"TikTok product detail", "TikTok product profile"Single product detail lookup
"Product price", "product sales"Product price / sales
"kalodata product rank/detail", "product analytics"Direct product detail reference

Not applicable -- Needs beyond TikTok products:

  • TikTok video / creator / shop / livestream rankings or details
  • Keyword-based product search
  • Amazon / Shopify / 1688 product research (use the platform-specific skills)
  • TikTok advertising / ad campaign management or content creation

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Query 1688 product bestseller billboard data for sourcing discovery and wholesale product research. Trigger when the user mentions 1688 product rankings, 1688 bestseller lists, wholesale hot products, domestic sourcing rankings, dropshipping product selection, 1688 trending products, bulk purchase popular items, supplier product rankings, 1688 billboard, 1688 bestsellers, sourcing rankings, wholesale hot products, trending product rankings, supplier rankings, 1688 trends. Even if the user does not explicitly mention "1688 billboard", if their need involves discovering hot-selling wholesale products or sourcing opportunities on the 1688 platform, this skill should also be triggered.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Query 1688 public product details through the Nexscope research proxy. Use when the user requests this public marketplace or patent data; do not use for seller-console or store-authorized operations.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Search and analyze products on the Chinese 1688 wholesale platform (Alibaba domestic B2B market) for sourcing, supplier discovery, and product selection. Trigger when the user mentions 1688 product search, finding suppliers on 1688, wholesale product queries, factory sourcing, dropshipping supplier search, 1688 keyword product selection, wholesale price comparison, filtering by sales volume, any product research on the 1688 platform, 1688 search, 1688 product selection, find suppliers, factory lookup, wholesale pricing, supplier search, domestic sourcing, 1688 products. Even if the user does not explicitly say "1688", if their need involves searching for wholesale products, finding domestic suppliers, or sourcing from the domestic Chinese market, this skill should also be triggered.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Perform image-based product search on the 1688 platform. Use an image URL to find visually similar supplier products, returning title, price, minimum order quantity, monthly sales, repurchase rate, trade score, and seller identity. Triggered when users mention 1688 image search, 1688 visual search, find supplier by image, reverse image search 1688, 1688 product sourcing by image, or Alibaba 1688 image search. Even if the user does not explicitly mention "image search," this skill should be triggered whenever a user provides an image URL and wants to find matching or similar products on the 1688 wholesale platform.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Authorize Amazon Ads accounts and inspect safe connection and profile metadata.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

Read and mutate SP, SB, and SD campaigns, ad groups, ads, targeting, and budget rules.

日本語の概要は準備中です。原文の説明を表示しています。

nexscope-ai/nexscope-ecommerce-skills862026年10月9日 更新

nexscope-ai のスキルをすべて見る

このスキルの問題を報告する