微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔍

专业级SEO数据研究与竞争情报平台

SEO DataForSEO · v1.0.0
专业技能 安全 A 级 作者 adamkristopher 公开目录收录
下载 2.9k 安装 1 收藏 10k 浏览 33
原始页面

简介

专业SEO关键词研究工具,整合DataForSEO API提供搜索量分析、竞争情报、趋势追踪等完整SEO工作流,适合内容营销与搜索优化场景。

原始描述

SEO keyword research using the DataForSEO API. Perform keyword analysis, YouTube keyword research, competitor analysis, SERP analysis, and trend tracking. Use when the user asks to: research keywords, analyze search volume/CPC/competition, find keyword suggestions, check keyword difficulty, analyze competitors, get trending topics, do YouTube SEO research, or optimize landing page keywords. Requires a DataForSEO API account and credentials in .env file.

中文使用说明 来自收录源

核心用法

SEO Keyword Research (DataForSEO) 是一款面向专业营销人员的API驱动型关键词研究工具,通过与DataForSEO数据服务对接,实现从基础搜索量查询到复杂竞争情报分析的完整SEO工作流。

核心功能模块包括:

  • 关键词深度分析:支持搜索量、CPC、竞争度、难度评分等多维度数据获取
  • YouTube专项优化:针对视频内容的搜索趋势与SERP排名分析
  • 竞争对手情报:域名关键词挖掘、Google Ads策略解析、竞品域识别
  • 趋势实时追踪:当前热门搜索主题监测
  • 落地页优化:结合竞品数据的关键词布局建议

工具采用"研究-自动保存-汇总"三段式工作流,所有API调用结果自动以时间戳JSON格式归档,并支持生成Markdown格式策略报告,便于团队协作与历史追溯。

显著优点

  1. 数据权威性:依托DataForSEO专业SEO数据服务,覆盖Google与YouTube双平台
  2. 工作流完整性:从原始数据采集到可交付策略报告的全链路自动化
  3. 灵活分层:既提供一键式高级函数,也开放25+底层API函数供精细化调用
  4. 结果可管理:结构化存储体系支持按类别检索与历史对比
  5. 场景覆盖广:同时服务SEO内容规划、付费广告策略、视频运营三类核心场景

潜在局限

  • 付费门槛:需自行注册DataForSEO账户并充值API额度,存在持续成本
  • 技术依赖:需Python环境配置与.env凭证管理,非技术用户上手门槛较高
  • 无可视化:纯数据输出需人工解读或二次加工,缺乏图表仪表盘
  • 地域限制:默认美国数据,其他区域需显式指定参数
  • API配额限制:单次调用存在700-1000关键词的上限,大规模研究需分批执行

适合人群

  • SEO专员/内容策略师:需要数据支撑关键词选题与内容规划
  • 独立开发者/技术型创业者:具备Python基础,希望自建SEO分析流水线
  • 营销机构:为多个客户项目批量生成关键词研究报告
  • 视频创作者/YouTuber:需要了解平台搜索趋势优化视频元数据

常规风险

  • API密钥泄露风险:.env文件管理不当可能导致账户额度被盗刷
  • 数据时效性:SEO数据存在更新延迟,重大决策建议交叉验证
  • API成本失控:高频调用或大规模批量请求可能产生意外账单
  • 过度依赖搜索量:工具仅提供数据参考,不替代商业判断与创意洞察

技能正文


name: seo-dataforseo description: "SEO keyword research using the DataForSEO API. Perform keyword analysis, YouTube keyword research, competitor analysis, SERP analysis, and trend tracking. Use when the user asks to: research keywords, analyze search volume/CPC/competition, find keyword suggestions, check keyword difficulty, analyze competitors, get trending topics, do YouTube SEO research, or optimize landing page keywords. Requires a DataForSEO API account and credentials in .env file."

SEO Keyword Research (DataForSEO)

Setup

Install dependencies:

pip install -r scripts/requirements.txt

Configure credentials by creating a .env file in the project root:

DATAFORSEO_LOGIN=your_email@example.com
DATAFORSEO_PASSWORD=your_api_password

Get credentials from: https://app.dataforseo.com/api-access

Quick Start

User says Function to call
"Research keywords for [topic]" keyword_research("topic")
"YouTube keyword data for [idea]" youtube_keyword_research("idea")
"Analyze competitor [domain.com]" competitor_analysis("domain.com")
"What's trending?" trending_topics()
"Keyword analysis for [list]" full_keyword_analysis(["kw1", "kw2"])
"Landing page keywords for [topic]" landing_page_keyword_research(["kw1"], "competitor.com")

Execute functions by importing from scripts/main.py:

import sys
from pathlib import Path
sys.path.insert(0, str(Path("scripts")))
from main import *

result = keyword_research("AI website builders")

Workflow Pattern

Every research task follows three phases:

1. Research

Run API functions. Each function call hits the DataForSEO API and returns structured data.

2. Auto-Save

All results automatically save as timestamped JSON files to results/{category}/. File naming pattern: YYYYMMDD_HHMMSS__operation__keyword__extra_info.json

3. Summarize

After research, read the saved JSON files and create a markdown summary in results/summary/ with data tables, ranked opportunities, and strategic recommendations.

High-Level Functions

These are the primary functions in scripts/main.py. Each orchestrates multiple API calls for a complete research workflow.

Function Purpose What it gathers
keyword_research(keyword) Single keyword deep-dive Overview, suggestions, related keywords, difficulty
youtube_keyword_research(keyword) YouTube content research Overview, suggestions, YouTube SERP rankings, YouTube trends
landing_page_keyword_research(keywords, competitor_domain) Landing page SEO Overview, intent, difficulty, SERP analysis, competitor keywords
full_keyword_analysis(keywords) Strategic content planning Overview, difficulty, intent, keyword ideas, historical volume, Google Trends
competitor_analysis(domain, keywords) Competitor intelligence Domain keywords, Google Ads keywords, competitor domains
trending_topics(location_name) Current trends Currently trending searches

Parameters

All functions accept an optional location_name parameter (default: "United States"). Most functions also have boolean flags to skip specific sub-analyses (e.g., include_suggestions=False).

Individual API Functions

For granular control, import specific functions from the API modules. See references/api-reference.md for the complete list of 25 API functions with parameters, limits, and examples.

Results Storage

Results auto-save to results/ with this structure:

results/
├── keywords_data/    # Search volume, CPC, competition
├── labs/             # Suggestions, difficulty, intent
├── serp/             # Google/YouTube rankings
├── trends/           # Google Trends data
└── summary/          # Human-readable markdown summaries

Managing Results

from core.storage import list_results, load_result, get_latest_result

# List recent results
files = list_results(category="labs", limit=10)

# Load a specific result
data = load_result(files[0])

# Get most recent result for an operation
latest = get_latest_result(category="labs", operation="keyword_suggestions")

Utility Functions

from main import get_recent_results, load_latest

# List recent files across all categories
files = get_recent_results(limit=10)

# Load latest result for a category
data = load_latest("labs", "keyword_suggestions")

Creating Summaries

After running research, create a markdown summary document in results/summary/. Include:

  • Data tables with volumes, CPC, competition, difficulty
  • Ranked lists of opportunities (sorted by volume or opportunity score)
  • SERP analysis showing what currently ranks
  • Recommendations for content strategy, titles, tags

Name the summary file descriptively (e.g., results/summary/ai-tools-keyword-research.md).

Tips

  1. Be specific — "Get keyword suggestions for 'AI website builders'" works better than "research AI stuff"
  2. Request summaries — Always create a summary document after research, named specifically
  3. Batch related keywords — Pass multiple related keywords at once for comparison
  4. Specify the goal — "for a YouTube video" vs "for a landing page" changes which data matters most
  5. Ask for competition analysis — "Show me what videos are ranking" helps identify content gaps

Defaults

  • Location: United States (code 2840)
  • Language: English
  • API Limits: 700 keywords for volume/overview, 1000 for difficulty/intent, 5 for trends, 200 for keyword ideas

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

其他来源收录

同一技能在不同目录的原始页面:

标签

seokeyword-researchdata-analysismarketingapi-integrationcontent-strategycompetitor-analysis

同类 Skill