# AI Search Readiness Check (`n.nehru/ai-search-readiness-check`) Actor

Check if ChatGPT, Claude, Perplexity and Gemini can read and quote a website. Scores robots.txt rules for AI bots, llms.txt, schema.org JSON-LD, meta tags, headings and FAQ from 0 to 100 and lists what to fix.

- **URL**: https://apify.com/n.nehru/ai-search-readiness-check.md
- **Developed by:** [Nelojan Nehru](https://apify.com/n.nehru) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 urls checked

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/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 Check

Find out if ChatGPT, Claude, Perplexity and Gemini can read and quote a website. Give it a list of URLs, get a score from 0 to 100 per page and a short list of fixes.

### What it checks

| Check | Points |
|---|---|
| Page loads with status 200 | 10 |
| robots.txt does not block AI search bots (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, PerplexityBot) | 20 |
| /llms.txt exists | 10 |
| Sitemap listed in robots.txt | 5 |
| Valid schema.org JSON-LD | 10 |
| Entity schema (Organization, LocalBusiness, Person, WebSite and similar) | 10 |
| Title 10 to 65 characters | 5 |
| Meta description 50 to 170 characters | 5 |
| html lang and canonical link set | 5 |
| Exactly one H1 | 5 |
| At least two H2 headings | 5 |
| FAQ (FAQPage schema or question headings) | 5 |
| Page is not set to noindex | 5 |

The output also lists 14 AI crawlers and whether robots.txt blocks each one, including training-only bots like Google-Extended, CCBot and Applebot-Extended. Those are reported but do not lower the score, since blocking training is a fair choice.

### Input

```json
{ "urls": ["example.com", "https://www.example.org/about"], "timeoutSecs": 15 }
```

### Output (one row per URL)

```json
{
  "url": "https://example.com/",
  "score": 40,
  "recommendations": ["Add /llms.txt with a short site summary and key links."],
  "robots": { "found": false, "blockedBots": [], "sitemaps": [] },
  "llmsTxt": { "found": false }
}
```

### Pricing

One charge per checked URL. No proxy, no browser, so runs are fast and cheap.

### Limits

- Reads the raw HTML. Content that only appears after JavaScript runs is not seen, which is also how most AI crawlers see a page.
- Some sites block unknown user agents. Then the page check fails and only robots.txt and llms.txt are scored.

# Actor input Schema

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

Pages to check. A bare domain like example.com is checked as https://example.com.

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

How long to wait for each request.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "timeoutSecs": 15
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("n.nehru/ai-search-readiness-check").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://example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("n.nehru/ai-search-readiness-check").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://example.com"
  ]
}' |
apify call n.nehru/ai-search-readiness-check --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,n.nehru/ai-search-readiness-check"
        }
    }
}
```

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/ajEpZ30OcryPY3AK3/builds/jOPu89buom65GVL4A/openapi.json
