# AI Search (GEO / AEO), llms.txt & Markdown Generator (`sadis/geo-llms-ai-readiness-auditor`) Actor

Audit websites for AI search visibility (GEO/AEO): checks llms.txt, GPTBot/ClaudeBot/PerplexityBot robots.txt policies, Schema.org JSON-LD, and exports ready-to-commit llms.txt & llms-full.txt Markdown bundles.

- **URL**: https://apify.com/sadis/geo-llms-ai-readiness-auditor.md
- **Developed by:** [Cipiwon Daisuki](https://apify.com/sadis) (community)
- **Categories:** SEO tools, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.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

## AI Search (GEO / AEO), `llms.txt` & Markdown Generator

Audit any public website for **Generative Engine Optimization (GEO)**, **Answer Engine Optimization (AEO)**, and **AI Search Visibility**, inspect AI crawler rules (`GPTBot`, `ClaudeBot`, `PerplexityBot`), validate `Schema.org` JSON-LD, and generate ready-to-commit **`llms.txt`** and **`llms-full.txt`** Markdown bundles in seconds.

Built for technical SEOs, AI product builders, agencies, and RAG pipelines searching for **`llms.txt`**, **`geo audit`**, **`aeo checker`**, **`ai search visibility`**, **`schema markup audit`**, and **`website to markdown llm`**.

***

### Why Use This Actor?

- **⚡ Ultra-Fast HTTP-Only Engine:** Uses `CheerioCrawler` (`crawlee` + `cheerio` + `turndown`) with zero browser spin-up overhead — faster runs and minimal compute usage.
- **🤖 Full AI Crawler Matrix (`robots.txt`):** Checks explicit & wildcard rules for `GPTBot`, `OAI-SearchBot`, `ChatGPT-User`, `ClaudeBot`, `Anthropic-ai`, `PerplexityBot`, `Google-Extended`, and `CCBot`.
- **📄 Ready-to-Commit `llms.txt` & `llms-full.txt`:** Strips navigation, headers, footers, scripts, and SVGs to produce clean LLM-ready Markdown following the `llmstxt.org` specification.
- **📊 Actionable 0–100 AI-Readiness Score:** Audits `<title>`, `<meta name="description">`, `<link rel="canonical">`, `<h1>`, OpenGraph, Twitter Cards, and malformed `Schema.org` JSON-LD.

***

### Input Example ("Try Me" Default)

```json
{
  "startUrl": "https://example.com",
  "maxPages": 10,
  "generateLlmsTxt": true,
  "generateLlmsFullTxt": true,
  "maxMarkdownCharsPerPage": 12000
}
```

#### Free Plan vs. Paid Apify Plan

| Tier | Max Pages Per Run | Outputs Included |
| :--- | :---: | :--- |
| **Free Apify Plan (Demo)** | Up to **3 pages** | Full dataset + `SUMMARY.json` + `llms.txt` + `llms-full.txt` |
| **Paid Apify Plan** | Up to **100 pages** | Full site audit, batch `llms-full.txt` & prioritized recommendations |

***

### Output Artifacts & Sample JSON

1. **Dataset (`default`)** — One structured JSON item per audited page:

```json
{
  "url": "https://example.com/",
  "statusCode": 200,
  "title": "Example Domain",
  "hasCanonical": false,
  "hasJsonLd": false,
  "jsonLdTypes": [],
  "wordCount": 25,
  "pageScore": 20,
  "issues": ["missing_meta_description", "missing_canonical", "missing_h1", "missing_json_ld"]
}
```

2. **Key-Value Store (`SUMMARY.json`):** Site-wide `aiReadinessScore` (`0–100`), `aiCrawlerPolicies`, `/llms.txt` & `/sitemap.xml` checks, and prioritized fixes.
3. **Key-Value Store (`llms.txt`):** Ready-to-deploy `llmstxt.org` Markdown index.
4. **Key-Value Store (`llms-full.txt`):** Combined Markdown content bundle ready for RAG / LLM context windows.

***

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

| Event | Price | When Charged |
| --- | :---: | --- |
| `page-audited` | **`$0.01`** | Once per HTML page audited and converted to Markdown (`$10 / 1,000` pages) |
| `llms-txt-bundle-generated` | **`$0.03`** | Once per run when `SUMMARY.json`, `llms.txt`, and `llms-full.txt` are generated |

***

### 🤖 Use with AI Agents (MCP), n8n & REST API

This Actor runs under **Limited Permissions** with structured Input/Output schemas so AI agents on **`mcp.apify.com`** (Cursor, Claude, Windsurf) and workflow tools (**n8n**, **Make**, **Zapier**) can invoke `sadis/geo-llms-ai-readiness-auditor` directly:

```bash
curl -X POST "https://api.apify.com/v2/acts/sadis~geo-llms-ai-readiness-auditor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrl":"https://example.com","maxPages":10}'
```

***

### FAQ

**Q: Does this Actor bypass logins or anti-bot walls?**\
A: No. It inspects public HTTP endpoints (`robots.txt`, `sitemap.xml`, `llms.txt`, and public HTML) that websites want search engines and AI assistants to index.

**Q: Why was my Free-plan run capped at 3 pages?**\
A: Free Apify accounts get a 3-page demo run so you can test the full output format at `$0`. Paid Apify accounts unlock up to 100 pages per run at `$0.01/page`.

# Actor input Schema

## `startUrl` (type: `string`):

Root URL or starting page of the website to audit (e.g., https://example.com).

## `maxPages` (type: `integer`):

Maximum number of same-origin pages to crawl and convert to Markdown (up to 100 on paid Apify plans; Free plan runs are capped at 3 pages as a demo).

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

Generate a ready-to-commit llms.txt file following the llmstxt.org Markdown format in Key-Value Store.

## `generateLlmsFullTxt` (type: `boolean`):

Generate a combined llms-full.txt Markdown bundle of all audited pages in Key-Value Store.

## `maxMarkdownCharsPerPage` (type: `integer`):

Maximum number of Markdown characters extracted per page for llms-full.txt.

## Actor input object example

```json
{
  "startUrl": "https://example.com",
  "maxPages": 10,
  "generateLlmsTxt": true,
  "generateLlmsFullTxt": true,
  "maxMarkdownCharsPerPage": 12000
}
```

# Actor output Schema

## `pages` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `llmsTxt` (type: `string`):

No description

## `llmsFullTxt` (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 = {
    "startUrl": "https://example.com",
    "maxPages": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("sadis/geo-llms-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 = {
    "startUrl": "https://example.com",
    "maxPages": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("sadis/geo-llms-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 '{
  "startUrl": "https://example.com",
  "maxPages": 10
}' |
apify call sadis/geo-llms-ai-readiness-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sadis/geo-llms-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/GK2HTXd3PKiE83NFU/builds/gf4QWZzkPvhKM4yqk/openapi.json
