🔑
Step 22 of 21 pipeline steps

Step 2: Keyword Research (2026 Guide)

Expand the seed keyword into a rich cluster of related terms.

Keyword research is where SEO campaigns are won or lost. Pick the wrong keywords and no amount of great content will get you ranked. Pick the right cluster — a set of tightly related terms that together cover the full topical landscape — and Google rewards you with rankings not just for one keyword but for dozens of related queries simultaneously.

seorankar.com's Step 2 automates this entire process. Starting from your single seed keyword defined in Step 1, the system calls multiple keyword intelligence APIs in parallel, builds a comprehensive cluster of related terms, groups them by search intent, and assigns each keyword to the most relevant section of your planned article. The result is an article that's optimized not just for one query but for the entire semantic neighborhood around your topic.

This multi-intent keyword strategy is exactly what separates pages that rank for 2–3 keywords from pages that rank for 200+ keywords and generate thousands of monthly organic visits.

What Happens During Keyword Research

The keyword research step begins by sending your seed keyword to multiple data providers simultaneously. seorankar.com's step2-keywords.ts pipeline module orchestrates these parallel API calls:

  • DataForSEO Keywords API: Returns search volume, CPC, competition score, and trend data for the seed keyword and up to 1,000 related terms
  • Google Keyword Planner (via DataForSEO): Provides official Google search volume data and bid estimates
  • Ahrefs API (if configured): Adds keyword difficulty scores, click-through rates, and parent topic data
  • SEMrush API (if configured): Provides competitor keyword gaps and SERP volatility scores

After collecting raw data from all providers, the pipeline runs an intent classification pass. Each keyword is tagged as one of: Informational (the searcher wants to learn), Commercial (comparing options before buying), Transactional (ready to buy), or Navigational (looking for a specific site). This classification determines which section of the article each keyword belongs to.

The final keyword cluster is structured in three tiers: 1. Primary keyword: The main target — highest volume, clearest match to the article topic 2. Secondary keywords: 5–15 related terms to naturally weave into headings and body text 3. LSI / semantic keywords: 20–50 loosely related terms for topical depth (passed to Step 9)

Why Keyword Clustering Beats Single-Keyword Targeting

Modern Google doesn't rank individual pages for individual keywords — it ranks pages for topics. When Google understands that your article thoroughly covers a topic (not just a single phrase), it displays that page for every related query that falls within the topic's semantic space.

This is why a well-clustered article targeting "SERP analysis" can simultaneously rank for "how to analyze SERP", "SERP features list", "SERP analysis tools", "competition analysis SEO", and dozens more — all from a single page.

seorankar.com's keyword clustering approach is designed to maximize this topical breadth. By identifying all semantically related terms upfront and structuring the article to address each one, the system builds pages that Google recognizes as authoritative topical resources, not thin keyword-match documents.

The intent segmentation layer adds another dimension. An article that mixes informational and transactional content often ranks poorly for both. By mapping each section to a specific intent, seorankar.com ensures the article's structure matches the dominant intent of the target keyword — critical for both rankings and user satisfaction signals.

How seorankar.com Implements It

The step2-keywords.ts module uses a provider abstraction layer (lib/providers/keywords.ts) that makes it easy to swap between keyword data sources. The module:

1. Reads the seed keyword from the project JSON 2. Sends parallel API requests to all configured providers 3. Merges and deduplicates results (a term appearing in both Ahrefs and DataForSEO gets its data merged, not duplicated) 4. Runs intent classification using a lightweight NLP classifier (lib/nlp.ts) 5. Scores each keyword by relevance to the seed keyword (cosine similarity of TF-IDF vectors) 6. Writes the structured keyword cluster back to the project JSON under keywords

The relevance scoring ensures that only genuinely related terms make it into the cluster. Random high-volume keywords that happen to share a word with your seed phrase are filtered out — a common failure mode in simplistic keyword tools.

APIs & Tools Used in This Step

  • DataForSEO Keywords Data API: Primary volume and competition data source
  • Ahrefs API: Keyword difficulty and click metrics (optional, requires Ahrefs subscription)
  • SEMrush API: Competitor gap analysis (optional, requires SEMrush subscription)
  • lib/nlp.ts: In-house NLP classifier for intent detection
  • lib/providers/keywords.ts: Provider abstraction for multi-source data merging

Output of This Step

Structured keyword cluster with volume, difficulty, intent labels, and section assignments.

💡 Pro Tips

  • →Target keywords with a difficulty score below 40 if your site is new — high-volume, low-difficulty long-tails compound over time.
  • →Don't ignore CPC data — high CPC keywords signal commercial value even for informational articles (you can monetize that traffic).
  • →Check keyword trend data — a keyword declining 20% month-over-month is a warning sign even if current volume looks attractive.
  • →The "parent topic" field from Ahrefs tells you the broader keyword your target term belongs to — use it to make sure your article scope is right.

Frequently Asked Questions

Q: Which keyword data source is most accurate?

No single source is definitively "best" — different tools use different data collection methods. seorankar.com merges multiple sources to get a consensus estimate that's more reliable than any single tool.

Q: How many secondary keywords should I target?

Typically 5–15 secondary keywords is ideal. More than 20 risks diluting the article's topical focus. seorankar.com's system selects the top secondary keywords by relevance score automatically.

Q: Does keyword difficulty affect the article content?

Yes. High-difficulty keywords trigger a more aggressive research depth — more competitor pages scraped, more entities extracted, longer target word count — to create content strong enough to compete.

Ready to automate your SEO pipeline?

seorankar.com runs all 20 steps automatically — from keyword research to WordPress publish.

Chat with us
↑ Back to top