# SEO + GEO Site Audit: Technical SEO & AI Search Readiness (`polderbyte/seo-geo-audit`) Actor

SEO audit and GEO check in one site crawler: technical SEO (indexability, canonicals, titles, headings, hreflang, schema.org, broken links) plus AI search readiness (llms.txt, GPTBot/ClaudeBot/PerplexityBot rules, entity schema). Scored 0-100 with prioritised fixes.

- **URL**: https://apify.com/polderbyte/seo-geo-audit.md
- **Developed by:** [Polderbyte](https://apify.com/polderbyte) (community)
- **Categories:** SEO tools, Developer tools
- **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 + GEO Site Audit: Technical SEO & AI Search Readiness

Audit any website for **classic SEO** and **GEO (Generative Engine Optimisation)**: how ready it is to be found,
understood and cited by **AI search and assistants** such as ChatGPT search, Claude, Perplexity and Google's AI
features. Give it one or more domains. It crawls each site (sitemap first, then internal links), checks every page,
and returns:

- **one row per page** with status, indexability, titles, headings, hreflang, schema.org, Open Graph, links and
  speed, plus every issue explained in plain English;
- **one scored report per site** (0–100) with the **fixes in priority order**, each with the points it costs you.

It is a fast HTTP-only crawler: no browser, no login, no setup. It reads your pages the way search and AI crawlers
read them, and it works well for large audits.

### What it checks

#### Every page

| Area | Checks |
| --- | --- |
| **Status & redirects** | HTTP status, full redirect chain, redirect chains of 2+ hops, internal links to redirecting URLs, http vs https |
| **Indexability** | meta robots, `X-Robots-Tag` header, robots.txt rules for Googlebot, canonical (missing, multiple, other URL, other domain, pointing at a 404 or noindex page), sitemap URLs that are noindex/redirect/error |
| **Titles & descriptions** | present, length (30–60 / 120–160 characters), duplicates across the site |
| **Headings** | H1 count, skipped heading levels, empty headings, question-style headings |
| **Language** | `<html lang>` present and valid, **text language vs. declared language** (NL/FR/EN/DE/ES/IT) |
| **hreflang** | valid ISO codes (`nl-BE`, not `nl_BE` or `en-UK`), absolute URLs, self-reference, **reciprocity** (does the FR page link back to the NL page?), targets that redirect or 404, x-default, conflicts. Built for NL/FR/EN sites. |
| **Structured data** | schema.org JSON-LD types (plus microdata), JSON syntax errors, missing required properties for Organization, LocalBusiness, Product, Article/BlogPosting, FAQPage, BreadcrumbList, HowTo |
| **Social** | Open Graph (`og:title`, `og:description`, `og:image`) and Twitter cards |
| **Content** | word count, thin content, **content that only appears after JavaScript** (invisible to AI crawlers), image alt-text coverage, viewport, mixed content |
| **Links** | internal and external link counts, **broken internal links** (crawled pages plus a capped HEAD check of other internal targets) |
| **Speed** | server response time, HTML weight |

#### Every site: SEO + AI readiness (GEO)

| Check | What you learn |
| --- | --- |
| **AI crawlers in robots.txt** | Allowed or blocked at the root, per bot: OAI-SearchBot, ChatGPT-User, GPTBot, Claude-SearchBot, Claude-User, ClaudeBot, PerplexityBot, Perplexity-User, Google-Extended, Applebot-Extended, CCBot. Search bots (which cite you) and training bots (blocking these is a business choice) are kept apart. |
| **llms.txt / llms-full.txt** | Present, real Markdown (not your 404 page), H1 title, summary, sections, links |
| **Entity** | Organization/LocalBusiness schema on the homepage, `sameAs` profiles, logo, one consistent business name across pages and `og:site_name` |
| **Answerability** | FAQPage/HowTo markup, pages with question headings |
| **Sitemap** | Found (robots.txt, /sitemap.xml, sitemap index, .gz), declared in robots.txt, URLs blocked by robots.txt, URLs that should not be listed |
| **Basics** | robots.txt present and loading, HTTP → HTTPS redirect, real 404s (soft-404 test), Googlebot and Bingbot allowed |
| **Aggregates** | duplicate titles/descriptions, broken link targets, languages, averages, top issues by number of pages |

### How the score works

The score has six categories: Crawling & indexing, On-page SEO, Structured data, Languages & hreflang (only for
multilingual sites), AI search readiness (GEO), and Speed. Each category is the weighted pass rate of its checks. For
example, "4 of 20 pages have no meta description" passes 80%. The total is the weighted average of the categories.

Every fix shows **`pointsLost`**: roughly how many points you gain by fixing it. Fixes are sorted by that, and
critical problems always come first. Critical problems also cap the score, so good averages cannot hide them:

- homepage not indexable;
- Googlebot blocked;
- robots.txt failing to load;
- every AI search bot blocked;
- content that needs JavaScript.

Grades: 90+ excellent, 75+ good, 50+ needs work, below 50 poor.

We do not penalise blocking AI *training* bots. llms.txt counts only lightly: it is an emerging convention that some
AI tools read, and Google does not use it for ranking.

### Use cases

- **Agencies:** audit a client or prospect site in minutes and paste the prioritised fix list into a proposal. Run
  every client site monthly to catch regressions such as noindex left on after a launch, broken hreflang or a
  missing sitemap.
- **SEO freelancers:** a full technical crawl plus GEO checks at a fraction of the price of desktop crawlers, with
  results in JSON, CSV or Excel.
- **Site owners preparing for AI search:** find out whether ChatGPT, Claude and Perplexity can reach your pages,
  whether your business is described as a clear entity, and what to fix first.
- **Multilingual sites (NL/FR/EN):** check hreflang reciprocity and language tags across all language versions.
- **AI agents:** call it through the Apify MCP server or the API to audit sites on demand.

### Example input

```json
{
  "startUrls": ["https://www.example.com", "example.be"],
  "maxPagesPerSite": 100,
  "useSitemap": true,
  "followLinks": true,
  "respectRobotsTxt": true,
  "maxLinkChecks": 100,
  "maxConcurrency": 4
}
```

### Example output

The site report (shortened):

```json
{
  "type": "site",
  "site": "https://www.example.com",
  "score": 72,
  "grade": "needs work",
  "categoryScores": {"Crawling & indexing": 88, "On-page SEO": 74, "Structured data": 55,
                     "AI search readiness (GEO)": 61, "Speed & page weight": 95},
  "fixes": [
    {"priority": 1, "impact": "medium", "area": "AI search readiness (GEO)",
     "fix": "Allow the AI search crawlers in robots.txt (blocked now: OAI-SearchBot, PerplexityBot).",
     "why": "These bots fetch pages to answer questions in ChatGPT, Claude and Perplexity and link to the source. Blocked = never cited.",
     "pointsLost": 2.1, "affectedPages": null, "examples": []},
    {"priority": 2, "impact": "medium", "area": "On-page SEO",
     "fix": "Correct <html lang>: 16 page(s) declare 'en-US' but are written in another language (e.g. https://www.example.com/ reads as 'nl').",
     "pointsLost": 1.9, "affectedPages": 16, "examples": ["https://www.example.com/"]}
  ],
  "aiBots": [{"bot": "OAI-SearchBot", "owner": "OpenAI", "purpose": "search", "allowed": false, "namedInRobotsTxt": true}],
  "llmsTxt": {"found": true, "title": "Example", "hasSummary": true, "sections": 2, "links": 12, "issues": []},
  "entity": {"found": true, "onHomepage": true, "name": "Example", "sameAs": ["https://www.linkedin.com/company/example"], "consistent": true},
  "sitemap": {"found": true, "inRobotsTxt": false, "pageUrls": 143, "blockedByRobots": 0},
  "pagesAudited": 100, "pagesIndexable": 91, "brokenInternalLinks": 3
}
```

A page row (shortened):

```json
{
  "type": "page",
  "url": "https://www.example.com/diensten",
  "statusCode": 200,
  "indexable": true,
  "canonicalStatus": "self",
  "title": "Onze diensten | Example",
  "titleLength": 23,
  "metaDescriptionLength": 0,
  "h1Count": 2,
  "htmlLang": "nl-BE",
  "detectedLang": "nl",
  "hreflang": [{"lang": "nl-BE", "href": "https://www.example.com/diensten"}, {"lang": "fr-BE", "href": "https://www.example.com/fr/services"}],
  "schemaTypes": ["Service", "BreadcrumbList"],
  "wordCount": 412,
  "responseTimeMs": 230,
  "issues": [
    {"severity": "medium", "code": "DESCRIPTION_MISSING", "message": "No meta description: Google picks a random snippet and AI tools have no summary to quote."},
    {"severity": "medium", "code": "HREFLANG_NOT_RECIPROCAL", "message": "These alternates do not link back with hreflang (Google ignores one-way pairs): fr-BE (https://www.example.com/fr/services)."},
    {"severity": "low", "code": "H1_MULTIPLE", "message": "2 H1 headings; use one main heading."}
  ]
}
```

The dataset has two views: **Pages** and **Site summary**. Every row has `type` set to `page` or `site`, so you can
filter exports. All site reports are also stored as one JSON list under the key `SITE_REPORTS` in the run's
key-value store.

### Pricing

Pay per result, no subscription:

| Event | When it's charged |
| --- | --- |
| Page audited | one page row (any HTTP status, all checks included) |
| Site report | one scored site summary with prioritised fixes and all AI readiness checks |

Nothing is charged for these:

- sites that cannot be loaded at all;
- URLs skipped by robots.txt;
- non-HTML files;
- broken-link HEAD checks;
- redirects to a page that was already audited.

See the **Pricing** tab for current prices. Use **Max pages per site** and **Max pages in total** to cap what a run
can cost. With a spending limit, each site's report is reserved first and the remaining budget is shared between the
sites, so every site still gets its report.

### Crawling politely

- robots.txt is respected for `SeoGeoAuditBot`, including `Crawl-delay` (one request at a time when it is set).
- 4 parallel requests per site by default, with retries and back-off on 429/503.
- Only the site's own host is crawled (www and non-www count as one site). External links are counted, not visited.
- Sites are audited one after another.

### FAQ

**Does it run JavaScript?** No, on purpose. AI crawlers such as GPTBot, ClaudeBot and PerplexityBot read the raw HTML
and do not run JavaScript. If your content only appears after JavaScript runs, this audit shows it the same way those
crawlers see it, and flags it.

**Is llms.txt required?** No. Google does not use it, and AI tools differ in whether they read it. It is cheap to add,
so it carries a small weight. Crawler access, server-rendered content, clear entity markup and answer-first content
matter more, and the score reflects that.

**Does blocking GPTBot or ClaudeBot hurt me?** Those are training crawlers. Blocking them is a legitimate choice, so
it is reported but not scored. Blocking the *search* and *user* bots (OAI-SearchBot, ChatGPT-User, Claude-SearchBot,
PerplexityBot…) keeps you out of AI answers, and that is scored.

**Can I audit a staging site that blocks all crawlers?** Yes, for sites you own: turn off *Respect robots.txt*. The
report still tells you what robots.txt says.

**My site shows "not audited".** No page returned HTTP 200, usually because of a firewall or CDN bot protection. You
were not charged. Allow `SeoGeoAuditBot`, or set a custom User-Agent for your own site.

**How many pages should I audit?** 100 pages covers the templates of most small and mid-size sites. For a full
technical crawl of a large site, raise *Max pages per site*.

**Does it collect personal data?** No. It reads public page markup and reports on SEO structure only. It does not
extract emails, phone numbers or names of people.

**Found a problem or need a check?** Open an issue on the Issues tab. We usually answer within a day.

# Actor input Schema

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

One entry per site: a homepage URL (https://www.example.com) or just the domain (example.com). Each site gets its own page rows and one scored site report. www and non-www count as the same site.

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

How many HTML pages to audit per site. Each audited page is one dataset row (charged as 'page audited').

## `maxItems` (type: `integer`):

Stop after this many page rows across all sites. Keeps the cost of a run predictable. Site reports are not counted.

## `useSitemap` (type: `boolean`):

Audit the URLs in sitemap.xml (found via robots.txt or /sitemap.xml) first, before following links. Turn off to discover pages only by following links from the homepage. The sitemap is always checked for the report.

## `followLinks` (type: `boolean`):

Also discover pages by following links on the same host (www and non-www included). Other domains and subdomains are never crawled.

## `respectRobotsTxt` (type: `boolean`):

Skip URLs that robots.txt disallows for this crawler. Only turn this off for sites you own or manage, e.g. a staging site that blocks all crawlers.

## `maxLinkChecks` (type: `integer`):

Internal links that were not crawled as pages (for example beyond the page limit, or PDFs) are checked with a lightweight HEAD request, most-linked first, up to this many per site. 0 = only report broken links among crawled pages.

## `maxConcurrency` (type: `integer`):

How many pages of one site are fetched at the same time. Keep it low to be polite to small sites; a robots.txt Crawl-delay always forces one request at a time.

## `userAgent` (type: `string`):

Leave empty to identify as 'SeoGeoAuditBot'. Set your own only to get through your own firewall or bot protection. robots.txt rules are always matched for SeoGeoAuditBot.

## Actor input object example

```json
{
  "startUrls": [
    "https://crawlee.dev"
  ],
  "maxPagesPerSite": 20,
  "maxItems": 1000,
  "useSitemap": true,
  "followLinks": true,
  "respectRobotsTxt": true,
  "maxLinkChecks": 100,
  "maxConcurrency": 4
}
```

# 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://crawlee.dev"
    ],
    "maxPagesPerSite": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("polderbyte/seo-geo-audit").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://crawlee.dev"],
    "maxPagesPerSite": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("polderbyte/seo-geo-audit").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://crawlee.dev"
  ],
  "maxPagesPerSite": 20
}' |
apify call polderbyte/seo-geo-audit --silent --output-dataset

```

## MCP server setup

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

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/6qNIqrZR3X5h3rsWF/builds/CAil9RWYGq2CCKDEP/openapi.json
