SEMrush Keyword Research - Volume, Difficulty & Related avatar
SEMrush Keyword Research - Volume, Difficulty & Related

Pricing

from $0.01 / 1,000 results

Go to Apify Store
SEMrush Keyword Research - Volume, Difficulty & Related

SEMrush Keyword Research - Volume, Difficulty & Related

Research any keyword with SEMrush data using your own API key (BYOK). Get search volume, keyword difficulty, CPC, SERP features, and discover related keywords - all in structured format for automation.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

John Rippy

John Rippy

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

5

Monthly active users

2 hours ago

Last modified

Share

SEMrush Keyword Research - Volume, Difficulty & Related Keywords

Get comprehensive keyword data from SEMrush including search volume, keyword difficulty, CPC, SERP features, and related/phrase match keywords. BYOK (Bring Your Own Key) - use your SEMrush API key. Built by John Rippy (https://www.linkedin.com/in/johnrippy/).


What is SEMrush?

SEMrush is a leading SEO and marketing analytics platform. This actor uses SEMrush's API to fetch keyword data - you need a SEMrush subscription with API access.

How to get your SEMrush API key:

  1. Go to semrush.com/api/
  2. Log in with your SEMrush account
  3. Copy your API key from the dashboard
  4. Paste it in the semrushApiKey field below

⚠️ Note: Free SEMrush accounts do NOT include API access. You need a paid plan with API units.


Features

  • Search Volume - Monthly search volume for any keyword
  • Keyword Difficulty (KD) - How hard to rank (0-100 score)
  • CPC Data - Cost-per-click for PPC planning
  • SERP Features - Which features appear (featured snippets, PAA, etc.)
  • Related Keywords - Semantically similar keywords
  • Phrase Match - Keywords containing your seed phrase
  • 45+ Country Databases - US, UK, DE, FR, and more

Quick Start

Try it first (Free - Demo Mode)

{
"demoMode": true
}

This returns sample SEMrush data so you can see the output format without charges or API key.

Basic Keyword Research

{
"semrushApiKey": "your_semrush_api_key",
"keywords": ["email marketing software", "crm for small business"],
"database": "us",
"demoMode": false
}
{
"semrushApiKey": "your_semrush_api_key",
"keywords": ["project management"],
"database": "us",
"includeRelatedKeywords": true,
"includePhraseMatch": true,
"relatedLimit": 50,
"phraseMatchLimit": 50,
"minVolume": 100,
"maxDifficulty": 60,
"demoMode": false
}

Multiple Countries

{
"semrushApiKey": "your_semrush_api_key",
"keywords": ["seo agency"],
"database": "uk",
"demoMode": false
}

Common databases: us, uk, de, fr, es, it, ca, au, br, in

Demo Mode

Set demoMode: true to test with sample data (no charges). When you're ready for real results, set demoMode: false or omit it.

{
"demoMode": true,
...
}

Input Parameters

ParameterTypeDefaultDescription
semrushApiKeystring-Your SEMrush API key (required for real data)
keywordsarray-Keywords to research
databasestringusCountry database (45+ options)
includeRelatedKeywordsbooleantrueGet related keywords
includePhraseMatchbooleantrueGet phrase match keywords
relatedLimitinteger20Max related keywords per seed
phraseMatchLimitinteger20Max phrase match per seed
minVolumeinteger0Filter by minimum volume
maxDifficultyinteger100Filter by max difficulty
webhookUrlstring-Webhook endpoint
webhookPlatformstringcustomzapier, make, n8n, custom
demoModebooleantrueReturn sample data

Output Format

{
"keyword": "email marketing software",
"database": "us",
"searchVolume": 22200,
"keywordDifficulty": 78,
"cpc": 15.42,
"competition": 0.94,
"trends": [18100, 18100, 22200, 24400, 27100, 22200, 22200, 22200, 18100, 18100, 22200, 22200],
"serpFeatures": ["Featured snippet", "Reviews", "Site links", "People also ask"],
"relatedKeywords": [
{
"keyword": "best email marketing software",
"volume": 8100,
"difficulty": 72,
"cpc": 12.85
}
],
"phraseMatchKeywords": [
{
"keyword": "email marketing software for small business",
"volume": 1900,
"difficulty": 65,
"cpc": 18.20
}
]
}

Understanding the Output

What is Keyword Difficulty (KD)? A 0-100 score indicating how hard it is to rank on page 1. Under 30 = easy, 30-60 = medium, 60+ = hard.

What are SERP Features? Special results that appear on Google like featured snippets, People Also Ask, local packs, etc.

What is the trends array? Monthly search volumes for the past 12 months, oldest to newest.

Common Problems & Solutions

"Invalid API key" error

Cause: Your SEMrush API key is incorrect or expired. Fix: Get your API key from semrush.com/api/ and copy it exactly.

"API limit exceeded" error

Cause: You've used all your SEMrush API units for the month. Fix: Check your API usage at semrush.com/api/. Upgrade your plan or wait for renewal.

Cause: The keyword may be too niche or the limits are set too restrictively. Fix:

  • Increase relatedLimit and phraseMatchLimit
  • Lower minVolume threshold
  • Raise maxDifficulty threshold

Demo data showing instead of real results

Cause: demoMode is still set to true. Fix: Set demoMode: false and provide your semrushApiKey.

Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Actor startBase cost per run$0.05
Keyword analyzedPer seed keyword$0.02
Related keywords fetchedPer batch$0.01
Phrase match fetchedPer batch$0.01
Webhook sentPer notification$0.01

Use Cases

Content Planning

Find high-volume, low-competition topics.

PPC Research

Get CPC and competition data for ad planning.

Competitor Keyword Gap

Research what keywords competitors rank for.

SEO Strategy

Build keyword clusters around main topics.

Client Reporting

Export structured keyword data for reports.


Built by John Rippy | Actor Arsenal