Communitygithub.com

YepAPI 技能集

YepAPI 的完整 API 上下文 — 涵盖 SEO、SERP、网页抓取、YouTube 和 AI 的 30 个端点。外加 110 个 Next.js、React、TypeScript、shadcn/ui、安全、SEO、仪表盘等技能。

YepAPI 技能集 是什么?

YepAPI 技能集为 AI 代理(如 Claude Code、Cursor 和 Codex)提供了全面的 API 参考和上下文。它涵盖了 30 多个适用于 SEO、SERP、域名分析、竞争对手研究、反向链接、页面审计、Google Lighthouse 评分、Google Trends、AI 可见性、网页抓取、YouTube 数据和 AI 聊天的端点。此外,该技能集还包含 110 个专注于 Next.js、React、TypeScript、shadcn/ui、安全、SEO 和仪表盘构建的实用技能。通过提供 `x-api-key` 认证和结构化响应(成功时为 `{ ok: true, data: {...} }`,失败时为 `{ ok: false, error: {...} }`),YepAPI 简化了与数据密集型任务的集成。对于开发人员来说,这意味着更少的样板代码、一致的错误处理以及以 60 请求/分钟的速率限制访问昂贵的 API,从而在不离开 AI 代理环境的情况下实现从关键字研究到网站抓取等复杂工作流。

兼容平台~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add YepAPI/skills

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

YepAPI — API 参考

Base URL: https://api.yepapi.com Auth: x-api-key header Response: { ok: true, data: {...} } 或 { ok: false, error: { code, message } } Rate limit: 60 req/min

SEO — 关键词

方法路径费用必需参数描述
POST/v1/seo/keywords$0.15keywords[], location批量指标:搜索量、每次点击费用 (CPC)、难度、意图、趋势(最多 100 个)
POST/v1/seo/keywords/ideas$0.03keyword, location基于种子关键词的关键词建议
POST/v1/seo/keywords/related$0.03keyword, location种子关键词的相关关键词

返回:volume、cpc、difficulty (0-100)、intent (informational/commercial/navigational/transactional)、trend (12 个月数组)

SERP

方法路径费用必需参数描述
POST/v1/serp/google$0.01query, locationGoogle 自然搜索结果
POST/v1/serp/google/news$0.01query, locationGoogle 新闻结果
POST/v1/serp/google/maps$0.01query, locationGoogle 地图 / 本地结果

返回:results[],包含 title、url、snippet、position。Maps 额外返回 rating、reviews、address、phone。

域名分析

方法路径费用必需参数描述
POST/v1/seo/domain/overview$0.01domain流量、关键词、反向链接、域名排名
POST/v1/seo/domain/keywords$0.04domain域名排名的关键词
POST/v1/seo/domain/backlinks$0.05domain域名反向链接概览

返回:overview 提供 traffic、keywords_count、backlinks、domain_rank。Keywords 提供 keyword、position、volume、url。

竞争对手

方法路径费用必需参数描述
POST/v1/seo/competitors$0.04domain通过关键词重叠度发现竞争对手域名
POST/v1/seo/keyword-gap$0.04domain, competitor两个域名之间的关键词差距

返回:competitors 提供 domain、overlap、traffic。Gap 提供 keyword、your_position、competitor_position、volume。

反向链接

方法路径费用必需参数描述
POST/v1/seo/backlinks$0.05target指向域名/URL 的单个反向链接
POST/v1/seo/backlinks/summary$0.03target聚合指标 + dofollow 比例
POST/v1/seo/referring-domains$0.03target引用域名及其权威度

返回:summary 提供 total_backlinks、dofollow_ratio、domain_rank。Backlinks 提供 source_url、anchor、type、domain_rank。

页面内优化与趋势

方法路径费用必需参数描述
POST/v1/seo/page-audit$0.03url技术 SEO 审计(元数据、标题、链接、图片)
POST/v1/seo/lighthouse$0.05urlLighthouse 得分(性能、无障碍、SEO、最佳实践)
POST/v1/seo/trends$0.02keywords[]Google Trends 随时间变化的兴趣度(最多 5 个关键词)

返回:page-audit 提供 issues[]、meta、headings、links、images。Lighthouse 提供 performance、accessibility、seo、best_practices (0-100)。Trends 提供 interest_over_time[]。

AI 可见性

方法路径费用必需参数描述
POST/v1/seo/ai/chatgpt$0.05queryChatGPT 对品牌/查询的看法
POST/v1/seo/ai/gemini$0.05queryGemini 对品牌/查询的看法

返回:response (文本)、mentions[]、sentiment。

网页抓取

方法路径费用必需参数描述
POST/v1/scrape$0.01url抓取为 Markdown/HTML/文本
POST/v1/scrape/js$0.02urlJS 渲染页面抓取(无头浏览器)
POST/v1/scrape/stealth$0.03url反机器人绕过(住宅代理)
POST/v1/scrape/ai-extract$0.03url, promptAI 驱动的结构化提取

可选参数:format ("markdown"/"html"/"text")、waitFor (CSS 选择器)、timeout (毫秒)。 返回:content (字符串)、metadata (标题、描述、URL)。

YouTube

方法路径费用必需参数描述
POST/v1/youtube/search$0.01query搜索视频、频道、播放列表
POST/v1/youtube/video$0.02videoId完整视频元数据 + 格式
POST/v1/youtube/transcript$0.01videoId带时间戳的字幕
POST/v1/youtube/channel$0.01channelId 或 handle频道概览
POST/v1/youtube/comments$0.01videoId评论和回复

返回:search 提供 results[],包含 videoId、title、views、published。Transcript 提供 segments[],包含 text、start、duration。

AI 聊天

方法路径费用必需参数描述
POST/v1/ai/chat变量model, messages[]与 69 个 AI 模型聊天
GET/v1/ai/models免费—列出可用模型及定价

公共可选字段

SEO 端点:location (默认 "us")、language (默认 "en")、limit、offset。 抓取端点:format、waitFor、timeout。

错误代码

代码HTTP含义
INVALID_API_KEY401缺少或无效的密钥
REVOKED_API_KEY401密钥已吊销
NO_CREDITS402余额不足
RATE_LIMITED429超出 60 请求/分钟限制
VALIDATION_ERROR400请求体错误
UPSTREAM_ERROR502上游提供商错误
MODEL_NOT_FOUND400无效的 AI 模型
AI_UPSTREAM_ERROR502AI 提供商错误
STREAM_ERROR502SSE 中断
NOT_FOUND404未找到端点
INTERNAL_ERROR500服务器错误

链接

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Content planning with trend and sentiment data from YepAPI.

YepAPI/skills

Content calendar, keyword-driven planning, and content briefs.

YepAPI/skills

Theme switching with CSS variables, system preference detection, next-themes, and persistence.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Competitive analysis between domains using YepAPI.

YepAPI/skills

Layout grids, KPI cards, data tables with sorting/filtering, sidebar navigation, and responsive breakpoints.

YepAPI/skills

Data encryption — TLS everywhere, AES-256-GCM for PII, bcrypt passwords, encrypted backups.

YepAPI/skills

Chart patterns with Recharts/Nivo/D3, responsive containers, color scales, and accessibility.

YepAPI/skills

Drizzle schema definition, push vs migrate, type-safe queries, relations, transactions, and prepared statements.

YepAPI/skills

Upload handling, resize/compress, CDN delivery, blur placeholders, and next/image patterns.

YepAPI/skills

Local business and Google Maps research using YepAPI.

YepAPI/skills

Cursor-based pagination, IntersectionObserver, virtualized lists with @tanstack/react-virtual, and scroll position restoration.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

相关技能