# llms.txt, AI Readiness & SaaS Pricing Scraper (`opaque_ideal/ai-readiness-pricing-llms-auditor`) Actor

Audits websites for AI visibility & GEO readiness (llms.txt, llms-full.txt, AI crawler rules in robots.txt, JSON-LD schema), extracts SaaS pricing tiers with change-detection hashes, and outputs RAG-ready clean Markdown. Pay-Per-Event & MCP ready.

- **URL**: https://apify.com/opaque_ideal/ai-readiness-pricing-llms-auditor.md
- **Developed by:** [Naren Krishna.M](https://apify.com/opaque_ideal) (community)
- **Categories:** AI, SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 domains ai-readiness & pricing analyzed

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

## `llms.txt`, AI Readiness & SaaS Pricing Scraper

All-in-one AI visibility (GEO / `llms.txt`) auditor, SaaS pricing-page monitor, and RAG-ready clean Markdown converter — built for AI agents (`mcp.apify.com`), technical SEO teams, and competitor intelligence automations (n8n, Make, Clay).

### Why Use This Actor?

Teams now optimize websites not just for Googlebot, but for ChatGPT, Claude, and Perplexity retrieval. Manually checking `/llms.txt`, parsing `robots.txt` rules across 9 AI crawlers, pulling Schema.org JSON-LD types, tracking SaaS pricing tier edits, and cleaning boilerplate HTML for RAG pipelines takes multiple scripts. This Actor outputs everything cleanly in one JSON record per domain.

- **Soft-404 Filtering:** Rejects HTML catch-all 200 pages masquerading as `/llms.txt` or `/llms-full.txt`.
- **Change-Detection Ready:** Generates a deterministic `pricingSnapshotHash` on `/pricing` pages so Apify Schedules detect competitor price changes instantly.
- **Zero Charge on Failed URLs:** Blocked or invalid domains log at **$0.00**.

### What Data It Extracts Per Domain

1. **AI-Readiness & Bot Policy (`aiReadinessScore` 0–100):**
   - Validates `/llms.txt`, byte length, link count, and `/llms-full.txt`
   - Parses `/robots.txt` policies for `GPTBot`, `OAI-SearchBot`, `ChatGPT-User`, `ClaudeBot`, `Anthropic-ai`, `PerplexityBot`, `Google-Extended`, `CCBot`, and `Bytespider`
   - Checks `/sitemap.xml`, `<link rel="canonical">`, OpenGraph, and JSON-LD `@type` entities
2. **SaaS Pricing & GTM Motion:**
   - Auto-discovers `/pricing`, extracts visible price strings (`$19/mo`, etc.), plan tier candidates, Annual/Monthly toggles, free-trial/demo CTAs, and `gtmMotion` (`PLG / Self-Serve`, `Hybrid PLG + Enterprise`, or `Sales-Led`)
3. **RAG-Ready Clean Markdown:**
   - Removes navigation bars, scripts, styles, footers, and cookie notices into clean `cleanMarkdown` plus `wordCount` and `estimatedTokens`.

### Use Cases

- **GEO / AI Search Agencies:** Benchmark client sites vs. competitors on `llms.txt` and AI bot rules.
- **Competitive Pricing Tracking:** Run weekly in n8n/Make to alert Slack whenever a competitor changes `/pricing` tiers (`pricingSnapshotHash`).
- **RAG & LLM Ingestion:** Feed clean low-token Markdown straight into vector stores or AI assistants.

### Pricing (Pay-Per-Event)

- **`domain-ai-audited` ($0.015 / URL):** Charged once per domain successfully analyzed.
- **`apify-actor-start` ($0.00005):** Minimal actor start event.
- **Failed / unreachable URLs:** **$0.00**.

### Example Input

```json
{
  "urls": ["https://apify.com", "https://docs.apify.com"],
  "discoverPricingPage": true,
  "includeCleanMarkdown": true
}
```

### Example Output JSON

```json
{
  "domain": "apify.com",
  "status": "ok",
  "aiReadinessScore": 72,
  "hasLlmsTxt": true,
  "hasSitemapXml": true,
  "jsonLdTypes": ["Organization", "WebSite"],
  "pricingFound": true,
  "gtmMotion": "Hybrid PLG + Enterprise",
  "priceMentions": ["$39/mo", "$199/mo"],
  "estimatedTokens": 1269
}
```

### FAQ

**Does it work with Apify MCP Server (`mcp.apify.com`)?**\
Yes. All input fields include clear descriptions for autonomous LLM tool calls.

**Can I skip Markdown extraction to minimize dataset size?**\
Yes, set `"includeCleanMarkdown": false`.

### More Tools by `opaque_ideal`

- [Google, YouTube & Amazon Autocomplete Scraper](https://apify.com/opaque_ideal/google-autocomplete-keyword-scraper) — Bulk long-tail SEO keyword discovery
- [Sitemap Extractor & Broken Link Checker](https://apify.com/opaque_ideal/sitemap-broken-link-seo-checker) — Check 404s, redirects & XML sitemaps at scale
- [Substack Newsletter, Posts & Author Scraper](https://apify.com/opaque_ideal/substack-newsletter-posts-scraper) — Extract newsletter archives & author metadata
- [Website Security Headers & Secrets Auditor](https://apify.com/opaque_ideal/vibecode-security-surface-auditor) — Audit JS bundles & security headers safely

# Actor input Schema

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

List of domain homepages or direct SaaS pricing URLs to analyze.

## `discoverPricingPage` (type: `boolean`):

Automatically locates /pricing (or pricing links) to extract plan names, price points, GTM motion, and a change-detection hash.

## `includeCleanMarkdown` (type: `boolean`):

Strips boilerplate nav/scripts/footers and returns clean Markdown plus word and token estimates.

## `maxMarkdownChars` (type: `integer`):

Maximum character length of extracted cleanMarkdown per record.

## `includeFailedUrls` (type: `boolean`):

Logs unreachable URLs with error details at zero charge.

## `timeoutSeconds` (type: `integer`):

HTTP timeout per request in seconds.

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

Number of domains analyzed simultaneously.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://docs.apify.com"
  ],
  "discoverPricingPage": true,
  "includeCleanMarkdown": true,
  "maxMarkdownChars": 15000,
  "includeFailedUrls": true,
  "timeoutSeconds": 15,
  "maxConcurrency": 5
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("opaque_ideal/ai-readiness-pricing-llms-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 = { "urls": [
        "https://apify.com",
        "https://docs.apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("opaque_ideal/ai-readiness-pricing-llms-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 '{
  "urls": [
    "https://apify.com",
    "https://docs.apify.com"
  ]
}' |
apify call opaque_ideal/ai-readiness-pricing-llms-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,opaque_ideal/ai-readiness-pricing-llms-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/WZcviCZux1XarAqGh/builds/hhn3EHrJTLlET3fOG/openapi.json
