# GEO & AI Search Readiness Auditor — SEO, llms.txt & Crawlers (`outstanding_people_bgp/geo-ai-readiness-auditor`) Actor

Audit websites for ChatGPT, Claude, Perplexity & Google AI Overviews visibility (GEO/AEO/SEO). Checks 12 AI crawlers in robots.txt, llms.txt & JSON-LD Schema.org, and generates ready-to-deploy llms.txt drafts & clean RAG Markdown.

- **URL**: https://apify.com/outstanding_people_bgp/geo-ai-readiness-auditor.md
- **Developed by:** [liuyan](https://apify.com/outstanding_people_bgp) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $28.00 / 1,000 site geo & ai search audits

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## GEO & AI Search Readiness Auditor — SEO, `llms.txt` & AI Crawler Check

**Is your website visible to ChatGPT Search, Claude, Perplexity, and Google AI Overviews?**

**GEO & AI Search Readiness Auditor** is a blazing-fast, zero-browser Python Apify Actor that evaluates any website across **6 deterministic Generative Engine Optimization (GEO / AEO / Technical SEO) dimensions (0–100 score, A–F grade)**, audits **12 major AI crawlers** in `robots.txt`, detects client-side SPA empty-shell rendering traps, and automatically generates **ready-to-deploy `llms.txt` drafts, Schema.org JSON-LD patches, and clean RAG-ready Markdown**.

Built for **SEO agencies, SaaS growth teams, n8n/Make workflows, and AI coding agents via Apify MCP**.

***

### What This Actor Audits (6 Dimensions · 0–100 GEO Score)

| Dimension | Weight | What Gets Checked |
| :--- | :---: | :--- |
| **1. AI Crawler Access Matrix (`robots.txt`)** | **25%** | Parses `robots.txt` (RFC 9309 longest-match precedence), `X-Robots-Tag`, and `<meta name="robots">` for **12 AI crawlers**: `GPTBot`, `OAI-SearchBot`, `ChatGPT-User`, `ClaudeBot`, `Claude-Web`, `PerplexityBot`, `Google-Extended`, `Applebot-Extended`, `CCBot`, `Bytespider`, `Meta-ExternalAgent`, and `Amazonbot`. |
| **2. `/llms.txt` & `/llms-full.txt` Readiness** | **20%** | Checks HTTP 200 availability (rejecting HTML soft-404 SPA fallbacks) and validates [llmstxt.org](https://llmstxt.org) structure (`# H1`, `> blockquote`, `## sections`, Markdown links). |
| **3. Structured Data & Schema.org JSON-LD** | **20%** | Parses all `<script type="application/ld+json">` blocks (`@graph` & arrays), detects `Organization`, `WebSite`, `SoftwareApplication`, `Product`, `FAQPage`, `Article`, and flags malformed JSON-LD. |
| **4. AI Citability & Empty-SPA Risk** | **15%** | Detects client-side JavaScript empty-shell traps (`<div id="root"></div>`, `<noscript>` warnings), measures visible text vs. raw HTML signal-to-noise ratio, H1–H3 semantic hierarchy, FAQ/Q\&A blocks, tables/lists, and numeric fact density. |
| **5. Core Technical SEO & Discoverability** | **10%** | Audits HTTPS, HTTP status, TTFB latency (ms), `<title>` & `<meta name="description">` lengths, Canonical URL, and XML `sitemap.xml` discovery. |
| **6. Entity Metadata & Machine Readability** | **10%** | Verifies OpenGraph (`og:title`, `og:description`, `og:image`), Twitter Card tags, `<html lang>`, and clean Markdown extractability. |

#### Plus Auto-Generated Deployable Fixes

- **Ready-to-Deploy `llms.txt` Draft**: Saved directly to the Apify Key-Value Store (`llms-<domain>.txt`) with a preview in the Dataset.
- **Schema.org JSON-LD Fix Patch**: Tailored `recommendedJsonLdPatch` snippet ready to drop into `<head>`.
- **Clean RAG-Ready Markdown**: Optional navigation/script-stripped Markdown with estimated LLM token counts (`extractMarkdown: true`).
- **Prioritized Action Plan**: P0 / P1 / P2 `recommendations` ranked by GEO score impact.

***

### Transparent Pay-Per-Event (PPE) Pricing

No browser overhead, no residential proxies, and **honest billing** — failed or unreachable domains are **never charged**.

| Event (`event_name`) | Price (USD) | When Charged |
| :--- | :---: | :--- |
| `apify-actor-start` | **`$0.0001`** | Once per Actor startup |
| `site-geo-audit` | **`$0.04`** | Per successfully audited website (full 6-dimension GEO/AEO/SEO audit + 12 AI crawlers) |
| `llms-txt-generated` | **`$0.03`** | Optional: per site when `generateLlmsTxt: true` (generates `llms.txt` in KV Store + JSON-LD patch) |
| `page-deep-audit` | **`$0.01`** | Optional: per additional internal page audited when `maxPagesPerSite > 1` |

> **Example Cost:** Auditing **100 client domains** (homepage + 12 AI crawlers + JSON-LD + SPA check) costs only **$4.00** (`$0.04/site`), or **$7.00** including auto-generated deployable `llms.txt` drafts for every domain!

***

### Input Example

```json
{
  "urls": [
    "https://apify.com",
    "https://polar.sh"
  ],
  "maxPagesPerSite": 1,
  "generateLlmsTxt": true,
  "extractMarkdown": false,
  "checkAiCrawlers": true,
  "timeoutSecs": 15,
  "maxConcurrency": 5
}
```

*(Also supports standard Apify `startUrls: [{"url": "https://example.com"}]` format.)*

***

### Output Example (Dataset JSON)

```json
{
  "url": "https://example.com/",
  "domain": "example.com",
  "auditedAt": "2026-12-01T13:15:00Z",
  "success": true,
  "httpStatus": 200,
  "ttfbMs": 214,
  "overallScore": 74,
  "grade": "B",
  "subScores": {
    "aiCrawlerAccess": 100,
    "llmsTxtReadiness": 0,
    "structuredData": 75,
    "citabilityAndSemantics": 90,
    "technicalSeo": 95,
    "entityMetadata": 100
  },
  "aiCrawlers": {
    "checked": true,
    "robotsTxtFound": true,
    "blockedCriticalAiSearchBots": [],
    "bots": {
      "GPTBot": "allowed",
      "OAI-SearchBot": "allowed",
      "ChatGPT-User": "allowed",
      "ClaudeBot": "allowed",
      "Claude-Web": "allowed",
      "PerplexityBot": "allowed",
      "Google-Extended": "allowed",
      "Applebot-Extended": "allowed",
      "CCBot": "allowed",
      "Bytespider": "allowed",
      "Meta-ExternalAgent": "allowed",
      "Amazonbot": "allowed"
    }
  },
  "llmsTxt": {
    "exists": false,
    "llmsFullExists": false,
    "specCompliant": false,
    "generatedDraftKey": "llms-example-com.txt",
    "generatedDraftPreview": "# Example SaaS\n\n> Workflow automation platform..."
  },
  "structuredData": {
    "jsonLdCount": 1,
    "detectedTypes": ["Organization"],
    "missingRecommendedTypes": ["WebSite", "SoftwareApplication", "Product", "FAQPage", "Article"],
    "recommendedJsonLdPatch": {
      "@context": "https://schema.org",
      "@graph": [
        { "@type": "WebSite", "name": "Example SaaS", "url": "https://example.com" },
        { "@type": "SoftwareApplication", "name": "Example SaaS", "url": "https://example.com/" }
      ]
    }
  },
  "recommendations": [
    {
      "priority": "P0",
      "category": "llms_txt",
      "issue": "Missing /llms.txt root manifest",
      "impact": "+18 to +20 GEO score",
      "fix": "Publish the auto-generated llms.txt draft at https://example.com/llms.txt (following llmstxt.org)."
    }
  ]
}
```

***

### Use with AI Agents via Apify MCP (`mcp.apify.com`)

Connect this Actor directly to **Claude Code, Cursor, Windsurf, or ChatGPT** using Apify's hosted MCP server:

```json
{
  "mcpServers": {
    "apify-geo-auditor": {
      "url": "https://mcp.apify.com?actors=geo-ai-readiness-auditor",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

Then ask your AI agent:

> *"Run a GEO & AI search readiness audit on https://my-saas.com, check if GPTBot and PerplexityBot are blocked, and draft a ready-to-deploy llms.txt file."*

***

### Related Developer Tooling & Support

- **Auditing Git repositories for AI coding agents & MCP security?** Check out our open-core CLI **[AgentGuard CLI](https://amakerc.github.io/agentguard-cli/)** (secret leaks, MCP `npx -y` supply-chain checks, and runaway LLM loop guardrails).
- **Support, custom enterprise rules, or bug reports**: <haruka7533@gmail.com>

# Actor input Schema

## `urls` (type: `array`):

List of root domains or page URLs to audit (e.g., https://example.com). Supports up to 500 URLs per run.

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

Optional Apify standard startUrls format (\[{"url": "https://example.com"}]). Merged with Target Website URLs if provided.

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

1 = homepage & root files (robots.txt, llms.txt, sitemap.xml) only ($0.04/site). Set >1 to audit additional internal pages ($0.01/extra page).

## `generateLlmsTxt` (type: `boolean`):

Automatically generate a ready-to-deploy llms.txt draft (following llmstxt.org spec) saved to Key-Value Store plus a recommended Schema.org JSON-LD patch (+$0.03/site).

## `extractMarkdown` (type: `boolean`):

Strip navigation, scripts, and styles to export clean GitHub-Flavored Markdown with estimated LLM token counts for each audited page.

## `checkAiCrawlers` (type: `boolean`):

Inspect robots.txt, X-Robots-Tag, and meta robots directives for GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-Web, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Bytespider, Meta-ExternalAgent, and Amazonbot.

## `timeoutSecs` (type: `integer`):

Per-request HTTP timeout in seconds.

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

Maximum number of target sites audited concurrently.

## `customUserAgent` (type: `string`):

Override the default polite crawler User-Agent header.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://polar.sh"
  ],
  "startUrls": [],
  "maxPagesPerSite": 1,
  "generateLlmsTxt": true,
  "extractMarkdown": false,
  "checkAiCrawlers": true,
  "timeoutSecs": 15,
  "maxConcurrency": 5,
  "customUserAgent": "SelfLoop-GEO-Auditor/1.0 (+https://apify.com)"
}
```

# Actor output Schema

## `auditResults` (type: `string`):

Structured JSON items containing 0-100 GEO scores, 12 AI crawler matrices, llms.txt checks, JSON-LD findings, SPA risks, recommendations, and clean RAG Markdown.

## `generatedLlmsFiles` (type: `string`):

Ready-to-deploy llmstxt.org compliant llms.txt drafts generated for audited domains.

# 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 = {
    "urls": [
        "https://apify.com",
        "https://polar.sh"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("outstanding_people_bgp/geo-ai-readiness-auditor").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 = { "urls": [
        "https://apify.com",
        "https://polar.sh",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("outstanding_people_bgp/geo-ai-readiness-auditor").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 '{
  "urls": [
    "https://apify.com",
    "https://polar.sh"
  ]
}' |
apify call outstanding_people_bgp/geo-ai-readiness-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,outstanding_people_bgp/geo-ai-readiness-auditor"
        }
    }
}
```

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/iBGWGi3KHDN6invgy/builds/1PgPmvDDvIjp03ojB/openapi.json
