360 Secure SkillHub
360 安全技能中心

heyrepli

该 Skill 封装 HeyRepli 社交管家 API 的命令行脚本,支持 7 个平台的内容抓取、AI 改写与草稿、发帖与定时发布、品牌提及跟踪和用量查询;调用需 API Key,部分发帖功能要求先在 HeyRepli 面板完成平台授权。

qiaohu23
qiaohu23
热度 16.11
最近更新 2026-09-27 13:16:31
分类:营销依赖:第三方 API / 代码执行应用场景:社交媒体 / 文案创作 / 市场分析 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add heyrepli
Metadata
name
heyrepli
description
Scrape social media, generate AI replies, and publish/schedule posts via the HeyRepli API. Use when the user asks to get a YouTube transcript, fetch TikTok/Instagram/X(Twitter)/LinkedIn/Facebook post data, rewrite or draft social content, publish or schedule a post, track brand mentions, or check HeyRepli usage/quota.
homepage
https://heyrepli.com
license
MIT

HeyRepli

HeyRepli is an AI social concierge API: data scraping for 7 platforms, AI rewrite/draft, publishing, brand-mention tracking, and analytics. All through one API key.

Setup

  1. Get an API key: log in at https://app.heyrepli.com → Settings → Account (https://app.heyrepli.com/dashboard/settings/account) → copy your API key
  2. Export it (never hardcode in files or output):
export HEYREPLI_API_KEY="***"

Every call sends it as header X-API-Key. Free tier: 50 AI replies + 5 rewrites + 10 scheduled posts per month.

Two API surfaces

  • MCP endpoint (13 tools, JSON-RPC): POST https://api.heyrepli.com/api/v1/mcp
  • Open REST API (5 endpoints): https://api.heyrepli.com/api/v1/open/*

Prefer the helper script; it handles both and prints JSON.

Workflow

Use scripts/heyrepli.py (Python 3.8+, stdlib only):

# List all MCP tools
python scripts/heyrepli.py list-tools

# Call any MCP tool (scraping, AI rewrite, publish)
python scripts/heyrepli.py call scrape_youtube_transcript --args '{"videoId":"dQw4w9WgXcQ"}'
python scripts/heyrepli.py call ai_rewrite --args '{"text":"just shipped a new feature lol","style":"professional","provider":"auto"}'

# Open REST endpoints
python scripts/heyrepli.py rest posts --params platform=twitter
python scripts/heyrepli.py rest replies --body '{"platform":"twitter","comment_text":"nice product!"}'
python scripts/heyrepli.py rest schedule --body '{"platform":"twitter","content":"hello","scheduled_at":"2026-09-28T09:00:00Z"}'
python scripts/heyrepli.py rest mentions
python scripts/heyrepli.py rest analytics --params period=7d
python scripts/heyrepli.py usage

Full tool list, arguments, and endpoint parameters: read references/api.md.

Caveats

  • TikTok tool name mismatch on the server: tools/list declares tiktok_video_insights but the handler implements scrape_tiktok_video. If one name errors, try the other.
  • publish_twitter/linkedin/facebook require the user to have completed OAuth for that platform in the HeyRepli dashboard first; otherwise the call fails with an OAuth error — tell the user to connect the account, do not retry blindly.
  • scrape_youtube_transcript works without any YouTube API key (Innertube). scrape_youtube_video and scrape_youtube_search require a YOUTUBE_API_KEY configured in the user's HeyRepli account.
  • Rate limits are per plan; on HTTP 429 respect Retry-After, never loop.
  • Errors return { "ok": false, "error": { "code", "message" } } — surface message to the user verbatim.
  • API status check: GET https://api.heyrepli.com/health (no auth).