claudebaby
§01

MCP 接入:复制提示词开始

把接入提示词交给 Agent 即可;测试连接和兼容配置不再打断首次接入。

FAST PATH / ONE URL

一条链接,直接接入远程 MCP

登录后这里会生成短时一次性连接令牌,不会把 default API Key 放进 URL。匿名访问只能看到安全的 URL 模板,避免把凭据公开。

登录控制台后刷新本页即可获得可直接使用的个人链接。 立即轮换凭据 →

选择一种接入方式Skill 与 MCP 可独立安装,也可以组合使用;原有 Prompt 入口继续兼容。
01
工作流

安装 ClaudeBaby Skill

安装标准 SKILL.md,让 Agent 自动采用规范的检索、比较和引用流程。Skill 本身不保存 Key,可单独安装。

Codex 安装
mkdir -p "$HOME/.codex/skills/claudebaby" && curl -fsSL "https://raw.githubusercontent.com/lingling1989r/claudebaby/main/skills/claudebaby/SKILL.md" -o "$HOME/.codex/skills/claudebaby/SKILL.md"
Claude Code 安装
mkdir -p "$HOME/.claude/skills/claudebaby" && curl -fsSL "https://raw.githubusercontent.com/lingling1989r/claudebaby/main/skills/claudebaby/SKILL.md" -o "$HOME/.claude/skills/claudebaby/SKILL.md"
查看完整 SKILL.md →
02
实时数据

连接 ClaudeBaby MCP

连接远程 Streamable HTTP 总路由。Key 仅通过环境变量或 Authorization 请求头传递。

Claude Code · MCP
claude mcp add --scope user --transport http claudebaby https://claudebaby.cn/mcp --header "Authorization: Bearer $CB_KEY"

其他客户端配置见下方“高级 / 兼容方式”。

03
原方式保留

复制含 Key 的 Prompt

无需先了解配置格式,直接交给 Agent 完成接入。可见预览始终脱敏,完整 Key 只进入复制内容。

接入提示词 · 直接粘给 Agent
请优先通过远程 Streamable HTTP 将 claudebaby MCP 接入当前客户端;此方式无需本地安装。如果客户端不支持远程 MCP,请改用下方的本地 stdio 安装方案。
我的 API Key:<粘贴你的 API Key>
请先读取 https://claudebaby.cn/.well-known/mcp.json,使用总路由 Streamable HTTP 地址(https://claudebaby.cn/mcp)配置当前客户端。
总路由会把 business 与已上线平台工具放进同一个 MCP 连接;如需单独排障,再从清单中选择对应的平台入口。
请求头名称固定为 Authorization,值为 Bearer <我的 API Key>。完成后调用 tools/list 验证,并告诉我连接是否成功;如果当前客户端不支持远程 MCP,再说明需要切换到本地 stdio 备用方案。
高级 / 兼容方式JSON · stdio · SSE · 逐平台入口
总路由与兼容接入:云端治理链路相同,客户侧入口不同
02远程 Streamable HTTP / SSE兼容
Agent / MCP Client支持远程 MCP 的客户端
claudebaby.cn 云端网关总路由 MCP / 平台 MCP
远程兼容入口无需本地 bridge

支持远程 MCP 的客户端可直接配置总路由;平台级地址保留给高级场景。

两种方式都不会把上游数据源密钥下发给客户;差别只在是否通过本地总路由统一发现和转发。

  1. 注册

    进 控制台,用邮箱和口令创建账号。

  2. 签发 API Key

    控制台「API Key」页签发;明文只出现一次,请立刻存进密钥库。

  3. 充值

    控制台「充值」页在线支付(PayPal / 支付宝)即时到账;大额或对公转账加商务微信 aoxueluoluo。到账后余额、积分明细实时可查。

  4. 配置 MCP 客户端

    复制上面的命令或配置,接入总路由;也可以打开 API 详情直接试用 REST 接口。

本地 stdio 总路由命令
# 一条命令:自动安装 bridge,并接入 business + 已上线平台
claude mcp add claudebaby --scope user --env CLAUDEBABY_API_KEY="$CB_KEY" -- uvx --from "git+https://github.com/lingling1989r/claudebaby.git#subdirectory=mcps" claudebaby-mcp --platforms all
客户端 JSON 配置
{
  "mcpServers": {
    "claudebaby": {
      "type": "http",
      "url": "https://claudebaby.cn/mcp",
      "headers": { "Authorization": "Bearer <你的 API Key>" }
    }
  }
}

# 如需平台高级入口,再把 url 换成 https://claudebaby.cn/mcp/<platform>;业务单独入口为 https://claudebaby.cn/mcp/business
stdio bridge(兼容执行细节)
# 兼容只支持 stdio 的客户端:上面的同一条命令已完成安装与挂载
claude mcp add claudebaby --scope user --env CLAUDEBABY_API_KEY="$CB_KEY" -- uvx --from "git+https://github.com/lingling1989r/claudebaby.git#subdirectory=mcps" claudebaby-mcp --platforms all

# 如需预先安装可执行文件,再手动执行:
uv tool install --from "git+https://github.com/lingling1989r/claudebaby.git#subdirectory=mcps" claudebaby-mcp

# 可选自检:CLAUDEBABY_API_KEY=cb_live_xxx claudebaby-mcp --platforms all --check

按工具配置:n8n、WorkBuddy、Codex、Claude

n8n

工作流节点:填一个 Endpoint,工具自动加载

Streamable HTTP
n8n · MCP server
Endpointhttps://claudebaby.cn/mcp
Server TransportHTTP Streamable
Authentication配置 Authorization 请求头
Tools to IncludeAll
  1. 新建或打开 AI Agent 工作流
  2. 添加 MCP Client / MCP Server 节点
  3. 粘贴 URL,Transport 选 HTTP Streamable,加载全部工具
复制配置
Endpoint: https://claudebaby.cn/mcp
Server Transport: HTTP Streamable
Authorization: Bearer <API Key>
Tools to Include: All

WorkBuddy

自定义连接器:导入 JSON 后即可启用

Streamable HTTP
WorkBuddy · MCP server
入口专家 → 选择连接器 → 自定义连接器
类型Streamable HTTP
地址https://claudebaby.cn/mcp
状态已连接 · 可选择工具
  1. 打开专家面板并进入自定义连接器
  2. 点击配置,粘贴右侧 JSON
  3. 保存后回到 MCP 列表,打开 claudebaby 开关
复制配置
{
  "mcpServers": {
    "claudebaby": {
      "type": "streamableHttp",
      "url": "https://claudebaby.cn/mcp",
      "headers": {"Authorization": "Bearer <API Key>"},
      "name": "claudebaby",
      "description": "跨平台电商与社媒数据 MCP"
    }
  }
}

Codex

CLI 或 config.toml:桌面端与 CLI 共用配置

Streamable HTTP
Codex · MCP server
SettingsMCP → Add server
Nameclaudebaby
TransportStreamable HTTP
URLhttps://claudebaby.cn/mcp
  1. 在 Codex 设置中打开 MCP servers
  2. 添加 claudebaby,选择 Streamable HTTP
  3. 保存后用 codex mcp list 检查连接
复制配置
# Store the API Key in an environment variable; Codex reads only the variable name.
export CLAUDEBABY_API_KEY="<API Key>"
codex mcp add claudebaby --url "https://claudebaby.cn/mcp" --bearer-token-env-var CLAUDEBABY_API_KEY
codex mcp list

# 或写入 ~/.codex/config.toml
[mcp_servers.claudebaby]
url = "https://claudebaby.cn/mcp"
http_headers = { Authorization = "Bearer <API Key>" }

Claude

Claude Code 一条命令;Claude Desktop 导入 JSON

Streamable HTTP
Claude · MCP server
Claude Codeclaude mcp add
TransportHTTP / Streamable HTTP
Serverclaudebaby
Verify/mcp 或 claude mcp list
  1. Claude Code 执行命令,或打开 Desktop 的 Customize
  2. 添加远程 MCP server 并粘贴 URL
  3. 在会话中运行 /mcp,确认工具列表已出现
复制配置
claude mcp add --transport http --scope user claudebaby "https://claudebaby.cn/mcp" --header "Authorization: Bearer <API Key>"
claude mcp list

// Claude Desktop / 通用 JSON
{
  "mcpServers": {
    "claudebaby": {
      "type": "streamableHttp",
      "url": "https://claudebaby.cn/mcp",
      "headers": {"Authorization": "Bearer <API Key>"}
    }
  }
}

远程 Streamable HTTP、SSE、REST 与逐平台端点保留为兼容能力;完整机器清单见 https://claudebaby.cn/.well-known/mcp.json,手动调试见 API 详情。

高级 / 兼容方式:逐平台入口Streamable HTTP · SSE · stdio
§03

平台级 MCP 端点(兼容入口)

平台市场 / 域MCP(Streamable HTTP)MCP(SSE)stdio
1688国内 · 电商https://claudebaby.cn/mcp/1688https://claudebaby.cn/sse/1688claudebaby-mcp --platform 1688
amazon国外 · 电商https://claudebaby.cn/mcp/amazonhttps://claudebaby.cn/sse/amazonclaudebaby-mcp --platform amazon
douyin国内 · 社媒https://claudebaby.cn/mcp/douyinhttps://claudebaby.cn/sse/douyinclaudebaby-mcp --platform douyin
facebook国外 · 社媒https://claudebaby.cn/mcp/facebookhttps://claudebaby.cn/sse/facebookclaudebaby-mcp --platform facebook
linkedin国外 · 社媒https://claudebaby.cn/mcp/linkedinhttps://claudebaby.cn/sse/linkedinclaudebaby-mcp --platform linkedin
reddit国外 · 社媒https://claudebaby.cn/mcp/reddithttps://claudebaby.cn/sse/redditclaudebaby-mcp --platform reddit
shopee国外 · 电商https://claudebaby.cn/mcp/shopeehttps://claudebaby.cn/sse/shopeeclaudebaby-mcp --platform shopee
temu国外 · 电商https://claudebaby.cn/mcp/temuhttps://claudebaby.cn/sse/temuclaudebaby-mcp --platform temu
tiktok国外 · 社媒https://claudebaby.cn/mcp/tiktokhttps://claudebaby.cn/sse/tiktokclaudebaby-mcp --platform tiktok
tiktokshop国外 · 电商https://claudebaby.cn/mcp/tiktokshophttps://claudebaby.cn/sse/tiktokshopclaudebaby-mcp --platform tiktokshop
walmart国外 · 电商https://claudebaby.cn/mcp/walmarthttps://claudebaby.cn/sse/walmartclaudebaby-mcp --platform walmart
x国外 · 社媒https://claudebaby.cn/mcp/xhttps://claudebaby.cn/sse/xclaudebaby-mcp --platform x
xiaohongshu国内 · 社媒https://claudebaby.cn/mcp/xiaohongshuhttps://claudebaby.cn/sse/xiaohongshuclaudebaby-mcp --platform xiaohongshu
youtube国外 · 社媒https://claudebaby.cn/mcp/youtubehttps://claudebaby.cn/sse/youtubeclaudebaby-mcp --platform youtube

同一个主机名、同一个 /mcp/ 前缀,只有最后一段是平台名 —— 使用 https://claudebaby.cn/mcp/<platform>,把占位符替换成已上线平台标识即可。把域名换成你自己的反代地址时,逐段替换即可。

主机与路径前缀是共用的,平台名是唯一的变量。仅使用单个平台的远程客户端,按表中地址选择对应平台;需要多个平台时使用上面的总路由,不必逐个平台重复配置。
§03

REST 速查

curl
export CB_KEY=cb_live_xxx

# 端点一览(每个平台有哪些工具,无需鉴权)
curl -s https://claudebaby.cn/v1/meta/tools

# 取数:按工具目录选择平台、域和工具,参数走 JSON 体
PLATFORM=your_platform
DOMAIN=social_or_ecommerce
TOOL=tool_name
curl -s -X POST "https://claudebaby.cn/v1/$DOMAIN/$PLATFORM/tools/$TOOL" \
  -H "Authorization: Bearer $CB_KEY" -H "Content-Type: application/json" \
  -d '{}'

# 自查余额与用量
curl -s https://claudebaby.cn/api/me -H "Authorization: Bearer $CB_KEY"
curl -s "https://claudebaby.cn/api/usage?groupBy=day" -H "Authorization: Bearer $CB_KEY"

也接受 X-API-Key。Key 在控制台签发,明文只展示一次;轮换时旧 Key 可设宽限期,避免换 Key 打断线上任务。每个响应都带 X-Request-Id,报障时提供它即可定位整条链路。

§04

机器可读入口

页面是给人看的,这一组是给 Agent 自己读的 —— 上面那四种粘法都从这组入口派生。

入口内容用途
/.well-known/mcp.json平台清单 + 各平台 MCP 端点自动发现并挂载
/openapi.json数据面 OpenAPI 3.1 + 错误码表生成客户端 / 校验契约
/pricing.json套餐 · 充值单价 · 积分系数 · 每平台单价调用前先算账
/llms.txt纯文本站点索引不懂 HTML 的 Agent 也能读
/api/me · /api/usage余额 / 额度 / 失败率用 API Key 自查
§05

端点一览

工具名即 REST 路径末段。同一批工具也挂在 MCP 上 —— MCP 的 structuredContent 与这里的响应体逐字节一致。按 国内 / 国外 × 社媒 / 电商 分组的完整清单在 <a href="/api-reference">API 参考</a>。

1688电商已上线

调用形态:POST /v1/ecommerce/1688/tools/{tool}(共 5 个端点)

端点入参说明
ali1688_category_treenode_id:stringBrowse the 1688 category tree.
ali1688_product_searchnode_id:string · supplier_name:string · price_min:string · price_max:string · cumulative_sales_min:string · cumulative_sales_max:string · recent_sales_min:string · recent_sales_max:string · repurchase_rate_min:string · sku_count_min:string · stock_count_min:string · page:integerSearch 1688 offers / suppliers with multi-dimensional filters.
ali1688_product_requestproduct_id*:stringFull detail record of a single 1688 offer.
ali1688_product_variationsproduct_id*:stringSKU / variation data of a 1688 offer.
ali1688_similar_productsearch_name*:string · page:integerSourcing / wholesale suppliers for a product name — procurement cost view.
amazon电商已上线

调用形态:POST /v1/ecommerce/amazon/tools/{tool}(共 20 个端点)

端点入参说明
category_treesite:string · node_id:stringBrowse the Amazon category tree; omit node_id for the top two levels.
category_name_searchname*:string · site:stringFind Amazon sub-categories by name and get their node ids.
category_reportnode_id*:string · site:stringTop-100 best sellers of an Amazon sub-category, real time.
category_report_from_historynode_id*:string · start_date*:string · end_date*:string · site:stringTop-100 best sellers of an Amazon sub-category in a past date range.
category_trendnode_id*:string · trend_index:string · site:stringHistorical trend of an Amazon sub-category market.
category_keywordsnode_id*:string · page:integer · site:stringCore keywords of an Amazon sub-category market.
product_searchsearch_name:string · brand:string · seller_name:string · price_min:string · price_max:string · month_sales_min:string · month_sales_max:string · rating_min:string · rating_max:string · rating_count_min:string · rating_count_max:string · page:integer · site:stringSearch live Amazon products with multi-dimensional filters.
product_search_from_namename*:string · page:integer · site:stringSearch Amazon products by name; up to 20 per page.
product_detailasin*:string · site:stringFull detail record of a single Amazon product (one ASIN per call).
product_trendasin*:string · trend_type:string · site:stringHistorical trend of an Amazon product (sales / price / rank).
product_reviewsasin*:string · review_type:string · site:stringUp to 100 Amazon user reviews of a product from the last year.
product_customers_sayasin*:string · site:stringAmazon `Customers Say` summary distilled from a product's reviews.
product_variationsasin*:string · page:integer · site:stringChild-ASIN variation breakdown of an Amazon parent product.
product_traffic_termsasin*:string · page:integer · site:stringKeywords an Amazon product has recently been exposed under.
product_ranking_trend_by_keywordasin*:string · keyword*:string · page:integer · site:stringExposure-ranking trend of an Amazon product under one keyword.
keyword_listsite:string · page:integer · rank_min:string · rank_max:string · search_volume_min:string · search_volume_max:stringLive trending keyword list for an Amazon site, by weekly search volume.
keyword_detailkeyword*:string · site:stringDetail record of one trending Amazon keyword.
keyword_trendkeyword*:string · site:stringHistorical trend of an Amazon keyword (volume / rank / CPC).
keyword_extendskeyword*:string · site:string · page:integerExtended / long-tail keywords derived from an Amazon keyword.
keyword_search_resultskeyword*:string · site:string · page:integer · position_type:stringProducts holding organic positions for an Amazon keyword.
douyin社媒已上线

调用形态:POST /v1/social/douyin/tools/{tool}(共 4 个端点)

端点入参说明
douyin_user_profileusername*:stringPublic profile of a Douyin account.
douyin_post_detailpost_id*:stringSingle Douyin video with its author and counters.
douyin_post_commentspost_id*:string · cursor:string · count:integerTop-level comments of a Douyin video.
douyin_search_videosquery*:string · cursor:string · sort_type:string · publish_time:stringKeyword search over Douyin videos.
facebook社媒已上线

调用形态:POST /v1/social/facebook/tools/{tool}(共 3 个端点)

端点入参说明
facebook_page_profileurl*:stringFetch a public Facebook page profile.
facebook_page_postsurl*:string · limit:integerFetch recent public posts from a Facebook page.
facebook_post_detailurl*:stringFetch a public Facebook post and its engagement data.
linkedin社媒已上线

调用形态:POST /v1/social/linkedin/tools/{tool}(共 3 个端点)

端点入参说明
linkedin_user_profileurl*:stringPublic profile of a LinkedIn member.
linkedin_company_profileurl*:stringPublic page of a LinkedIn company.
linkedin_post_detailurl*:stringSingle LinkedIn post or article.
reddit社媒已上线

调用形态:POST /v1/social/reddit/tools/{tool}(共 3 个端点)

端点入参说明
reddit_search_postssubreddit*:string · query*:string · days:integer · limit:integerSearch posts in a subreddit by keyword within a time window. Returns up to `limit` matches, oldest first. `limit` is also the cost control:…
reddit_get_threadpost_id*:string · top_n:integerFetch the comment tree of a single post, optionally only the top N.
reddit_search_commentssubreddit*:string · query*:string · days:integer · limit:integerSearch comments in a subreddit by keyword within a time window. Returns up to `limit` matches, oldest first. `limit` is also the cost contr…
shopee电商已上线

调用形态:POST /v1/ecommerce/shopee/tools/{tool}(共 11 个端点)

端点入参说明
shopee_category_treesite:string · node_id:stringBrowse the Shopee category tree for one site.
shopee_category_search_from_namename*:string · site:stringFind Shopee categories by name and get their node ids.
shopee_category_requestnode_id*:string · query_date:string · page:integer · site:stringBest-selling products under a Shopee category (sub-categories only).
shopee_category_trendnode_id*:string · trend_index:string · site:stringHistorical trend of a Shopee category market.
shopee_product_searchnode_id:string · price_min:string · price_max:string · month_sales_min:string · month_sales_max:string · star_min:string · star_max:string · comment_count_min:string · comment_count_max:string · site:string · page:integerSearch Shopee products with filters, sorted by monthly sales.
shopee_product_search_from_namename*:string · site:string · page:integerSearch Shopee products by name; up to 20 per page.
shopee_product_requestproduct_id*:string · site:stringFull detail record of a single Shopee product.
shopee_product_trendproduct_id*:string · start_date:string · end_date:string · site:stringHistorical trend of a Shopee product (star / comments / price / sales).
shopee_keyword_searchkeyword:string · rank_min:string · rank_max:string · search_volume_min:string · search_volume_max:string · site:string · page:integerTrending keywords on Shopee, by monthly search volume.
shopee_keyword_relation_resultskeyword*:string · site:string · page:integerProducts related to a Shopee keyword, up to 20 per page.
shopee_shop_requestshop_id*:string · site:stringShopee seller profile plus a top-500 snapshot of its products.
temu电商已上线

调用形态:POST /v1/ecommerce/temu/tools/{tool}(共 7 个端点)

端点入参说明
temu_category_treesite:string · node_id:stringBrowse the Temu category tree for one site.
temu_category_search_from_namename*:string · site:stringFind Temu categories by name and get their node ids.
temu_category_requestnode_id*:string · page:integer · site:stringBest-selling products under a Temu category.
temu_product_searchnode_id:string · brand:string · seller_name:string · price_min:string · price_max:string · sales_min:string · sales_max:string · star_min:string · star_max:string · comment_count_min:string · comment_count_max:string · site:string · page:integerSearch Temu products with filters, sorted by monthly sales.
temu_product_search_from_namename*:string · site:string · page:integerSearch Temu products by name; 20 per page.
temu_product_requestproduct_id*:string · site:stringFull detail record of a single Temu product.
temu_product_trendproduct_id*:string · start_date:string · end_date:string · site:stringHistorical trend of a Temu product (sales / price / comments / star).
tiktok社媒已上线

调用形态:POST /v1/social/tiktok/tools/{tool}(共 4 个端点)

端点入参说明
tiktok_user_profileusername:string · user_id:stringPublic profile of a TikTok account.
tiktok_user_postsuser_id*:string · cursor:string · count:integerVideos published by a TikTok account, newest first.
tiktok_post_detailpost_id*:string · region:stringSingle TikTok video with its author and engagement counters.
tiktok_post_commentspost_id*:string · cursor:string · count:integerTop-level comments of a TikTok video.
tiktokshop电商已上线

调用形态:POST /v1/ecommerce/tiktokshop/tools/{tool}(共 10 个端点)

端点入参说明
tiktok_category_treesite:string · node_id:stringBrowse the TikTok Shop category tree for one site.
tiktok_category_search_from_namename*:string · site:stringFind TikTok Shop categories by name and get their node ids.
tiktok_category_requestnode_id*:string · page:integer · site:stringBest-selling products under a TikTok Shop category.
tiktok_category_trendnode_id*:string · trend_index:string · site:stringHistorical trend of a TikTok Shop category market.
tiktok_product_searchnode_id:string · brand:string · seller_name:string · price_min:string · price_max:string · month_sales_min:string · month_sales_max:string · star_min:string · star_max:string · review_count_min:string · review_count_max:string · site:string · page:integerSearch TikTok Shop products with filters.
tiktok_product_search_from_namename*:string · site:string · page:integerSearch TikTok Shop products by name.
tiktok_product_requestproduct_id*:string · site:stringFull detail record of a single TikTok Shop product.
tiktok_product_trendproduct_id*:string · trend_type:string · site:stringHistorical trend of a TikTok Shop product.
tiktok_shop_requestshop_id*:string · site:stringTikTok Shop seller details.
tiktok_shop_searchnode_id:string · month_sales_min:string · month_sales_max:string · star_min:string · star_max:string · site:string · page:integerSearch TikTok Shop sellers with filters.
walmart电商已上线

调用形态:POST /v1/ecommerce/walmart/tools/{tool}(共 12 个端点)

端点入参说明
walmart_category_treenode_id:stringBrowse the Walmart category tree (US site only).
walmart_category_search_from_namename*:stringFind Walmart categories by name and get their node ids.
walmart_category_report_by_node_idnode_id*:stringReal-time top-100 best sellers of a Walmart category.
walmart_product_search_from_namename*:string · page:integerSearch Walmart products by name; up to 20 per page.
walmart_product_detail_by_product_idproduct_id*:stringFull detail record of a single Walmart product.
walmart_product_trend_by_product_idproduct_id*:string · trend_type:string · start_date:string · end_date:stringHistorical trend of a Walmart product (sales volume / amount and more).
walmart_product_variation_sales_by_product_idproduct_id*:string · start_date:string · end_date:string · page:integerChild-item sales breakdown of a Walmart product.
walmart_product_traffic_termsproduct_id*:string · page:integerKeywords a Walmart product has recently been exposed under.
walmart_keyword_listrank_min*:integer · rank_max*:integer · page:integerReal-time hot keyword list for Walmart, by monthly search volume.
walmart_keyword_detailkeyword*:stringDetail record of one Walmart hot keyword.
walmart_keyword_extendskeyword*:string · page:integerExtended keywords derived from a Walmart hot keyword.
walmart_keyword_search_resultskeyword*:string · page:integerNatural-position product list for a Walmart hot keyword.
x社媒已上线

调用形态:POST /v1/social/x/tools/{tool}(共 4 个端点)

端点入参说明
x_user_profileusername:string · user_id:integerPublic profile of an X account.
x_user_postsusername:string · user_id:integer · cursor:stringPosts published by an X account.
x_post_detailpost_id*:stringSingle X post with its author and counters.
x_search_postsquery*:string · cursor:stringKeyword search over X posts.
xiaohongshu社媒已上线

调用形态:POST /v1/social/xiaohongshu/tools/{tool}(共 4 个端点)

端点入参说明
xiaohongshu_search_notesquery*:string · page:integer · sort_type:string · note_type:string · time_filter:stringKeyword search over Xiaohongshu notes.
xiaohongshu_user_profileuser_id:string · url:stringPublic profile of a Xiaohongshu account.
xiaohongshu_user_notesuser_id:string · url:string · cursor:stringNotes published by a Xiaohongshu account.
xiaohongshu_note_detailnote_id:string · url:stringSingle Xiaohongshu note (image or video).
youtube社媒已上线

调用形态:POST /v1/social/youtube/tools/{tool}(共 4 个端点)

端点入参说明
youtube_video_detailvideo_id*:stringSingle YouTube video with description and counters.
youtube_channel_profilechannel_id*:stringPublic profile of a YouTube channel.
youtube_channel_videoschannel_id*:string · cursor:stringVideos published by a YouTube channel.
youtube_search_videosquery*:string · cursor:string · order_by:stringKeyword search over YouTube videos.
§06

数据面

MCP 与 REST 是同一份工具的两个门面,挂哪个都不用学第二套 schema。

项值
REST 取数POST https://claudebaby.cn/v1/{domain}/{platform}/tools/{tool}
REST 端点一览https://claudebaby.cn/v1/{domain}/{platform}/tools
MCP(Streamable HTTP)https://claudebaby.cn/mcp/{platform}
MCP(SSE)https://claudebaby.cn/sse/{platform}
MCP(stdio)本地桥接:claudebaby-mcp
请求关联每个响应都带 X-Request-Id
envelopeMCP 的 structuredContent 与 REST 响应体逐字节一致
§07

账户自查

接口返回
GET /api/me账号 · 套餐 · 本周期额度 · 余额 · 水位
GET /api/usage?groupBy=platform|day|endpoint调用次数 · 积分 · 成功率 / 失败率

同样用 API Key 鉴权。余额、额度、失败率对客户完全透明 —— 这是产品承诺,不是「看情况」。

§08

错误码

codeHTTP建议message
invalid_request400不可重试The request parameters are invalid.
unauthorized401不可重试Missing or invalid API key.
insufficient_balance402不可重试Account balance is insufficient for this request.
data_source_disabled403不可重试This data source is disabled in your workspace.
not_found404不可重试The requested resource does not exist.
rate_limited429可重试Rate limit exceeded for this plan, please retry later.
job_not_ready409可重试The job is still running.
upstream_unavailable503可重试The data source is temporarily unavailable.
upstream_timeout504可重试The data source did not respond in time.
capacity_exceeded503不可重试Service capacity is saturated, please retry later.
internal_error500可重试An internal error occurred.

错误体固定为 {"error": {"code", "message", "retryable", "details"}};限流与上游故障会带 Retry-After。