# Technical SEO, Schema & LLMs.txt AI Readiness Audit API (`parsegrid/seo-ai-readiness-audit`) Actor

Audit any website 0-100 on technical SEO, JSON-LD schema, meta tags, headings, and AI search readiness (llms.txt, GPTBot, ClaudeBot, PerplexityBot rules) in fast JSON.

- **URL**: https://apify.com/parsegrid/seo-ai-readiness-audit.md
- **Developed by:** [Parse Grid](https://apify.com/parsegrid) (community)
- **Categories:** SEO tools, Developer tools, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 audited pages

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

## Technical SEO, Schema & LLMs.txt AI Readiness Audit API

Built by **ParseGrid**.

Fast, zero-proxy website audit API that evaluates technical SEO (`0-100` score), Schema.org JSON-LD structured data, HTML meta tags, heading structure, image alt coverage, XML sitemaps, `/llms.txt` availability, and `/robots.txt` AI crawler permissions (`GPTBot`, `ChatGPT-User`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`). Returns clean, deterministic JSON with prioritized issues and actionable fix hints.

### Why Use This Technical SEO & AI Readiness API

- **Zero Proxies & Sub-Second Parsing**: Uses lightweight native HTTP requests with origin-level caching and concurrent execution (`256 MB` memory footprint) instead of slow headless browsers.
- **AI Search & GEO / AEO Readiness**: Verifies whether `/llms.txt` serves genuine plain-text or Markdown documentation (filtering out HTML 404 SPA shells) and parses `/robots.txt` directives across major AI search crawlers.
- **Complete On-Page Technical Audit**: Extracts HTTP status, response time, HTTPS enforcement, `<title>`, meta description, canonical URL, `meta robots`, `<html lang>`, mobile viewport, Open Graph, Twitter Card, `<h1>`-`<h3>` counts, visible word count, image alt coverage, and internal vs external link counts.
- **JSON-LD Schema Validation**: Parses all `<script type="application/ld+json">` blocks on each page, extracts unique `@type` entities (`Organization`, `WebSite`, `Product`, `FAQPage`, `Article`, and more), and counts malformed JSON-LD syntax errors.
- **Optional Same-Host Internal Crawling**: Set `crawlInternalLinksPerSite` (`1` to `20`) to automatically discover and audit key internal HTML pages linked from each seed URL while fetching `/robots.txt`, `/llms.txt`, and `/sitemap.xml` only once per host.

### Automation & AI Agent Workflows

- **Agency & Outbound Lead Enrichment (Clay / Apollo)**: Score prospect domains in bulk to spot missing `/llms.txt` files, blocked AI crawlers, missing Schema.org markup, or broken canonical tags before outreach.
- **CI/CD & Post-Deploy Regression Checks (n8n / GitHub Actions / Make)**: Run automated post-deployment audits across key landing pages to catch accidental `noindex` tags, missing meta descriptions, broken JSON-LD, or unintended `robots.txt` blocks.
- **MCP Agents & Autonomous SEO Copilots**: Give Claude, Cursor, or custom AI agents a single deterministic tool call to inspect both classic search indexability and LLM answer-engine readiness.

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `urls` | `string[]` | `["https://stripe.com", "https://linear.app", "https://apify.com"]` | Website URLs or bare domains to audit (`"stripe.com"` normalizes to `"https://stripe.com/"`). |
| `crawlInternalLinksPerSite` | `integer` | `0` | Discover and audit up to `N` same-host internal HTML pages per seed URL (`0` to `20`). |
| `checkAiReadiness` | `boolean` | `true` | Check `/robots.txt`, `/llms.txt`, and `/sitemap.xml` once per origin and cache results per host. |
| `timeoutSecs` | `integer` | `12` | Per-request HTTP timeout in seconds (`3` to `30`). |

### Input Example

```json
{
  "urls": [
    "https://stripe.com",
    "https://linear.app",
    "https://apify.com"
  ],
  "crawlInternalLinksPerSite": 2,
  "checkAiReadiness": true,
  "timeoutSecs": 12
}
```

### Output Example

```json
{
  "url": "https://apify.com",
  "finalUrl": "https://apify.com/",
  "origin": "https://apify.com",
  "isSeedUrl": true,
  "httpStatus": 200,
  "responseTimeMs": 248,
  "isHttps": true,
  "seoScore": 96,
  "aiReadinessScore": 95,
  "title": "Apify: Full-stack web scraping and data extraction platform",
  "titleLength": 59,
  "metaDescription": "Cloud platform for web scraping, browser automation, and data for AI.",
  "metaDescriptionLength": 69,
  "canonicalUrl": "https://apify.com/",
  "metaRobots": "index, follow",
  "htmlLang": "en",
  "viewport": "width=device-width, initial-scale=1",
  "hasOgTitle": true,
  "hasOgDescription": true,
  "hasOgImage": true,
  "twitterCard": "summary_large_image",
  "h1Count": 1,
  "h1Texts": [
    "Full-stack web scraping and data extraction platform"
  ],
  "h2Count": 6,
  "h3Count": 12,
  "wordCount": 840,
  "imageCount": 18,
  "imagesMissingAlt": 0,
  "imageAltCoveragePct": 100,
  "internalLinkCount": 64,
  "externalLinkCount": 11,
  "schemaTypes": [
    "Organization",
    "WebSite"
  ],
  "jsonLdErrors": 0,
  "hasRobotsTxt": true,
  "aiCrawlers": {
    "GPTBot": "allowed",
    "ChatGPT-User": "allowed",
    "ClaudeBot": "allowed",
    "PerplexityBot": "allowed",
    "Google-Extended": "allowed",
    "*": "allowed"
  },
  "robotsSitemaps": [
    "https://apify.com/sitemap.xml"
  ],
  "hasLlmsTxt": true,
  "llmsTxtLength": 4820,
  "hasSitemapXml": true,
  "sitemapUrl": "https://apify.com/sitemap.xml",
  "issues": [],
  "auditedAt": "2026-11-13T20:05:00.000Z"
}
```

### MCP Server Integration

Connect this Actor to Claude Desktop, Cursor, or any MCP-compatible AI agent client via the Apify MCP server:

```json
{
  "tool": "call-actor",
  "arguments": {
    "actor": "parsegrid/seo-ai-readiness-audit",
    "input": {
      "urls": ["https://stripe.com", "https://linear.app"],
      "crawlInternalLinksPerSite": 0,
      "checkAiReadiness": true
    }
  }
}
```

# Actor input Schema

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

Website URLs or bare domains to audit (for example "https://stripe.com", "linear.app", or "https://apify.com/pricing").

## `crawlInternalLinksPerSite` (type: `integer`):

When greater than 0, discovers up to N same-host internal HTML pages linked from each seed URL and audits them as well (0 to 20).

## `checkAiReadiness` (type: `boolean`):

Fetch /robots.txt, /llms.txt, and /sitemap.xml once per origin (cached across pages on the same host) to evaluate AI crawler directives and sitemap coverage.

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

Per-request HTTP fetch timeout in seconds (3 to 30).

## Actor input object example

```json
{
  "urls": [
    "https://stripe.com",
    "https://linear.app",
    "https://apify.com"
  ],
  "crawlInternalLinksPerSite": 0,
  "checkAiReadiness": true,
  "timeoutSecs": 12
}
```

# Actor output Schema

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

JSON dataset items containing seoScore, aiReadinessScore, title, meta tags, headings, schemaTypes, llms.txt status, AI crawler permissions, and fix hints.

# 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://stripe.com",
        "https://linear.app",
        "https://apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("parsegrid/seo-ai-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 = { "urls": [
        "https://stripe.com",
        "https://linear.app",
        "https://apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("parsegrid/seo-ai-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 '{
  "urls": [
    "https://stripe.com",
    "https://linear.app",
    "https://apify.com"
  ]
}' |
apify call parsegrid/seo-ai-readiness-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parsegrid/seo-ai-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/vU6JhmaJriBnpXafp/builds/g5XPh7ADfcms417lE/openapi.json
