# AI Search Readiness (GEO) Audit: llms.txt, AI Crawlers & Schema (`datasur-labs/ai-search-readiness-audit`) Actor

Bulk GEO / AEO audit: can ChatGPT, Claude, Perplexity, Gemini and Copilot crawl and cite a website? Checks 22 AI crawlers in robots.txt, llms.txt, schema.org entity data, JS-only content, FAQ, sitemap; returns a 0-100 score, prioritized fixes and a ready llms.txt draft.

- **URL**: https://apify.com/datasur-labs/ai-search-readiness-audit.md
- **Developed by:** [Data Sur Labs](https://apify.com/datasur-labs) (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

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

## AI Search Readiness (GEO) Audit: llms.txt, AI crawlers & schema

**Can ChatGPT, Claude, Perplexity, Gemini and Copilot actually read and cite a website?** This Actor audits sites in bulk for **Generative Engine Optimization (GEO / AEO / LLM SEO)** and returns a **0-100 AI readiness score**, an A–F grade, prioritized fixes and a **ready-to-publish llms.txt draft**.

### What it checks

- 🤖 **22 AI crawlers in robots.txt**: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, Google-Extended, Googlebot, Bingbot (Copilot), Applebot-Extended, meta-externalagent, Amazonbot, DuckAssistBot, CCBot, Bytespider, cohere-ai, MistralAI-User, YouBot… It separates **search** bots (blocking them = not cited) from **training** bots.
- 🧱 **Firewall / bot challenge**: detects Cloudflare/Akamai/DataDome challenges that hide the site from AI crawlers.
- 📄 **llms.txt and llms-full.txt**: presence plus validation (H1, summary, links). Generates a draft when it's missing or invalid.
- 🏷️ **Entity data**: schema.org JSON-LD types (Organization, LocalBusiness, FAQPage, Product…), `sameAs` links.
- 📝 **Content without JavaScript**: word count visible to non-JS crawlers, H1 structure, FAQ blocks.
- 🗺️ **Discovery and meta**: sitemap.xml, title, meta description, Open Graph, lang, robots meta, X-Robots-Tag, HTTPS, response time.

### Output example

```json
{
  "domain": "example.com",
  "aiReadinessScore": 47, "grade": "D",
  "aiCrawlersBlocked": [],
  "llmsTxt": {"present": false},
  "schemaTypes": [], "wordCount": 25, "hasFaq": false, "sitemapFound": false,
  "recommendations": [
    {"area": "content", "priority": "high", "recommendation": "Only 25 words visible without JavaScript. Most AI crawlers do not run JS: server-render the main content."},
    {"area": "structured-data", "priority": "high", "recommendation": "No schema.org JSON-LD. Add Organization/LocalBusiness…"}
  ],
  "llmsTxtDraft": "# Example Domain\n\n> …\n\n## Key pages\n…"
}
```

### Pricing (pay per event)

- **$0.006 per website audited** (+ $0.005 per run start). 100 sites ≈ $0.60.

### Who it's for

SEO and GEO agencies building client reports, marketers checking competitors, developers adding AI-readiness checks to CI, and lead generation (find businesses that are invisible to AI assistants).

### Notes

- HTTP only (no browser): fast and cheap. The "no-JS word count" is exactly what most AI crawlers see.
- It doesn't query ChatGPT or other assistants (no API keys needed). It measures whether they *can* access and understand the site.
- Works with the Apify MCP server, so AI agents can call it directly.

# Actor input Schema

## `websites` (type: `array`):

Domains or URLs to audit for AI search / GEO readiness (ChatGPT, Claude, Perplexity, Gemini, Copilot).

## `includeLlmsTxtDraft` (type: `boolean`):

When a site has no valid /llms.txt, generate a ready-to-edit draft from its navigation.

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

Websites audited in parallel.

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

Per-request timeout.

## `proxy` (type: `object`):

Optional, for sites behind bot protection.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "example.com"
  ],
  "includeLlmsTxtDraft": true,
  "maxConcurrency": 8,
  "timeoutSecs": 20,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Score, grade, AI crawler access, llms.txt, schema and recommendations per site.

# 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 = {
    "websites": [
        "apify.com",
        "example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datasur-labs/ai-search-readiness-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 = { "websites": [
        "apify.com",
        "example.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datasur-labs/ai-search-readiness-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 '{
  "websites": [
    "apify.com",
    "example.com"
  ]
}' |
apify call datasur-labs/ai-search-readiness-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datasur-labs/ai-search-readiness-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/6G7B53pqepLVQaVab/builds/a7ebDCV91Qef3ZcdX/openapi.json
