SEMrush Competitor Analysis - Discover & Compare Competitors avatar
SEMrush Competitor Analysis - Discover & Compare Competitors

Pricing

from $0.01 / 1,000 results

Go to Apify Store
SEMrush Competitor Analysis - Discover & Compare Competitors

SEMrush Competitor Analysis - Discover & Compare Competitors

Discover and analyze your competitors with SEMrush data using your own API key (BYOK). Find organic and paid competitors, compare traffic and keywords, and understand competitive positioning.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

John Rippy

John Rippy

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

5 days ago

Last modified

Share

What is SEMrush?

SEMrush is a leading SEO and digital marketing platform used by over 10 million marketers. This actor connects to the official SEMrush API to extract data.

Important: You need a SEMrush account with API access. The API is available on Business plans and higher.

How to Get Your SEMrush API Key

  1. Log in to SEMrush
  2. Go to your profile (top right) → Subscription Info
  3. Find your API key in the API section
  4. Copy the key and paste it in the semrushApiKey field

Discover and analyze competitors with SEMrush. Find organic and paid competitors, compare traffic, keywords, and market positioning. BYOK (Bring Your Own Key) - use your SEMrush API key.

Features

  • Automated data collection
  • Structured output format
  • Error handling
  • Pay-per-event billing

Quick Start

{
"input": "your input here"
}

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
domainstring-Your domain to analyze
databasestringusCountry database
competitorTypestringorganicorganic, paid, or both
competitorLimitinteger20Max competitors to find
includeCommonKeywordsbooleantrueGet shared keywords
commonKeywordsLimitinteger10Max common keywords
webhookUrlstring-Webhook endpoint
webhookPlatformstringcustomzapier, make, n8n, custom
demoModebooleantrueReturn sample data

Output Format

{
"data": [...]
}

Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Actor startBase cost per run$0.05
Domain analyzedPer domain$0.05
Organic competitors fetchedPer batch$0.02
Paid competitors fetchedPer batch$0.02
Webhook sentPer notification$0.01

Use Cases

Competitive Intelligence

Discover who you're really competing against.

Market Analysis

Understand your competitive landscape.

Keyword Gap Analysis

Find keywords competitors rank for that you don't.

PPC Strategy

Identify who's bidding on your keywords.

Client Onboarding

Quickly assess competitive environment for new clients.


Common Problems & Solutions

"Invalid API key" error

Cause: Your API key is wrong, expired, or doesn't have the right permissions. Fix: Double-check your API key. Make sure you copied it exactly without extra spaces.

"Rate limit exceeded" error

Cause: You've hit the API's rate limits. Fix: Wait a few minutes, then try again. Consider reducing the number of concurrent requests.

Empty or incomplete results

Cause: The target may have anti-scraping protection or the data doesn't exist. Fix:

  • Check if the URL/search query is correct
  • Try with different parameters
  • Some sites may block automated access

Demo data showing instead of real results

Cause: demoMode is still set to true. Fix: Set demoMode: false and provide your API key(s).


Built by John Rippy | Actor Arsenal