# SEO Audit & Broken Link Checker - Website SEO Analyzer (`gosoul9/seo-audit-broken-link-checker`) Actor

Crawl any website and get an SEO score per page: title, meta description, H1, canonical, noindex, missing alt text, structured data, Open Graph, speed, HTTPS, plus every broken link (404/500). $2 per 1,000 pages.

- **URL**: https://apify.com/gosoul9/seo-audit-broken-link-checker.md
- **Developed by:** [Gosoul Data](https://apify.com/gosoul9) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 page auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SEO Audit & Broken Link Checker - Website SEO Analyzer

Run a **complete on-page SEO audit** of any website in minutes. Every page gets an **SEO score out of 100** and a plain-English list of problems to fix, plus **all broken links** (404, 500, timeouts).

### What it checks on every page

| Check | Why it matters |
|---|---|
| Title (missing, too short, too long) | #1 on-page ranking factor |
| Meta description | Click-through rate on Google |
| H1 (missing / multiple) | Page structure |
| Canonical tag | Duplicate content |
| `noindex` | Page invisible on Google |
| Images without `alt` | Accessibility + image SEO |
| Structured data (JSON-LD) | Rich results on Google |
| Open Graph tags | Nice previews on Facebook, LinkedIn, X |
| Mobile viewport, `lang`, HTTPS | Technical basics |
| Word count | Thin content |
| Server response time, page size | Speed |
| **Broken links** (internal + external) | User experience and crawl budget |

### Output example

```json
{
  "url": "https://example.com/pricing",
  "seoScore": 72,
  "title": "Pricing",
  "titleLength": 7,
  "metaDescriptionLength": 0,
  "imagesWithoutAlt": 3,
  "brokenLinksCount": 1,
  "brokenLinks": [{"url": "https://example.com/old-page", "status": 404}],
  "issues": ["Title too short (7 chars, aim 30-60)", "Missing meta description", "3 image(s) without alt text", "1 broken link(s)"]
}
```

### Who uses it

- **SEO agencies & freelancers**: audit prospects' websites and send them the list of issues (a great sales hook).
- **Website owners**: find and fix what hurts your Google ranking.
- **Web agencies**: check a site before launch.
- **Monitoring**: schedule it weekly to catch new broken links.

### How to use

```json
{
  "startUrls": ["https://example.com"],
  "maxPagesPerSite": 50,
  "checkBrokenLinks": true,
  "checkExternalLinks": true
}
```

### Pricing

**$2 per 1,000 pages audited.** Broken link checks are included.

### Good to know

- Respects `robots.txt`. No browser needed: fast and cheap.
- Pages rendered only with JavaScript may show fewer elements.

### Other Actors you may like

- [AI Readiness & GEO Audit](https://apify.com/gosoul9/ai-readiness-audit): is a website visible in ChatGPT and AI search?.
- [Keyword Suggestions Research](https://apify.com/gosoul9/keyword-suggestions-research): keyword ideas from Google, YouTube, Amazon and Bing.
- [Sitemap URL Extractor](https://apify.com/gosoul9/sitemap-url-extractor): every URL of a website from its sitemaps.
- [Website Technology Detector](https://apify.com/gosoul9/website-technology-detector): the tech stack of any website.
- [WHOIS Domain Lookup](https://apify.com/gosoul9/whois-domain-lookup): domain age, registrar and expiry date.

### Support

Want another check? Open an issue in the **Issues** tab.

# Actor input Schema

## `startUrls` (type: `array`):

Homepage or any page of each website, one per line. The Actor follows internal links to audit more pages.

## `maxPagesPerSite` (type: `integer`):

How many pages of each website to audit.

## `checkBrokenLinks` (type: `boolean`):

Test every link found on the audited pages (404, 500, timeouts...).

## `checkExternalLinks` (type: `boolean`):

Test links pointing to other websites too.

## `maxLinksToCheck` (type: `integer`):

Limit the number of links tested for broken status.

## Actor input object example

```json
{
  "startUrls": [
    "https://apify.com"
  ],
  "maxPagesPerSite": 20,
  "checkBrokenLinks": true,
  "checkExternalLinks": true,
  "maxLinksToCheck": 300
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gosoul9/seo-audit-broken-link-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": ["https://apify.com"] }

# Run the Actor and wait for it to finish
run = client.actor("gosoul9/seo-audit-broken-link-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://apify.com"
  ]
}' |
apify call gosoul9/seo-audit-broken-link-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gosoul9/seo-audit-broken-link-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SYtN6G7WLeDwufjJN/builds/lUS9XX0lzdXhFlkjN/openapi.json
