# Websites with llms.txt or ai.txt — AI-ready sites list (`piperic/websites-with-llms-txt`) Actor

Lists of live websites that publish an llms.txt or ai.txt file, by country, language, topic and platform. 8 million sites with llms.txt, 89,000 with ai.txt, from Piperic's own crawl. With business e-mail where published.

- **URL**: https://apify.com/piperic/websites-with-llms-txt.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 with llms.txt or ai.txt — AI-ready sites list

Get lists of live websites that publish an **llms.txt** or **ai.txt** file. Filter by country, language, topic and platform.

Results come from Piperic's own crawl of 71 million live domains. We request `/llms.txt` and `/ai.txt` on every site and check that the answer is a real file of that kind, not an error page. A run takes seconds and does not fetch anything at run time.

### How many sites

| File | Sites in our index | With a business e-mail |
|---|---|---|
| llms.txt | 8.1 million | 2.4 million |
| ai.txt | 89,000 | 27,000 |
| both | 46,000 | |

Where the llms.txt files are: about 2.5 million on Shopify, 1.6 million on WordPress, 1.2 million on Wix, the rest on other or custom platforms.

### Who uses it

- **GEO and AI-SEO tool vendors and agencies**: sites that already publish llms.txt have taken the first step toward AI visibility. Use the platform filter to find the ones that did it on purpose (WordPress, custom sites).
- **AI assistant and agent builders**: sources that offer a machine-readable guide to their content.
- **Researchers and journalists**: adoption of llms.txt and ai.txt by country, industry and platform.

### What you get per website

| Field | Example |
|---|---|
| `domain`, `url`, `title` | `example.com` |
| `country`, `language`, `category` | Germany, de, travel |
| `hasLlmsTxt`, `hasAiTxt` | true / false |
| `aiTrainingPolicy`, `blockedAiBots`, `evidence` | what else the site says about AI crawlers |
| `termsProhibitAi`, `termsUrl` | AI clause in the terms page, if we found one |
| `cms`, `technologies` | WordPress, yoast seo, cloudflare, … |
| `businessEmails`, `phones` | role addresses and phones the site publishes itself |
| `crawlDate` | the day we read the site |

### Good to know

- **Shopify and Wix publish llms.txt for their sites by default.** On those platforms the file does not tell you that the owner chose it. On WordPress it comes from an SEO plugin or from the owner.
- **A file is not a licence.** llms.txt is a guide for AI assistants; ai.txt states the site's own rules, which can allow or restrict AI use. Read the file before you rely on it. This is not legal advice.
- Every row carries its `crawlDate`. Files appear and disappear; re-check before a large project.
- E-mail addresses are business role addresses (info@, sales@ type). We check that the e-mail domain accepts mail, not the individual mailbox.
- One run returns up to 10,000 websites.

### Related

- Sites that block AI crawlers or prohibit AI training: [Websites by AI Policy](https://apify.com/piperic/websites-by-ai-policy).
- Larger files are licensed as a single download; ask at [piperic.com/bulk](https://piperic.com/bulk?utm_source=apify-llms).

# Actor input Schema

## `file` (type: `string`):

llms.txt is a guide for AI assistants. ai.txt states the site's rules for AI use.

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

## `platform` (type: `string`):

Only sites built on this platform, for example: WordPress, Shopify, Wix, Squarespace, Webflow. Shopify and Wix publish llms.txt for their sites by default; on WordPress it comes from an SEO plugin or the site owner.

## `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
{
  "file": "llms.txt",
  "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-with-llms-txt").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-with-llms-txt").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-with-llms-txt --silent --output-dataset

```

## MCP server setup

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

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/d3EDoujpe9GmLIQry/builds/KXXTIUdlsZY6luSRb/openapi.json
