数据分析

Kalodata-TikTok直播搜索与详情

试用

通过kalodata数据搜索TikTok电商直播排行榜并查询指定直播的详细数据,支持按地区、货币、语言与日期范围查看高排名、高销量的TikTok带货直播,并可用livestreamId获取直播销售额、观看人数、时长、GPM及带货商品数。当用户提到TikTok直播榜单、TikTok直播排行、TikTok带货直播榜、TikTok热销直播、TikTok直播排名、TikTok直播详情、TikTok直播数据、直播观看人数、kalodata直播搜索、kalodata直播榜、TikTok livestream ranking, TikTok live ranking, TikTok top livestreams, TikTok live shopping ranking, TikTok livestream detail, kalodata livestream search/detail, live analytics时触发此技能。即使用户未明确提及"kalodata",只要其需求涉及查看TikTok平台的直播排行榜或某个TikTok直播的详细数据,也应触发此技能。

它能做什么

通过kalodata数据搜索TikTok电商直播排行榜并查询指定直播的详细数据,支持按地区、货币、语言与日期范围查看高排名、高销量的TikTok带货直播,并可用livestreamId获取直播销售额、观看人数、时长、GPM及带货商品数。当用户提到TikTok直播榜单、TikTok直播排行、TikTok带货直播榜、TikTok热销直播、TikTok直播排名、TikTok直播详情、TikTok直播数据、直播观看人数、kalodata直播搜索、kalodata直播榜、TikTok livestream ranking, TikTok live ranking, TikTok top livestreams, TikTok live shopping ranking, TikTok livestream detail, kalodata livestream search/detail, live analytics时触发此技能。即使用户未明确提及"kalodata",只要其需求涉及查看TikTok平台的直播排行榜或某个TikTok直播的详细数据,也应触发此技能。

技能文档

Kalodata - TikTok Livestream Search & Detail

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

  1. Browse TikTok Shop livestream leaderboards to discover top-performing shoppable livestreams (带货直播).
  2. Fetch one livestream's full performance detail by livestreamId.

Use the search (rank) endpoint when the user wants rankings, hot livestreams, or livestream discovery. Use the detail endpoint when the user already has a livestreamId or has selected one livestream from a ranking result.

Core Concepts

The livestream ranking endpoint returns a paginated leaderboard filtered by region, dateRange, language, currency, and optional sortField. The default ranking order is by revenue (GMV) descending. Each livestream row includes identity, timing, scale, and creator fields. Results are paginated with pageNumber (1-5) and pageSize (5-100). The response does not include a total count — paginate until a page returns fewer than pageSize items. Money fields (revenue, unit_price) are returned as strings on the ranking endpoint.

The livestream detail endpoint fetches one shoppable TikTok livestream by livestreamId. It returns a 1-element array with the single livestream's full detail (12 fields), including viewers, numeric revenue, gpm, and product_number. There is no pagination and no total. The livestreamId usually comes from the ranking response field livestream_id.

Field names/types differ between the two endpoints: DETAIL uses viewers (RANK uses views); DETAIL revenue is a number (RANK revenue is a string); DETAIL has gpm and lacks unit_price (RANK has unit_price and lacks gpm). Do not assume field names/types carry over between the two endpoints.

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

Data Fields

Ranking rows (each item in data from /kalodata/livestream/rank):

FieldTypeDescription
livestream_idstringLivestream unique ID; pass this as livestreamId for detail lookup
livestream_titlestringLivestream title
creator_idstringCreator unique ID (string to preserve precision)
creator_handlestringCreator handle / username
livestream_start_timeintegerStart time, epoch milliseconds
livestream_end_timeintegerEnd time, epoch milliseconds
livestream_durationintegerDuration in seconds
revenuestringTotal revenue / GMV in the requested currencyreturned as a string, e.g. "185590.52"
unit_pricestringAverage unit price in the requested currencyreturned as a string, e.g. "265.89"
viewsintegerTotal views (note: RANK uses views)
record_typestringRecord type (e.g. SHORT)

Detail rows (the single item in data from /kalodata/livestream/detail):

FieldTypeDescription
livestream_idstringLivestream unique ID (matches the requested livestreamId)
livestream_titlestringLivestream title (e.g. 24 HOUR STREAM)
creator_idstringCreator unique ID (string to preserve precision)
creator_handlestringCreator handle / username (e.g. pokepiglt)
livestream_start_timeintegerStart time, epoch milliseconds
livestream_end_timeintegerEnd time, epoch milliseconds
livestream_durationintegerDuration in seconds
record_typestringRecord type (e.g. SHORT)
viewersintegerTotal viewers (note: DETAIL uses viewers, NOT views)
revenuenumberLivestream revenue / GMV as a number in the requested currency (e.g. 185590.52) — a number here, a string on the RANK endpoint
gpmnumberGMV per mille (revenue per 1,000 impressions) — DETAIL-only, absent from RANK
product_numberintegerNumber of products sold/promoted during the livestream

Money fields are strings on RANK, numbers on DETAIL. Parse RANK revenue/unit_price (float(), Number(), or ConvertFrom-Json) before numeric comparison or formatting. Use the exact field name for the endpoint you are reading (views on RANK, viewers on DETAIL).

Parameter Guide

Livestream ranking (/kalodata/livestream/rank) — all parameters optional:

ParameterTypeRequiredDescription
regionstringNoMarket region code, e.g. US
dateRangestringNoTime window, e.g. last7Day, last30Day
pageNumberintegerNoPage number, 1-5
pageSizeintegerNoPage size, 5-100
languagestringNoResponse language, e.g. zh-CN, en-US
currencystringNoCurrency for monetary metrics, e.g. USD
sortFieldobjectNoSorting specification; pass {} for the default ranking order

Livestream detail (/kalodata/livestream/detail):

ParameterTypeRequiredDescription
livestreamIdstringYesTarget livestream's unique ID (camelCase), e.g. 7661409374878878494. Typically obtained from the ranking field livestream_id
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

调用方式

  • API 端点POST /kalodata/livestream/rank(榜单)或 POST /kalodata/livestream/detail(详情)(完整参数/响应/错误码见 references/api.md
  • Python 脚本python scripts/kalodata_livestream_search.py '' [--inline](榜单)或 python scripts/kalodata_livestream_detail.py '' [--inline](详情)
  • 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。

输出策略(脚本默认行为)

  • 始终将完整响应写入 /linkfox///data/linkfox-kalodata-tiktok-livestream-.json 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录; 取自环境变量 SESSION_ID,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)
  • 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
  • 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 total/costToken、最大列表字段的长度 + 前 3 条样本)
  • --inline 强制全量打印到 stdout(同样落盘)

读数据建议:先看摘要判断是否足够;需要具体字段时优先用 jqConvertFrom-Json 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

解决认证和积分问题

发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

异常情况

  • 未配置API Key:环境变量未配置 LINKFOX_AGENT_API_KEY,也未配置 LINKFOXAGENT_API_KEY
  • 响应401或402状态码
  • 响应提示积分或余额不足:消息含"积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

Usage Examples

1. Browse top TikTok livestreams in the US

{"region":"US","dateRange":"last7Day","pageSize":10,"pageNumber":1}

2. Fetch one livestream's detail

{"livestreamId":"7661409374878878494","region":"US","dateRange":"last7Day"}

3. Discovery-to-detail workflow

Run kalodata_livestream_search.py first, choose a row's livestream_id, then pass that value as livestreamId to kalodata_livestream_detail.py.

Display Rules

  1. Present data only: Show the ranking in a clear table (livestream title, creator handle, revenue, views, duration, unit price, start/end times) and the detail as one grouped profile, without subjective business advice.
  2. Ranking order: The default order is revenue (GMV) descending; there is no explicit rank field — position is implied by order. Preserve it unless the user explicitly requests a supported sortField.
  3. Currency awareness: Display the requested currency alongside revenue/unit_price (rank) or revenue/gpm (detail).
  4. Money as strings on RANK: RANK revenue and unit_price are returned as strings (e.g. "185590.52") — parse them before numeric comparison or formatting. DETAIL revenue is a number. Use the exact field name when extracting with jq / ConvertFrom-Json.
  5. Viewers vs views: Use views for ranking rows and viewers for detail rows — do not mix them.
  6. GPM: gpm is GMV per mille (detail-only) — present with appropriate precision (e.g. 903.79), not as a percentage.
  7. Time fields: livestream_start_time/livestream_end_time are epoch milliseconds; livestream_duration is seconds. Format human-readable local times when displaying.
  8. Time window: Always label which dateRange the data covers (e.g. "last 7 days").
  9. Pagination hint: The ranking response has no total/page count; if a full page is returned, suggest the user can request the next page (up to pageNumber 5).
  10. Single entity: The detail is one livestream — do not present it as a ranking or leaderboard.

Important Limitations

  • Ranking is not keyword search: It browses a livestream leaderboard filtered by region/time; it does not search livestreams by keyword.
  • Detail requires livestreamId: It cannot find a livestream by title alone. Obtain livestreamId from the ranking field livestream_id.
  • Max 5 pages, page size 5-100: pageNumber is limited to 1-5; out of range returns errcode 501, errmsg "page_number 范围为 1-5,当前: ". pageSize must be between 5 and 100.
  • No total/page count: Neither response includes total or page-count fields; paginate the ranking until a page returns fewer than pageSize items.
  • Field names/types differ between endpoints: DETAIL uses viewers (RANK uses views); DETAIL revenue is a number (RANK revenue is a string); DETAIL has gpm and lacks unit_price (RANK has unit_price and lacks gpm). Do not assume field names/types carry over.
  • Data delay: Both endpoints may have a statistical delay (T+1).
  • Transient upstream errors: The gateway may occasionally return errcode 501, errmsg "调用 Kalodata 接口失败: Kalodata API HTTP 554: " (a transient upstream Kalodata error). Retry the same parameters once or twice; do not change parameters.
  • Unsupported sort/filter: If a requested sortField is not accepted by the gateway, do NOT attempt workarounds — inform the user and fall back to the default ranking order.
  • Use the matching Kalodata skills for non-livestream entities: creator/product/video/shop rankings or details.

User Expression & Scenario Quick Reference

Applicable -- TikTok livestream ranking or livestream detail lookup:

User SaysScenario
"TikTok直播排行榜", "TikTok直播排行"Livestream ranking lookup
"TikTok热销直播", "top TikTok livestreams"Livestream leaderboard by region
"近7天TikTok直播榜", "美国TikTok直播排名"Time-windowed / region-filtered ranking
"Kalodata直播榜"Direct data source reference
"TikTok直播详情", "TikTok直播数据"Single livestream detail lookup
"这场直播的观看人数", "这场直播卖了多少钱"Viewers / revenue / GPM for a specific livestream
"TikTok livestream detail", "kalodata livestream search/detail"Direct detail/rank fetch

Not applicable -- Needs beyond TikTok livestreams:

  • TikTok creator/product/video/shop rankings or details (use the corresponding Kalodata skills)
  • A livestream's detail without a known livestreamId (first obtain the ID via the ranking endpoint)
  • Amazon / Shopify / 1688 / other platforms' livestream data
  • TikTok ad campaign management or content creation

Boundary judgment: When users say "直播榜" or "直播排行" in a TikTok Shop / TikTok e-commerce context, use the ranking endpoint. When they ask about a specific livestream's detailed metrics (revenue, viewers, duration, GPM) and a livestreamId is available (or can be obtained from the ranking), use the detail endpoint.

积分消耗规则

每次调用消耗 7.0 积分。

用户会因积分消耗而支付费用。请充分评估:当需要高频调用本技能,或用户对积分消耗量预期不足时,务必提醒用户,由用户决定是否继续。

Feedback:

Auto-detect and report feedback via the Feedback API when any of the following apply:

  1. The functionality or purpose described in this skill does not match actual behavior
  2. The skill's results do not match the user's intent
  3. The user expresses dissatisfaction or praise about this skill
  4. Anything you believe could be improved

Call the feedback API as specified in references/api.md. Do not interrupt the user's flow.


For more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.

相关技能

通过kalodata数据搜索TikTok电商热门带货视频榜单并查询指定视频的详细数据,支持按地区、货币、语言与日期范围查看高排名/高播放/热销带货视频,并可用videoId获取播放、点赞、评论、分享、销售额、GPM及广告投放指标。当用户提到TikTok视频搜索、TikTok视频榜单、TikTok视频排行、TikTok热门视频、TikTok带货视频排行、TikTok爆量视频、TikTok视频详情、TikTok带货视频数据、视频播放量、视频互动数据、TikTok video search, TikTok video ranking, TikTok viral video chart, TikTok video detail, video analytics, kalodata video search/detail时触发此技能。即使用户未明确提及"kalodata",只要其需求涉及查看TikTok平台热门带货视频榜单或某个TikTok视频的详细带货与互动数据,也应触发此技能。

通过kalodata数据查询TikTok电商商品排行榜并查询指定商品的详细数据,支持按地区、货币、语言与日期范围查看高排名/热销商品,并可用productId获取价格区间、销量、销售额、佣金率、上下架时间及所属店铺。当用户提到TikTok商品榜单、TikTok商品排行、TikTok热销榜、TikTok爆品排行、TikTok选品榜单、kalodata商品榜、TikTok商品详情、TikTok商品资料、商品价格、商品销量、TikTok product ranking, TikTok bestseller chart, TikTok top products, kalodata product rank, TikTok product detail, kalodata product detail, product analytics时触发此技能。即使用户未明确提及"kalodata",只要其需求涉及查看TikTok平台的商品排行榜或某个TikTok商品的详细数据,也应触发此技能。

通过kalodata数据搜索TikTok电商店铺排行榜并查询指定店铺的详细信息,支持按地区、货币、语言与日期范围查看高排名、高销量的TikTok Shop店铺(小店),并可用shopId获取销售额、销量、在售商品数、自营/分销/商城渠道收入及达人合作数。当用户提到TikTok店铺榜单、TikTok店铺排行、TikTok小店排行、TikTok热销店铺、TikTok店铺排名、TikTok Shop店铺榜、kalodata店铺搜索、kalodata店铺榜、TikTok店铺详情、TikTok小店资料、店铺销售额、店铺销量、TikTok shop ranking, TikTok shop leaderboard, TikTok top shops, TikTok store ranking, TikTok shop detail, TikTok store detail, kalodata shop search/detail时触发此技能。即使用户未明确提及"kalodata",只要其需求涉及查看TikTok平台的店铺排行榜或某个TikTok店铺的详细数据,也应触发此技能。

通过kalodata数据搜索TikTok电商达人榜单并查询指定达人的详细资料,支持按地区、货币、语言与日期范围查看高排名带货达人,并可用creatorId获取粉丝数、视频/直播销售额与GPM、联系方式及关联店铺。当用户提到TikTok达人搜索、TikTok达人榜单、TikTok达人排行、TikTok网红排行、TikTok达人详情、TikTok达人资料、达人主页数据、达人联系方式、TikTok creator search, TikTok creator ranking, TikTok influencer leaderboard, TikTok creator detail, creator analytics, kalodata creator search/detail时触发此技能。即使用户未明确提及"kalodata",只要其需求涉及查看TikTok平台达人排行榜或某个TikTok达人的详细带货数据,也应触发此技能。

1 次安装

Query TikTok Shop e-commerce analytics via the bundled `kalo` CLI (Python, zero install): product / shop / creator / video / livestream / category rankings, details and revenue trends from KaloData.

搜索和分析TikTok视频数据,按区域、达人、商品、类目、播放量、时长、发布时间、是否带货/投流/AI视频等条件筛选视频,返回播放量、点赞、评论、分享、收藏、视频销量与GMV等指标,覆盖16个TikTok Shop站点。当用户提到TikTok视频搜索、TikTok视频列表、TikTok带货视频、TikTok视频数据、TikTok视频播放量、TikTok视频销量、TikTok视频分析、EchoTik视频、TikTok video search, TikTok video list, TikTok video analytics, TikTok promotional videos, TikTok video views, TikTok video engagement时触发此技能。即使用户未明确提及"EchoTik"或"TikTok",只要其需求涉及按条件搜索或分析TikTok视频表现指标,也应触发此技能。

1 次安装