Keyword Research
Use the bundled DataForSEO helper:
python3 scripts/dataforseo_keyword_research.py --help
Start with the smallest paid call that answers the question. Run --dry-run first when the scope or cost is unclear, and pass --yes only after the user asked for live DataForSEO data.
Default Flow
- Seed demand:
keyword-overview,keyword-ideas,related-keywords, orgoogle-ads-volume. - SERP proof:
serp-checkfor representative commercial terms. - Competitors:
competitorsfrom a known domain, or use SERP domains when no seed domain exists. - Competitor keywords:
ranked-keywords/research. - Offline analysis:
gap-analysis, thenbriefsonly if content planning is requested. - Link building:
backlink-opportunitiesonly when outreach/link acquisition is in scope.
Common Commands
python3 scripts/dataforseo_keyword_research.py keyword-overview \
--keywords "local seo services,seo automation" \
--location 2840 --language en --dry-run
python3 scripts/dataforseo_keyword_research.py serp-check \
--keywords "local seo services,seo automation" \
--location 2840 --language en --yes
python3 scripts/dataforseo_keyword_research.py competitors \
--target example.com --limit 20 --yes
python3 scripts/dataforseo_keyword_research.py ranked-keywords \
--target example.com --limit 200 --yes
python3 scripts/dataforseo_keyword_research.py gap-analysis \
--input dataforseo-results/ranked-keywords-latest.json \
--min-volume 100 --max-difficulty 40
Rules
- Use
DATAFORSEO_LOGINandDATAFORSEO_PASSWORD; never ask for or print secret values. - Keep examples generic unless the user provides a real project, domain, locale, or niche.
- Pass locale explicitly for non-US/non-English work, for example Mexico/Spanish:
--location 2484 --language es. - Review live SERP results before recommending a content plan.
- Treat generated briefs as planning artifacts; do not publish content without a separate content-quality workflow.
Resources
- Workflow guide:
references/workflow.md - API surface map:
references/dataforseo-endpoints.md - Helper script:
scripts/dataforseo_keyword_research.py
Read references/workflow.md when choosing command order. Read references/dataforseo-endpoints.md when you need endpoint coverage, payload shape, or cost/safety notes.