# AI Agent Readiness Audit (llms.txt, AI Crawlers, Schema) (`pagecraft/ai-agent-readiness-audit`) Actor

Score any website 0 to 100 for AI search and agents: llms.txt, ChatGPT, Claude and Perplexity crawler access, structured data, server-rendered content and API or MCP discovery, with prioritised fixes.

- **URL**: https://apify.com/pagecraft/ai-agent-readiness-audit.md
- **Developed by:** [Pagecraft Tools](https://apify.com/pagecraft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 website auditeds

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/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 Agent Readiness Audit: llms.txt, AI Crawler Access and Schema Checker

Check how ready any website is for **AI search and AI agents** (ChatGPT, Claude, Perplexity, Gemini). Get a **score out of 100**, a grade and a prioritised list of fixes. Like an SEO audit, for AI answers.

### What it checks

- 📄 **llms.txt** and **llms-full.txt**
- 🤖 **AI crawler access** in robots.txt for 14 bots: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, Google-Extended, Applebot-Extended, CCBot, Meta-ExternalAgent, Bytespider and Amazonbot
- 🧩 **Structured data** (schema.org JSON-LD), including an Organization block
- 📝 **Content readable without JavaScript** (many AI crawlers do not run it)
- 🗺️ **Sitemap**, meta description and HTTPS
- 🔌 **Machine interfaces**: OpenAPI, MCP manifest or AI plugin manifest

### Input

| Field | What to enter |
| --- | --- |
| Domains or URLs | `acme.com`, a URL or an email address; one per line, duplicates removed |

```json
{ "domains": ["acme.com", "example.org"] }
```

### Output

Each website gets `score` (0 to 100), `grade` (A to E), every check with pass or fail, `recommendations` ordered by impact, the llms.txt preview and a per-bot table showing whether each AI crawler is allowed and which robots.txt rule decides it.

### Who it's for

SEO and marketing agencies auditing clients, website owners checking AI visibility, and anyone building lead lists of sites that need help with AI search.

### Pricing

Pay per website audited. See the **Pricing** tab. Websites that fail or block us cost a flat $0.001 each, because they still use server time. Set **Maximum cost per run** to cap your spend. Give the run more memory to go faster (4 websites at once per GB). Residential proxies are not supported.

| Event | When it is charged | Price per 1,000 (Free / Bronze / Silver / Gold plan) |
| --- | --- | --- |
| Website audited | Each website audited and returned. | $20 / $18 / $16 / $15 |
| Website failed | A website that could not be reached or blocked us (it still uses server time). | $1.50 on every plan |

### Notes

The score reflects publicly visible signals and is a guide, not a guarantee of AI search ranking. robots.txt is evaluated for the home page path using standard longest-match rules.

# Actor input Schema

## `domains` (type: `array`):

Company domains (acme.com), URLs, or even email addresses (the domain is used). One per line; duplicates are removed.

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

Give up on a website after this long.

## `maxRetries` (type: `integer`):

Retry a website once if it fails quickly (for example blocked, then retried through a new proxy IP). Slow failures are not retried.

## `proxyConfiguration` (type: `object`):

Optional. Use Apify datacenter proxies or your own proxies for websites that block automated requests.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "stripe.com",
    "bbc.co.uk"
  ],
  "timeoutSecs": 30,
  "maxRetries": 1
}
```

# 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 = {
    "domains": [
        "apify.com",
        "stripe.com",
        "bbc.co.uk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pagecraft/ai-agent-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 = { "domains": [
        "apify.com",
        "stripe.com",
        "bbc.co.uk",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("pagecraft/ai-agent-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 '{
  "domains": [
    "apify.com",
    "stripe.com",
    "bbc.co.uk"
  ]
}' |
apify call pagecraft/ai-agent-readiness-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pagecraft/ai-agent-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/62ZDz4gHcYzdiA47q/builds/denkwETYsVMA96hcQ/openapi.json
