SEO Competitor Content Analyzer avatar

SEO Competitor Content Analyzer

Pricing

$0.02 / scan run

Go to Apify Store
SEO Competitor Content Analyzer

SEO Competitor Content Analyzer

Analyze competitor web pages for SEO metrics: titles, headings, word count, keywords, topics, readability, and more.

Pricing

$0.02 / scan run

Rating

0.0

(0)

Developer

Richard P

Richard P

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

9 days ago

Last modified

Share

Analyze competitor web pages for comprehensive SEO content metrics. Built as an Apify Actor.

Features

  • Title & Meta Extraction — Page title, meta description, meta keywords, canonical URL, robots meta
  • Heading Analysis — All headings (h1–h6) extracted with their levels and text
  • Word Count & Frequency — Total word count plus top N most frequent words (stopwords excluded)
  • Topic Extraction — Key topics identified from heading text using significant phrases
  • Readability Scoring — Simple Flesch Reading Ease–style score based on average sentence length and average word length
  • Links & Images — Count of links and images, with up to 50 sample entries
  • Deduplication — Duplicate URLs are automatically deduplicated before analysis
  • Graceful Abort — Handles platform stop signals cleanly
  • Webhook Support — Optional webhook URL notified on completion

Input

FieldTypeRequiredDefaultDescription
urlsarray[string]List of competitor or target URLs to analyze
extractTopicsbooleantrueExtract key topics from heading text
analyzeKeywordsbooleantrueAnalyze meta keywords and keyword patterns
wordCountbooleantrueCompute word count and word frequency
maxResultsinteger20Max top keywords/words per URL
webhookUrlstringOptional webhook to notify on completion

Example input

{
"urls": ["https://example.com"],
"extractTopics": true,
"analyzeKeywords": true,
"maxResults": 5
}

Output

Each analyzed URL produces a dataset entry with these fields:

FieldTypeDescription
timestampstringUTC analysis timestamp
urlstringThe analyzed URL
titlestringHTML <title> tag content
wordCountintegerTotal words on the page
headingsarrayAll headings (h1–h6) as {level, text} objects
keywordsarrayExtracted keywords (meta + frequent words)
topicsarrayKey topics identified from headings
readabilityScorenumberReadability score (0–100, higher = easier)
metaDescriptionstringMeta description content
wordFrequencyarrayTop N frequent words with counts
canonicalUrlstringCanonical URL if set
robotsMetastringRobots meta tag content
metaKeywordsarrayMeta keywords if present
linksCountintegerNumber of links found
imagesCountintegerNumber of images found
statusCodeintegerHTTP status code
contentTypestringResponse content-type

Usage

Local development

# Install dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Run locally
apify run --purge

Deploy to Apify

# Login (first time only)
apify login
# Push and build
apify push

API call

curl -X POST "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"urls": ["https://example.com"],
"extractTopics": true,
"analyzeKeywords": true,
"maxResults": 20
}'

Use cases

  • Competitive content audit — Analyze how competitors structure their pages
  • SEO gap analysis — Identify topics and keywords your content is missing
  • Content benchmarking — Measure word count, readability, and heading usage across competitors
  • Technical SEO check — Verify canonical URLs, meta tags, and robots directives

Technical stack

License

MIT