SuperAPI AI 工具集

keyapi-tiktok-intelligence

营销与增长

查看项目

更新于 10-15 21:36

技能介绍

用途:通过 KeyAPI MCP 服务获取 TikTok 实时与近实时趋势情报,覆盖热门话题标签、音乐、视频、关键词市场洞察、分类热销商品及广告创意表现,供品牌、创作者和分析师识别新兴机会。

主要能力(节点):trending_hashtags、trending_hashtag_detail、trending_music、trending_music_detail、trending_videos、keyword_insights、top_products_insights、top_product_insights_detail、top_ads_insights、top_ad_insights_detail。可组合使用,如关键词洞察配合分类商品洞察关联搜索兴趣与购买行为。

使用方式:需 KEYAPI_TOKEN(在 keyapi.ai 注册获取)与 Node.js v18+。在技能目录执行 npm install 安装 @modelcontextprotocol/sdk;设置 export KEYAPI_TOKEN=your_token_here;用 node scripts/run.js --list-tools 验证连接。调用前用 node scripts/run.js --schema <tool_name> 查看参数;调用示例:node scripts/run.js --tool trending_hashtags --params '{"region":"US"}' --pretty。支持 --all-pages 与 --no-cache。MCP 服务器为 https://mcp.keyapi.ai,认证头 Authorization: Bearer $KEYAPI_TOKEN。

限制与规则:列表接口用 page(从 1 开始)与 limit(最大 10);keyword_insights 与 trending_music 使用 search_keyword,top_products_insights 使用 ecom_category_id;code=0 为成功,500 可短暂停顿后重试一次,429 等待 60 秒重试;结果按日期缓存,趋势数据每日刷新,关键词洞察 24 小时,商品与广告 24–48 小时;来自 echosell-images.tos-ap-southeast-1.volces.com 的图片需经 batch_download_cover_images 批量转换。作者 KeyAPI,MIT 许可,仓库 https://github.com/EchoSell/keyapi-skills。