# Check robots.txt, sitemap and AI crawler access

**Use case:** 

For each website in the list: is there a robots.txt, a sitemap and an llms.txt file, which AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and others) robots.txt blocks, and whether HTTP redirects to HTTPS. One page per site, so it is quick for long lists of domains.

## Input

```json
{
  "startUrls": [
    "https://www.python.org/",
    "https://www.theguardian.com/",
    "https://www.bbc.com/",
    "https://www.wikipedia.org/",
    "https://github.com/"
  ],
  "maxPagesPerSite": 1,
  "checkExternalLinks": false,
  "checkImages": false,
  "useSitemap": true,
  "respectRobotsTxt": true,
  "includeSubdomains": false,
  "maxConcurrencyPerSite": 4,
  "maxConcurrency": 10,
  "delayMs": 0,
  "requestTimeoutSecs": 20
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "statusCode": {
    "label": "Status",
    "format": "number"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "siteChecks": {
    "label": "Site checks",
    "format": "object"
  },
  "errors": {
    "label": "Errors",
    "format": "number"
  },
  "warnings": {
    "label": "Warnings",
    "format": "number"
  },
  "brokenLinksCount": {
    "label": "Broken links",
    "format": "number"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEO Audit & Broken Link Checker: Site Audit with 0-100 Score Actor is ready to run with the inputs already set for "Check robots.txt, sitemap and AI crawler access". [Sign up or log in](https://console.apify.com/create-task-from-example/sf1aeN2xgXw5KNG4y) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check robots.txt, sitemap and AI crawler access" task

The SEO Audit & Broken Link Checker: Site Audit with 0-100 Score Actor will start running based on the input automatically. You can also change all the input fields, like websites to audit, max pages per site, and more, to match your specific use case.

### 3. Receive the "Check robots.txt, sitemap and AI crawler access" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, status, title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Check robots.txt, sitemap and AI crawler access" task via API](https://apify.com/makerio/seo-audit-broken-links.md).

## FAQ

### What does the AI crawler access check task return?

One table row per crawled URL with its status, title, meta description, H1, canonical, indexability, broken links and issues, plus report.html, a JSON summary and broken-links.csv in the key-value store.

### How much does one run of this task cost?

$0.004 per audited URL ($4 per 1,000); link and image checks are included and URLs that fail to load are free. As set up, at most 5 URL(s), so a run costs up to $0.02.

### Can I audit my own website?

Yes. Duplicate the "Check robots.txt, sitemap and AI crawler access" task, enter your site and set Max pages per site. You can also limit the crawl to a section with URL patterns.

### Can I run it on a schedule?

Yes. Add a weekly schedule in Apify Console to catch new broken links and errors, and send the results to Google Sheets, Slack, email or a webhook.

## About this Actor

This example demonstrates how to use [SEO Audit & Broken Link Checker: Site Audit with 0-100 Score](https://apify.com/makerio/seo-audit-broken-links.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/makerio/seo-audit-broken-links.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/makerio/seo-audit-broken-links.md

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`).
