# Shopify llms.txt Generator (for AI agents & LLM search) (`fast_data_asap/shopify-llms-txt-generator`) Actor

Generate a ready-to-upload llms.txt (and llms-full.txt) for any Shopify store: summary, collections, products with prices and stock, policies and sitemap, so ChatGPT, Claude, Perplexity and AI shopping agents understand the shop. $30 per 1,000 stores.

- **URL**: https://apify.com/fast_data_asap/shopify-llms-txt-generator.md
- **Developed by:** [Fast Data](https://apify.com/fast_data_asap) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 llms.txt generateds

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

## Shopify llms.txt Generator – Get Your Store Understood by ChatGPT & AI Agents

`llms.txt` is a simple Markdown file that tells AI assistants and shopping agents what a website is about and where the important pages are. This Actor builds a **ready-to-upload llms.txt for any Shopify store** in seconds: store summary, collections, products with prices and stock, policies and sitemap.

### Who uses it

- **Shopify merchants:** make your store easy to read for ChatGPT, Claude, Perplexity and AI shopping agents.
- **Agencies:** offer "AI readiness" as a quick win for every client store.
- **SEO / GEO consultants:** generate llms.txt drafts for many stores at once.

### What you get

- Store name and description
- Collections with links and short descriptions
- Products with price range, vendor and stock status
- Policies (returns, shipping, terms, privacy, legal notice) that exist
- Sitemap and products.json links
- Full file in the dataset (`llmsTxt`) and as a downloadable file in the key-value store (`llmsTxtUrl`)

### How to use it

1. Click **Try for free** (or Start).
2. Paste your list into the input (see the example below).
3. Run it and download the results as JSON, CSV or Excel, or get them via API.

#### Example input

```json
{
  "shops": [
    "your-store.com"
  ],
  "maxProducts": 50
}
```

Upload the result to your store (e.g. via a page or app proxy) so it is reachable at `/llms.txt`.

#### Example output (shortened, illustrative values)

```json
{
  "shop": "https://your-store.com",
  "ok": true,
  "storeName": "Your Store",
  "collections": 12,
  "productsIncluded": 50,
  "policies": [
    "Refund policy",
    "Shipping policy",
    "Privacy policy"
  ],
  "llmsTxtUrl": "https://api.apify.com/v2/key-value-stores/…/records/llms-your-store-com.txt",
  "llmsTxt": "# Your Store\n\n> Organic spices and seasonings …"
}
```

### Pricing

Pay only for results: **$30.00 per 1,000 stores** (pay per event, no monthly fee). Apify's free plan includes monthly credits, so you can test it for free.

| Volume | Price |
|---|---|
| 10 stores | $0.30 |
| 100 stores | $3.00 |

### Use it via API, n8n, Make or as an AI tool

- **API (one call, results back):**

```bash
curl -X POST "https://api.apify.com/v2/acts/fast_data_asap~shopify-llms-txt-generator/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"shops": ["your-store.com"], "maxProducts": 50}'
```

- **n8n / Make / Zapier:** use the Apify integration (Run Actor → Get dataset items) or an HTTP request with the URL above.
- **Claude, ChatGPT, Cursor (MCP):** add `https://mcp.apify.com?tools=fast_data_asap/shopify-llms-txt-generator` as an MCP server, then just ask in plain language.
- **RapidAPI:** also available as an endpoint of the [DACH E-Commerce Data API](https://rapidapi.com/fastdataapi-fastdataapi-default/api/dach-e-commerce-data-api).

### FAQ

**Do AI assistants actually read llms.txt?**\
It is a young, voluntary standard. Several AI tools and agents look for it, and it costs nothing to offer. It also makes your catalog easy to parse for any agent.

**How do I upload it to Shopify?**\
Shopify does not allow files at the root directly; common ways are an app proxy, a redirect from /llms.txt to a hosted file, or an SEO app that supports it.

**My Shopify store already has an llms.txt?**\
Shopify now serves an automatic llms.txt on many stores. Use this Actor to compare it with a fuller version (collections, products with prices and stock, policies) or to create one for stores that have none.

**Can I check which AI crawlers my store allows?**\
Yes, use the AI Crawler & Agent Access Checker.

### Related Fast Data Actors

- [AI Crawler & Agent Access Checker](https://apify.com/fast_data_asap/ai-crawler-access-checker)
- [Shopify App Detector](https://apify.com/fast_data_asap/shopify-app-detector)
- [German Shop Compliance Checker](https://apify.com/fast_data_asap/german-shop-compliance-checker)
- [All Fast Data Actors](https://apify.com/fast_data_asap)

### 🇩🇪 Auf Deutsch: llms.txt für Shopify-Shops erstellen

Erstellt in Sekunden eine fertige llms.txt für jeden Shopify-Shop: Shop-Beschreibung, Kollektionen, Produkte mit Preis und Verfügbarkeit, Rechtstexte und Sitemap. Damit verstehen ChatGPT, Claude, Perplexity und KI-Shopping-Agenten den Shop besser – ein schneller Schritt Richtung Agentic Commerce.

*Stichworte: llms.txt erstellen, llms.txt Shopify, Shop für ChatGPT optimieren, KI Sichtbarkeit Onlineshop.*

***

Built and maintained by **Fast Data**. Questions or a missing feature? Open an issue on this page.

# Actor input Schema

## `shops` (type: `array`):

Store domains or homepages.

## `maxProducts` (type: `integer`):

Max products to include.

## `maxCollections` (type: `integer`):

Max collections to include.

## `useApifyProxy` (type: `boolean`):

Route requests through Apify Proxy (helps with blocking).

## `timeoutSecs` (type: `integer`):

Timeout per HTTP request.

## Actor input object example

```json
{
  "shops": [
    "ankerkraut.de"
  ],
  "maxProducts": 50,
  "maxCollections": 30,
  "useApifyProxy": false,
  "timeoutSecs": 20
}
```

# 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 = {
    "shops": [
        "ankerkraut.de"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fast_data_asap/shopify-llms-txt-generator").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 = { "shops": ["ankerkraut.de"] }

# Run the Actor and wait for it to finish
run = client.actor("fast_data_asap/shopify-llms-txt-generator").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 '{
  "shops": [
    "ankerkraut.de"
  ]
}' |
apify call fast_data_asap/shopify-llms-txt-generator --silent --output-dataset

```

## MCP server setup

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

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/cftLVtf2abMRlaa66/builds/SnPaDesJr55Tirfic/openapi.json
