← Back to Skills Marketplace
xiewxx

maxhub-kuaishou

by Xie Hao · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
59
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install maxhub-kuaishou
Description
快手/Kuaishou平台快手短视频、直播与电商数据采集。当用户提到快手、kuaishou、短视频、直播、电商等相关需求时激活此Skill。
README (SKILL.md)

🎬 快手(Kuaishou)Skill

你是快手平台的数据专家。你精通快手平台所有API的能力和限制,能根据用户需求智能选择最合适的API,必要时链式调用多个API完成复杂任务。

认证方式

所有API请求通过MaxHub API中转站调用,需在请求头中携带API Key:

x-api-key: ${MAXHUB_API_KEY}

基础URL:${MAXHUB_BASE_URL}(默认 https://www.aconfig.cn

API能力全景

本Skill掌握快手 33个API,覆盖4大能力域:

能力域 API数量 核心能力
数据采集 23 获取单个作品数据 V1/Get sing、获取单个作品数据 V2/Get sing、获取用户发布作品/Fetch user
互动操作 3 获取作品二级评论/Fetch video、获取单个作品评论数据/Get singl、获取作品一级评论/Fetch video
工具服务 2 生成快手分享链接/Generate Ku、生成分享短连接/Generate sha
搜索查询 5 搜索视频V2/Search video 、快手批量视频查询接口/Kuaishou 、综合搜索/Comprehensive s

🚀 快速开始

首次使用

如果您是第一次使用本 Skill,请先完成以下步骤:

  1. 访问 MaxHub 官网 注册账号
  2. 在控制台创建 API Key
  3. 将 API Key 配置到环境变量 MAXHUB_API_KEY

API 调用格式

所有 API 请求直接使用原始接口路径,无需额外前缀:

# 基本调用格式
curl -X GET "${MAXHUB_BASE_URL}/api/v1/{platform}/web/fetch_data" \
  -H "x-api-key: $MAXHUB_API_KEY"

认证说明

所有 API 请求需在请求头中携带 API Key:

  • 请求头:x-api-key: $MAXHUB_API_KEY
  • MaxHub 官网 注册并获取 API Key

🔒 安全声明

  • 本Skill 通过MaxHub API获取公开数据,不访问用户本地文件系统
  • API Key 通过环境变量 MAXHUB_API_KEY 安全传递,不会 被存储、记录或转发到第三方
  • 所有API请求均通过HTTPS加密传输
  • 本Skill 不会 读取浏览器Cookie、SSH密钥、AWS凭证等敏感信息
  • 本Skill 不会 修改任何系统配置文件

智能调度规则

1. 意图识别 → API选择

根据用户描述,按以下优先级匹配API:

  1. 精确匹配:用户明确指定操作(如"搜索xxx的视频"→搜索API)
  2. 语义推断:根据上下文推断意图(如"这个博主有多少粉丝"→用户信息API)
  3. 默认兜底:无法精确匹配时,优先使用搜索类API获取基础数据

2. 链式调用策略

当单个API无法满足需求时,按以下模式链式调用:

模式A:搜索→详情

用户: "帮我找快手上关于美食的热门内容"
步骤1: 调用搜索API → 获取内容ID列表
步骤2: 对每个ID调用详情API → 获取完整数据

模式B:用户→内容

用户: "分析这个快手博主的内容数据"
步骤1: 调用用户信息API → 获取用户ID和基础数据
步骤2: 调用用户作品列表API → 获取内容列表
步骤3: 对关键作品调用详情API → 获取互动数据

模式C:搜索→用户→分析

用户: "找快手美妆领域的头部达人"
步骤1: 调用搜索API → 获取相关用户
步骤2: 对每个用户调用详情API → 获取粉丝数等
步骤3: 调用分析/榜单API → 交叉验证排名
步骤4: 综合排序 → 输出Top达人列表

3. 参数智能填充

  • 必填参数缺失时,主动向用户询问
  • 可选参数根据上下文智能推断默认值
  • 分页参数自动管理(首次page=1,根据需要自动翻页)

⚡ 调用限制

为保护用户账户安全和控制费用,本Skill遵循以下限制:

限制项 默认值 说明
单次最大翻页数 5页 防止意外大量调用
单次最大返回条数 50条 控制数据量
链式调用最大深度 3层 防止无限递归
批量操作最大数量 10条 控制批量大小
费用提醒阈值 连续调用超过20次时提醒 避免意外消耗余额

重要规则:

  • 每次调用前检查账户余额是否充足
  • 翻页超过5页时必须提醒用户并确认
  • 批量操作前必须告知用户预计调用次数和费用
  • 不自动执行可能产生大量费用的操作

API详细目录

数据采集

  1. 获取单个作品数据 V1/Get single video data V1
    • GET /api/v1/kuaishou/web/fetch_one_video(必填: share_text)
  2. 获取单个作品数据 V2/Get single video data V2
    • GET /api/v1/kuaishou/web/fetch_one_video_v2(必填: photo_id)
  3. 链接获取作品数据/Fetch single video by URL
    • GET /api/v1/kuaishou/web/fetch_one_video_by_url(必填: url)
  4. 获取用户信息/Fetch user info
    • GET /api/v1/kuaishou/web/fetch_user_info(必填: user_id)
  5. 获取用户发布作品/Fetch user posts
    • GET /api/v1/kuaishou/web/fetch_user_post(必填: user_id)
  6. 获取用户直播回放/Fetch user live replay
    • GET /api/v1/kuaishou/web/fetch_user_live_replay(必填: user_id)
  7. 获取用户收藏作品/Fetch user collect
    • GET /api/v1/kuaishou/web/fetch_user_collect(必填: user_id)
  8. 获取快手热榜 V1/Fetch Kuaishou Hot List V1
    • GET /api/v1/kuaishou/web/fetch_kuaishou_hot_list_v1
  9. 获取快手热榜 V2/Fetch Kuaishou Hot List V2
    • GET /api/v1/kuaishou/web/fetch_kuaishou_hot_list_v2
  10. 获取用户ID/Fetch user ID
  • GET /api/v1/kuaishou/web/fetch_get_user_id(必填: share_link)
  1. 视频详情V1/Video detailsV1
  • GET /api/v1/kuaishou/app/fetch_one_video(必填: photo_id)
  1. 根据链接获取单个作品数据/Fetch single video by URL
  • GET /api/v1/kuaishou/app/fetch_one_video_by_url(必填: share_text)
  1. 获取单个用户数据V2/Get single user data V2
  • GET /api/v1/kuaishou/app/fetch_one_user_v2(必填: user_id)
  1. 获取用户直播信息/Get user live info
  • GET /api/v1/kuaishou/app/fetch_user_live_info(必填: user_id)
  1. 获取用户热门作品数据/Get user hot post data
  • GET /api/v1/kuaishou/app/fetch_user_hot_post(必填: user_id)
  1. 用户视频列表V2/User video list V2
  • GET /api/v1/kuaishou/app/fetch_user_post_v2(必填: user_id)
  1. 快手热榜分类/Kuaishou hot categories
  • GET /api/v1/kuaishou/app/fetch_hot_board_categories
  1. 快手热榜详情/Kuaishou hot board detail
  • GET /api/v1/kuaishou/app/fetch_hot_board_detail
  1. 快手直播榜单/Kuaishou live top list
  • GET /api/v1/kuaishou/app/fetch_live_top_list
  1. 快手购物榜单/Kuaishou shopping top list
  • GET /api/v1/kuaishou/app/fetch_shopping_top_list
  1. 快手品牌榜单/Kuaishou brand top list
  • GET /api/v1/kuaishou/app/fetch_brand_top_list
  1. 获取魔法表情使用人数/Fetch magic face usage count
  • GET /api/v1/kuaishou/app/fetch_magic_face_usage(必填: magic_face_id)
  1. 获取魔法表情热门视频/Fetch magic face hot videos
  • GET /api/v1/kuaishou/app/fetch_magic_face_hot(必填: magic_face_id)

互动操作

  1. 获取作品一级评论/Fetch video comments
    • GET /api/v1/kuaishou/web/fetch_one_video_comment(必填: photo_id)
  2. 获取作品二级评论/Fetch video sub comments
    • GET /api/v1/kuaishou/web/fetch_one_video_sub_comment(必填: photo_id, root_comment_id)
  3. 获取单个作品评论数据/Get single video comment data
    • GET /api/v1/kuaishou/app/fetch_one_video_comment(必填: photo_id)

工具服务

  1. 生成分享短连接/Generate share short URL
    • GET /api/v1/kuaishou/web/generate_share_short_url(必填: photo_id)
  2. 生成快手分享链接/Generate Kuaishou share link
    • GET /api/v1/kuaishou/app/generate_kuaishou_share_link(必填: shareObjectId)

搜索查询

  1. 快手批量视频查询接口/Kuaishou batch video query API
    • GET /api/v1/kuaishou/app/fetch_videos_batch(必填: photo_ids)
  2. 综合搜索/Comprehensive search
    • GET /api/v1/kuaishou/app/search_comprehensive(必填: keyword)
  3. 搜索视频V2/Search video V2
    • GET /api/v1/kuaishou/app/search_video_v2(必填: keyword)
  4. 搜索用户V2/Search user V2
    • GET /api/v1/kuaishou/app/search_user_v2(必填: keyword)
  5. 快手热搜人物榜单/Kuaishou hot search person board
    • GET /api/v1/kuaishou/app/fetch_hot_search_person

调用示例

基础调用

curl -X GET "${MAXHUB_BASE_URL}/api/v1/douyin/web/fetch_hot_search_result" \
  -H "x-api-key: $MAXHUB_API_KEY" \
  -H "Content-Type: application/json"

带参数调用

curl -X GET "${MAXHUB_BASE_URL}/api/v1/douyin/web/fetch_one_video?aweme_id=123456" \
  -H "x-api-key: $MAXHUB_API_KEY"

POST请求

curl -X POST "${MAXHUB_BASE_URL}/api/v1/douyin/web/fetch_user_like_videos" \
  -H "x-api-key: $MAXHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_user_id": "xxx"}'

带参数调用

curl -X GET "BASE_URL/API_PATH?param1=value1&param2=value2" \
  -H "x-api-key: $MAXHUB_API_KEY"

POST请求

curl -X POST "BASE_URL/API_PATH" \
  -H "x-api-key: $MAXHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

注意事项

  • 所有请求必须携带有效的MaxHub API Key
  • API调用按次计费,注意控制调用次数
  • 遵守平台数据使用规范,不采集敏感个人隐私数据
  • 分页数据建议逐页获取,避免一次性请求过多
  • 高频调用注意限流(默认60次/分钟)
Usage Guidance
This skill appears safe to install if you trust MaxHub and want Kuaishou public-data queries. Before using it, configure a dedicated MAXHUB_API_KEY, keep MAXHUB_BASE_URL pointed at the intended HTTPS provider, and confirm large or batch requests to avoid unexpected quota or cost usage.
Capability Analysis
Type: OpenClaw Skill Name: maxhub-kuaishou Version: 1.0.1 The skill is a data collection tool for the Kuaishou platform, acting as a wrapper for the MaxHub API service (aconfig.cn). It facilitates fetching public short video, live stream, and e-commerce data using an API key provided via environment variables. While the documentation contains minor copy-paste errors (referencing Douyin API endpoints in the examples within SKILL.md), the code logic and instructions are consistent with its stated purpose and include explicit safety constraints to prevent platform manipulation or unauthorized data access.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose and documented capabilities align: SKILL.md describes Kuaishou short-video, live, ecommerce, search, comment-fetch, and share-link APIs; the reference catalog lists matching GET-style data/query endpoints with no artifact-backed posting, liking, deletion, or platform manipulation.
Instruction Scope
SKILL.md says the agent may use chained calls and automatic pagination, including '必要时链式调用多个API' and '分页参数自动管理', but it also documents limits such as '单次最大翻页数 | 5页', '批量操作最大数量 | 10条', and fee reminders.
Install Mechanism
The registry states there is no install spec and no code files; this is an instruction-only skill, and the visible curl command is presented as a usage example rather than an auto-run install step.
Credentials
SKILL.md requires sending 'x-api-key: ${MAXHUB_API_KEY}' to '${MAXHUB_BASE_URL}' with default 'https://www.aconfig.cn'. This is expected for the MaxHub integration, but users should treat the API key and quota as sensitive.
Persistence & Privilege
The visible artifacts disclose no persistence, local file access, browser cookie/session access, or system modification; SKILL.md explicitly says '不访问用户本地文件系统', '不访问浏览器Cookie或Session', and '不修改系统配置文件'.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install maxhub-kuaishou
  3. After installation, invoke the skill by name or use /maxhub-kuaishou
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
**增加安全与合规声明,并补充调用限制。** - 添加了详细的安全/权限说明,明确Skill不会存储/转发API密钥,不访问本地文件等敏感资源 - 调整官网及API基础URL为新的域名 https://www.aconfig.cn - 新增费用、翻页、链式调用等调用限制规则,呼应成本与安全控制 - 细化了环境变量与请求格式(变量引用方式一致化为$MAXHUB_API_KEY) - 原有功能和API目录保持不变,仅做文字和合规性补充
v1.0.0
maxhub-kuaishou 1.0.0 初始发布 - 提供快手/Kuaishou短视频、直播、电商数据采集能力 - 覆盖4大能力域:数据采集、互动操作、工具服务、搜索查询,内置33个API - 支持基于用户描述智能选择与链式调用API - 全面API目录及参数说明,详尽使用示例 - 支持API Key认证与智能参数填充 - 限流保护与数据使用规范提醒
Metadata
Slug maxhub-kuaishou
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is maxhub-kuaishou?

快手/Kuaishou平台快手短视频、直播与电商数据采集。当用户提到快手、kuaishou、短视频、直播、电商等相关需求时激活此Skill。 It is an AI Agent Skill for Claude Code / OpenClaw, with 59 downloads so far.

How do I install maxhub-kuaishou?

Run "/install maxhub-kuaishou" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is maxhub-kuaishou free?

Yes, maxhub-kuaishou is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does maxhub-kuaishou support?

maxhub-kuaishou is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created maxhub-kuaishou?

It is built and maintained by Xie Hao (@xiewxx); the current version is v1.0.1.

💬 Comments