Communitygithub.com

YepAPI/skills

YepAPI 的完整 API 上下文 — 針對 SEO、SERP、網頁爬蟲、YouTube 和 AI 提供 30 個端點。外加 110 個適用於 Next.js、React、TypeScript、shadcn/ui、安全性、SEO、儀表板等的技能。

skills 是什麼?

YepAPI/skills 技能為 AI 助手(如 Claude Code、Cursor 或 Codex)提供 YepAPI 的完整 API 參考資料與上下文。它涵蓋超過 30 個端點,涵蓋 SEO 關鍵字分析、SERP(Google 自然搜尋、新聞、地圖)、網域分析、競爭者研究、反向連結、頁面內審計、Lighthouse 分數、Google 趨勢、AI 可見性(ChatGPT/Gemini 提及)、網頁爬蟲(含 JavaScript 渲染與反封鎖)、YouTube 搜尋與影片資料,以及包含 69 個 AI 模型的聊天功能。所有端點均需在標頭中提供 `x-api-key` 進行驗證,速率限制為每分鐘 60 次請求,回應格式為統一的 JSON `{ ok: true, data: {...} }` 或 `{ ok: false, error: { code, message } }`。此技能透過提供精確的 API 路徑、所需欄位、成本與範例回應,讓開發者與 AI 代理在編碼或除錯時能無縫使用這些端點,無需查閱外部文件。也支援 MCP 伺服器,可透過 `npx -y @yepapi/mcp` 執行。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

YepAPI — API 參考資料

基礎 URL: https://api.yepapi.com 身分驗證: x-api-key 標頭 回應格式: { ok: true, data: {...} } 或 { ok: false, error: { code, message } } 速率限制: 60 次請求/分鐘

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。地圖端點額外回傳 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網域反向連結檔案

回傳:概覽給出 traffic、keywords_count、backlinks、domain_rank。關鍵字給出 keyword、position、volume、url。

競爭者

方法路徑費用必填參數說明
POST/v1/seo/competitors$0.04domain依關鍵字重疊程度找出競爭者網域
POST/v1/seo/keyword-gap$0.04domain、competitor兩個網域之間的關鍵字缺口

回傳:競爭者給出 domain、overlap、traffic。缺口給出 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參照網域及其權重

回傳:摘要給出 total_backlinks、dofollow_ratio、domain_rank。反向連結給出 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 趨勢隨時間變化的興趣(最多 5 個關鍵字)

回傳:頁面審計給出 issues[]、meta、headings、links、images。Lighthouse 給出 performance、accessibility、seo、best_practices (0-100)。趨勢給出 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 (title、description、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留言與回覆

回傳:搜尋給出 results[],包含 videoId、title、views、published。文字稿給出 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.

相關技能