# Robots.txt Tester – Which AI Crawlers Are Blocked

**Use case:** 

Reads the robots.txt of nytimes.com, reddit.com and stackoverflow.com and tests Googlebot, GPTBot, ClaudeBot, PerplexityBot and more against them, plus llms.txt. Swap in your own or competitors' sites.

## Input

```json
{
  "websites": [
    "https://www.nytimes.com",
    "https://www.reddit.com",
    "https://stackoverflow.com"
  ],
  "testUrls": [
    "/",
    "/blog/",
    "/search?q=shoes"
  ],
  "bots": [
    "Googlebot",
    "GPTBot",
    "ClaudeBot"
  ],
  "checkLlmsTxt": true
}
```

## Output

```json
{
  "website": {
    "label": "Website",
    "format": "string"
  },
  "verdict": {
    "label": "Verdict",
    "format": "string"
  },
  "ai_bots_blocked": {
    "label": "AI bots blocked",
    "format": "array"
  },
  "search_bots_blocked": {
    "label": "Search bots blocked",
    "format": "array"
  },
  "sitemap_count": {
    "label": "Sitemaps",
    "format": "integer"
  },
  "invalid_lines": {
    "label": "Bad lines",
    "format": "integer"
  },
  "url_tests": {
    "label": "URL tests",
    "format": "array"
  },
  "has_llms_txt": {
    "label": "llms.txt",
    "format": "boolean"
  },
  "errorMessage": {
    "label": "Note",
    "format": "string"
  }
}
```

## How it works

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

The Robots.txt Checker – Test URLs, Googlebot & AI Crawlers Actor is ready to run with the inputs already set for "Robots.txt Tester – Which AI Crawlers Are Blocked". [Sign up or log in](https://console.apify.com/create-task-from-example/XLXc8b1MWrOoDQKgD) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Robots.txt Tester – Which AI Crawlers Are Blocked" task

The Robots.txt Checker – Test URLs, Googlebot & AI Crawlers Actor will start running based on the input automatically. You can also change all the input fields, like websites, URLs or paths to test (optional), and more, to match your specific use case.

### 3. Receive the "Robots.txt Tester – Which AI Crawlers Are Blocked" 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 website, verdict, AI bots blocked, 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 "Robots.txt Tester – Which AI Crawlers Are Blocked" task via API](https://apify.com/rowfeed/robots-txt-checker.md).

## About this Actor

This example demonstrates how to use [Robots.txt Checker – Test URLs, Googlebot & AI Crawlers](https://apify.com/rowfeed/robots-txt-checker.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rowfeed/robots-txt-checker.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/rowfeed/robots-txt-checker.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`).
