# SEO Audit Scraper - Meta Tags, Headings & Broken Links (`goldstandardweb/seo-meta-broken-links`) Actor

Crawl your site and get every page's title, meta description, headings, canonical, schema and broken links, with plain-English issues and a 0-100 score. robots.txt respected. $3 per 1,000 pages.

- **URL**: https://apify.com/goldstandardweb/seo-meta-broken-links.md
- **Developed by:** [Josh Zoerner](https://apify.com/goldstandardweb) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 Scraper - Meta Tags, Headings & Broken Links

**Find the broken links, missing titles and noindex mistakes on your site, page by page, with each problem in plain English and a 0-100 score you can explain to a client. 1,000 pages cost $7, link checks included.**

One row per page: title and meta description (with lengths), canonical, robots directives, H1 and H2 headings, word count, language and hreflang, Open Graph and Twitter tags, schema.org types, images without alt text, redirect chain, response time, and the broken links on the page (up to 500 links checked per page). The score comes from a published points table, so every point lost has a reason. Run it weekly with **Compare with the previous audit** on, and each page also shows what got worse or better since last time.

- **Proof:** the sample rows below come from a real run on 16 Nov 2026 (UTC). The example input (10 pages, up to 50 links checked on each) ran in under 5 seconds on Apify.
- **Guarantee:** you pay only for pages that were audited. URLs that are unreachable, blocked by a bot check, closed to crawlers by robots.txt, not web pages, or not valid web addresses are still returned with the reason, **free**. Link checks are included in the page price. A page cap per site, a depth cap, a result cap and a run time limit mean a run can never run away with your budget.
- **Next step:** click **Try for free**. The example input crawls 10 pages of a public test site and finds real broken links.

### Who it's for

- **SEO consultants and agencies** auditing a client site before a proposal or each month, and handing the client a sheet of fixes in plain English.
- **Site owners, marketers and content teams** who want to find missing titles, duplicate meta descriptions, noindex mistakes and broken links before Google does.
- **Web developers** checking a staging or freshly launched site for broken links, redirect chains and missing tags.
- **Developers and automation builders** that need structured, predictable on-page SEO data from an API (JSON, CSV, Make, Zapier, n8n, MCP).

### What you get

One row per page. A sample from the real run on scrapethissite.com (a public practice site):

| Page | HTTP | Score | Title chars | H1s | Words | Broken links | Main issues |
|---|---|---|---|---|---|---|---|
| scrapethissite.com/ | 200 | 79 | 61 | 1 | 28 | 0 | Title too long, thin content, 2 images without alt text |
| scrapethissite.com/login/ | 200 | 62 | 69 | 0 | 26 | 0 | No meta description, no H1 heading, title too long |
| scrapethissite.com/pages/advanced/ | 200 | 44 | 119 | 0 | 160 | 3 | 3 broken links (HTTP 400), noindex, no H1, title and description too long |

Full example item (real run, 16 Nov 2026, shortened where marked):

```json
{
  "url": "https://www.scrapethissite.com/pages/advanced/",
  "requestedUrl": "https://www.scrapethissite.com/pages/advanced/",
  "startUrl": "https://www.scrapethissite.com/",
  "depth": 2,
  "foundOn": "https://www.scrapethissite.com/pages/",
  "outcome": "audited",
  "status": 200,
  "redirectChain": [],
  "title": "Advanced Topics: Real World Challenges You'll Encounter | Scrape This Site | A public sandbox for learning web scraping",
  "titleLength": 119,
  "metaDescription": "Scraping real websites, you're likely run into a number of common gotchas. ...",
  "metaDescriptionLength": 199,
  "canonical": null,
  "robotsMeta": "noindex",
  "h1Count": 0,
  "h1": [],
  "h2Count": 0,
  "wordCount": 160,
  "lang": "en",
  "hreflang": [],
  "hasViewport": true,
  "openGraphTags": [],
  "twitterTags": [],
  "structuredDataTypes": [],
  "imagesTotal": 1,
  "imagesMissingAlt": 1,
  "internalLinkCount": 8,
  "externalLinkCount": 0,
  "linksChecked": 5,
  "brokenLinkCount": 3,
  "brokenLinks": [
    { "url": "https://www.scrapethissite.com/pages/advanced/?gotcha=headers", "status": 400, "error": null, "kind": "broken", "internal": true },
    "... 2 more"
  ],
  "loadTimeMs": 142,
  "pageSizeKb": 10,
  "score": 44,
  "issueCount": 10,
  "issues": [
    { "code": "broken_links", "severity": "critical", "points": 15, "message": "3 link(s) on this page lead to an error, for example https://www.scrapethissite.com/pages/advanced/?gotcha=headers (HTTP 400). See brokenLinks." },
    { "code": "title_too_long", "severity": "warning", "points": 5, "message": "The title is 119 characters; search results cut it off after about 60." },
    { "code": "noindex", "severity": "warning", "points": 10, "message": "Robots directives say \"noindex\", so this page will not show up in search results. Remove noindex if that is not intended." },
    "... 7 more"
  ],
  "error": null,
  "charged": true,
  "auditedAt": "2026-11-16T05:08:22.602Z"
}
```

At the end of each run, a **site summary** is saved in the run's key-value store as `SUMMARY`: pages audited, average score, broken links found, how many pages have each issue, **duplicate titles and duplicate meta descriptions** (grouped with their URLs), and the 10 lowest-scoring pages.

#### Outcomes

| outcome | Meaning | Charged? |
|---|---|---|
| `audited` | The page answered (any HTTP status, including 404 or 500) and was audited | Yes |
| `robots_disallowed` | A start URL that the site's robots.txt does not allow us to read | **No** |
| `unreachable` | A start URL whose domain does not exist, whose server is down, or that redirects to an internal address | **No** |
| `blocked` | The site refused access (HTTP 401, 403, 407, 429, 451 or 999) or showed a bot check. The Actor never tries to get around blocks | **No** |
| `not_html` | The URL is not a web page (for example a PDF), or its HTML could not be read | **No** |
| `invalid_url` | The line is not a public web address (for example an internal address or `ftp://`) | **No** |

Pages found while crawling that robots.txt disallows, that are not HTML, that cannot be reached, or that redirect to another site are skipped without a row (and without a charge). A link to a page that cannot be reached still shows up in `brokenLinks` on the page that links to it.

### How the score works

Every page starts at 100. Each issue takes off the points below; the score never goes below 0. Info items take off nothing. Thresholds: title 30-60 characters, meta description 70-160, at least 200 words, server response under 3 s, HTML under 500 KB.

| code | severity | points | What it means |
|---|---|---|---|
| `http_error` | critical | 100 | The page answered HTTP 400 or higher |
| `title_missing` | critical | 15 | No `<title>` |
| `broken_links` | critical | 5 each | A checked link answers HTTP 400+ or cannot be reached (dead domain, refused connection, no answer in 12 s). 401, 403, 429 and 999 are listed as `blocked` and not counted (max 20) |
| `noindex` | warning | 10 | Meta robots or X-Robots-Tag says noindex (or none) |
| `meta_description_missing` | warning | 10 | No meta description |
| `h1_missing` | warning | 10 | No H1 heading |
| `not_https` | warning | 10 | The page loads over plain HTTP |
| `viewport_missing` | warning | 5 | No mobile viewport tag |
| `title_too_long` | warning | 5 | Title over 60 characters |
| `thin_content` | warning | 5 | Fewer than 200 words of text |
| `slow_response` | warning | 5 | Server took over 3 s to send the page |
| `images_missing_alt` | warning | 1 each | An image without alt text (max 10; `alt=""` decorative images are fine) |
| `redirect_chain` | notice | 3 | 2 or more redirects before the page |
| `multiple_h1` | notice | 3 | More than one H1 |
| `title_too_short` | notice | 3 | Title under 30 characters |
| `meta_description_too_long` | notice | 3 | Meta description over 160 characters |
| `canonical_missing` | notice | 3 | No canonical link |
| `heavy_html` | notice | 3 | HTML over 500 KB |
| `meta_description_too_short` | notice | 2 | Meta description under 70 characters |
| `lang_missing` | notice | 2 | No `lang` on the `<html>` tag |
| `open_graph_missing` | notice | 2 | No Open Graph tags |
| `structured_data_missing` | notice | 2 | No schema.org markup (JSON-LD or microdata) |
| `canonical_elsewhere` | info | 0 | The canonical link points to another URL |
| `redirected` | info | 0 | The URL redirects once |

The score is a quick way to sort pages for fixing. It is a checklist score, not a prediction of rankings.

### How to use it

1. **Enter your start URL** (usually the homepage) in **Start URLs**. Add more lines to audit several sites in one run.
2. **Choose how far to go:** **Max pages per site** (default 50), **Max click depth** (default 3), and whether to check **all** links, only **internal** ones, or **none**. To check an exact list of pages instead, switch **Mode** to **list**.
3. **Run it** and download the results as CSV, Excel or JSON, or send them straight to Google Sheets. Sort by `score` to see the worst pages first.

No login or API key is needed. You only need your Apify account.

### Pricing

Pay per audited page.

- **1,000 pages = $7.00** ($0.007 per page), plus Apify's small standard charge for starting a run. A 50-page site costs about $0.35.
- **Link checks are included.** Each link is tested once per run, however many pages use it.
- **Free:** unreachable, blocked, robots.txt-protected, non-HTML and invalid URLs. They are still in your results with the reason.
- **Hard limits:** pages per site, click depth, a result cap for the whole run, and a run time limit. Set a maximum cost per run in Apify and the Actor stops cleanly when it is reached.
- **Never charged twice:** duplicate URLs are removed, and if Apify moves a run to another server mid-run, pages already delivered are not charged again.

### Scheduling & integrations

- **Schedules**: run a weekly audit with **Compare with the previous audit** turned on. Every page then shows `previousScore`, `scoreChange`, `newIssues` and `fixedIssues`, so you see at a glance what broke since last week (and what a developer fixed). Every audited page is charged again on each run: a weekly audit of a 400-page site costs about $2.80 a week.
- **API**: start runs and fetch results with the Apify API or the JavaScript and Python clients.
- **Make, Zapier, n8n**: send the pages with new critical issues to Slack or email, or open a ticket per broken link.
- **Google Sheets**: export each run straight to a sheet for a client report.
- **MCP**: any tool that connects to Apify's MCP server can call this Actor to audit a page or a site.

### Tested to the Gold Standard

Gold Standard Web built this Actor and tests it with [Gold Standard QA](https://goldstandardweb.com/qa), our three-layer quality process.

- Every change must pass the full test suite before it is saved.
- We plant bugs in the code on purpose, and the tests must catch at least 90% of them.
- A reviewer who did not write the code tries to break it before each release.

[See every check we run](https://goldstandardweb.com/qa).

### FAQ

**Is this legal to use?**
The Actor reads public pages the way a visitor's browser does: no login, no forms, no bot-check bypass, no proxies to get around blocks. It identifies itself honestly (`GoldStandardWeb-Apify/1.0`) and follows each site's robots.txt, including crawl-delay, for pages and for link checks. It collects on-page SEO facts (tags, headings, links), not personal data. Audit your own sites, your clients' sites, or sites whose terms allow automated access.

**How is it different from the Outdated Website Finder?**
Gold Standard Web's Outdated Website Finder scores how dated a business homepage looks, to find web-design leads. This Actor is a page-by-page SEO crawler for a site you want to improve: every page, every tag, every broken link.

**How polite is the crawler?**
At most 2 requests at a time per website, robots.txt crawl-delay respected (up to 10 seconds between requests), and each link checked only once per run. Links are tested with a light HEAD request; an error answer is confirmed with a small GET before it is reported. At most 16 link checks run at once across all sites. A site that answers 429 (too many requests) gets no more link checks in that run, and a crawl stops when the site refuses 3 pages. Each site gets at most 3 page requests for every page in **Max pages per site**, so links that redirect away or point to files cannot keep a crawl going.

**Why is a link listed as `blocked` but not counted as broken?**
Some sites answer automated checkers with 401, 403, 429 or 999 (LinkedIn does this). The page is probably fine for people, so these links are listed with `kind: "blocked"` for you to check by hand, but they do not lower the score. In `brokenLinks`, counted problems come first and blocked links after them.

**Will the results open safely in Excel or Google Sheets?**
Yes. Page text that starts with =, +, - or @ (which a spreadsheet would run as a formula) gets a leading `'`, so it shows as plain text. Lengths such as `titleLength` are of the real text.

**Does it run JavaScript?**
No. It reads the HTML your server sends, which is what search engines see first. Tags that are added only by JavaScript after the page loads are not seen. This keeps the Actor fast and the price low.

**What does `loadTimeMs` measure?**
How long the server took to send the HTML of the page (redirects included). It is not a full page-speed or Core Web Vitals test: images, scripts and fonts are not loaded.

**What happens if the run hits my time limit or maximum cost?**
It stops starting new pages, finishes cleanly, and tells you in the log. Start URLs it never reached are listed in the run's key-value store (record `UNPROCESSED`) and were not charged.

### Limitations

- HTML only, no browser: content added by JavaScript after the page loads is not audited.
- Crawls stay on the start URL's site (www and non-www count as the same site; other subdomains do not).
- Sites behind Cloudflare, Akamai or other bot checks come back as `blocked` (free). The Actor does not use proxies or other tricks to get around blocks.
- Up to 1,000 start URLs and 50,000 charged pages per run; up to 5,000 pages per site and 500 checked links per page. Only the first 1.5 MB of a page's HTML is audited.
- `brokenLinks` lists up to 50 problem links per page (`brokenLinkCount` counts all of them); links in `<a href>` only (images, scripts and stylesheets are not checked).
- Duplicate titles and descriptions are reported across the pages of one run (in `SUMMARY`), not per row.

### Input reference

| Field | Type | Default | Description |
|---|---|---|---|
| `startUrls` | array | (required) | Start URLs (crawl mode) or the pages to check (list mode), one per line; `[{ "url": "..." }]` works too. Up to 1,000 |
| `mode` | string | `crawl` | `crawl` = follow links within each site; `list` = only the URLs entered |
| `maxPagesPerSite` | integer | `50` | Pages per site (1-5,000) |
| `maxDepth` | integer | `3` | Clicks from the start URL (0-20; 0 = only the start page) |
| `checkLinks` | string | `all` | `all`, `internal` or `none` |
| `maxLinkChecksPerPage` | integer | `100` | Links tested per page (0-500; 0 = no link checks) |
| `excludeUrlsContaining` | array | `[]` | Do not crawl URLs containing any of these texts (up to 50) |
| `maxResults` | integer | `1000` | Stop the run after this many charged pages (up to 50,000) |
| `maxRunMinutes` | integer | `30` | Hard run time limit (1-600) |
| `compareWithPreviousRun` | boolean | `false` | Add `previousScore`, `scoreChange`, `newIssues`, `fixedIssues` and `firstAudit` to each page |
| `historyName` | string | `default` | Separate history per site or client (letters, digits, dashes) |

### Output fields

`url`, `requestedUrl`, `startUrl`, `depth`, `foundOn`, `outcome`, `status`, `redirectChain`, `title`, `titleLength`, `metaDescription`, `metaDescriptionLength`, `canonical`, `robotsMeta`, `h1Count`, `h1`, `h2Count`, `wordCount`, `lang`, `hreflang`, `hasViewport`, `openGraphTags`, `twitterTags`, `structuredDataTypes`, `imagesTotal`, `imagesMissingAlt`, `internalLinkCount`, `externalLinkCount`, `linksChecked`, `brokenLinkCount`, `brokenLinks`, `loadTimeMs`, `pageSizeKb`, `score`, `issueCount`, `issues`, `error`, `charged`, `auditedAt`; with the compare option also `previousScore`, `scoreChange`, `newIssues`, `fixedIssues`, `firstAudit`.

### How it works

For each start URL: read robots.txt, read the start page (following up to 5 redirects, each one re-checked), then visit the links on it breadth-first, staying on the same site, up to your page and depth caps. Links to images, PDFs, scripts and other files are not crawled. For each page, the links on it are tested (once per run each) and the page is scored. Up to 3 sites are crawled at the same time, at most 2 requests at a time per site. Internal and private network addresses are refused, both as input and after every redirect and DNS lookup.

# Actor input Schema

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

In crawl mode: the page to start from on each site (usually the homepage); the crawler follows links within that site only. In list mode: every page to check. One per line, for example https://www.example.com/. Up to 1,000.

## `mode` (type: `string`):

crawl = start at each URL and follow links within the same site (www and non-www count as the same site). list = audit only the URLs you entered, nothing else.

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

Crawl mode: stop after this many pages on each site. Each audited page is one charged result. 1 to 5,000.

## `maxDepth` (type: `integer`):

Crawl mode: how many clicks away from the start URL to go. 0 = only the start page, 1 = the start page and the pages it links to, and so on. 0 to 20.

## `checkLinks` (type: `string`):

Which links on each audited page are tested for broken targets (HTTP 400+, dead domains). all = links to your site and to other sites; internal = only links to your own site; none = skip link checks (fastest). Each link is tested once per run, whatever the number of pages that use it. Link checks are included in the page price.

## `maxLinkChecksPerPage` (type: `integer`):

Test at most this many links per page (the first ones on the page). 0 turns link checks off. 0 to 500.

## `excludeUrlsContaining` (type: `array`):

Crawl mode: pages whose URL contains any of these texts are not crawled, for example /tag/ or ?sort=. Not case-sensitive. Up to 50.

## `maxResults` (type: `integer`):

Stop the whole run after this many charged pages. Unreachable, blocked, robots.txt-protected, non-HTML and invalid URLs are returned free and do not count. Up to 50,000.

## `maxRunMinutes` (type: `integer`):

Hard limit for the whole run. When it is reached the run stops starting new pages and finishes cleanly. 1 to 600.

## `compareWithPreviousRun` (type: `boolean`):

Remember each page's score and issues, and on the next run add previousScore, scoreChange, newIssues and fixedIssues to every page. Ideal for a weekly scheduled audit.

## `historyName` (type: `string`):

Only used with the compare option. Keep separate histories for separate sites or clients, for example client-acme. Letters, digits and dashes, up to 40.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.scrapethissite.com/"
  ],
  "mode": "crawl",
  "maxPagesPerSite": 10,
  "maxDepth": 3,
  "checkLinks": "all",
  "maxLinkChecksPerPage": 50,
  "excludeUrlsContaining": [],
  "maxResults": 1000,
  "maxRunMinutes": 30,
  "compareWithPreviousRun": false,
  "historyName": "default"
}
```

# 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://www.scrapethissite.com/"
    ],
    "maxPagesPerSite": 10,
    "maxLinkChecksPerPage": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("goldstandardweb/seo-meta-broken-links").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://www.scrapethissite.com/"],
    "maxPagesPerSite": 10,
    "maxLinkChecksPerPage": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("goldstandardweb/seo-meta-broken-links").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://www.scrapethissite.com/"
  ],
  "maxPagesPerSite": 10,
  "maxLinkChecksPerPage": 50
}' |
apify call goldstandardweb/seo-meta-broken-links --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,goldstandardweb/seo-meta-broken-links"
        }
    }
}
```

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/e3x4KuDBxjdb1lbVp/builds/mWr7dKCPTJNnh8B3Z/openapi.json
