# Websites by AI Policy — who blocks AI crawlers, who does not (`piperic/websites-by-ai-policy`) Actor

Lists of live websites by their stance on AI: sites that block AI training crawlers, sites whose terms prohibit AI training, sites with no opt-out, and sites that publish llms.txt. Filter by country, language and category. With business e-mail where published.

- **URL**: https://apify.com/piperic/websites-by-ai-policy.md
- **Developed by:** [Attila Rácz-Akácosi](https://apify.com/piperic) (community)
- **Categories:** AI, Lead generation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 websites

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

## Websites by AI Policy — who blocks AI crawlers, who does not

Get lists of live websites by their stance on AI crawlers and AI training. Filter by country, language and topic.

Results come from Piperic's own crawl of 71 million live domains. For every site we read robots.txt, ai.txt, llms.txt and the terms page, so a run takes seconds and does not fetch anything at run time.

### Four lists in one Actor

| AI policy | What it means | Sites in our index |
|---|---|---|
| **Blocks AI training crawlers** | robots.txt or ai.txt shuts out at least one AI crawler (GPTBot, ClaudeBot, CCBot, Google-Extended…) | 3.7 million |
| **Terms or page text prohibit AI training** | the terms page or the page itself carries a no-AI-training clause | 680,000 |
| **No opt-out detected** | none of the signals above on our crawl date | most of the web |
| **Publishes llms.txt** | the site serves an llms.txt file for AI assistants | 8.1 million |

You can also ask for one specific crawler: sites blocking `GPTBot` (3.4 million), `ClaudeBot` (3.2 million), `OAI-SearchBot` (330,000) and others.

### Who uses it

- **AI data and crawling teams**: plan a crawl by topic and language, and keep opted-out sites off the list before the first request.
- **GEO and AI-SEO agencies**: find sites that block AI search bots such as `OAI-SearchBot` and are invisible in AI answers, often without knowing it.
- **AI licensing and publisher-tech vendors**: sites that reserve their rights are the ones that care about how AI uses their content.
- **Researchers and journalists**: adoption of AI opt-outs and llms.txt by country and industry.

### What you get per website

| Field | Example |
|---|---|
| `domain`, `url`, `title` | `example-news.com` |
| `country`, `language`, `category` | United Kingdom, en, news |
| `aiTrainingPolicy` | `blocks-ai-training`, `terms-prohibit-ai` or `no-opt-out` |
| `blockedAiBots` | GPTBot, ClaudeBot, CCBot |
| `evidence` | `robots:GPTBot+CCBot`, `tos:no-ai-training`, `ai.txt`, `llms.txt` |
| `hasLlmsTxt`, `hasAiTxt` | true / false |
| `termsProhibitAi`, `termsUrl` | true, link to the terms page we read |
| `cms`, `technologies` | WordPress, cloudflare, … |
| `businessEmails`, `phones` | role addresses and phones the site publishes itself |
| `crawlDate` | the day we read the site |

### Good to know

- **"No opt-out detected" is a technical signal, not a licence.** It says what we found on the crawl date. It does not grant any right to use the content, and it is not legal advice.
- Policies change. Every row carries its `crawlDate`; re-check robots.txt yourself before a large crawl.
- Robots.txt rules are read for named AI crawlers (GPTBot, ClaudeBot, CCBot and others); `blockedAiBots` lists the ones we found.
- E-mail addresses are business role addresses (info@, sales@ type). We check that the e-mail domain accepts mail, not the individual mailbox.
- "No opt-out detected" needs a country, a language or a category, because it covers most of the web.
- One run returns up to 10,000 websites.

### Need the whole dataset?

Larger files (a whole country, a whole policy group) are licensed as a single download; ask at [piperic.com/bulk](https://piperic.com/bulk?utm_source=apify-ai). Background numbers: our [State of the AI Web](https://piperic.com/ai-report) report.

# Actor input Schema

## `policy` (type: `string`):

Which websites to return. 'No opt-out detected' needs a country, language or category as well.

## `blockedBot` (type: `string`):

Return only sites whose robots.txt blocks this crawler. Exact name, for example: GPTBot, ClaudeBot, CCBot, Google-Extended, PerplexityBot, OAI-SearchBot, ChatGPT-User, Bytespider, Amazonbot, Meta-ExternalAgent. When set, it replaces the AI policy choice above.

## `country` (type: `string`):

Two-letter country code, for example US, GB, DE, FR.

## `language` (type: `string`):

Two-letter language code of the site, for example en, de, es, fr, ja.

## `category` (type: `string`):

Topic of the site as a slug, for example: news, medical-health, real-estate, travel, education, law, automotive. Leave empty for all topics.

## `withEmailOnly` (type: `boolean`):

Turn on for outreach lists. Leave off for crawl planning or research.

## `maxItems` (type: `integer`):

How many websites to return (1 to 10,000). You pay per result.

## Actor input object example

```json
{
  "policy": "blocks-ai-training",
  "withEmailOnly": false,
  "maxItems": 100
}
```

# Actor output Schema

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

One item per website: domain, AI policy, blocked AI bots, evidence, llms.txt, terms, business e-mails.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("piperic/websites-by-ai-policy").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("piperic/websites-by-ai-policy").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 '{}' |
apify call piperic/websites-by-ai-policy --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piperic/websites-by-ai-policy"
        }
    }
}
```

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/OSIVs2yaheHw0DV6R/builds/nVIAZwKvT4hFljrW6/openapi.json
