{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Crawler & llms.txt Checker: GPTBot, ClaudeBot",
    "description": "Check which AI crawlers a website allows: GPTBot, OAI-SearchBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot and 19 more, per robots.txt rules. Plus llms.txt validation, content signals, noai tags and CDN. Bulk sites, monitor mode.",
    "version": "1.0",
    "x-build-id": "vnTEWRtJ06tRBd5hx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hydrocore~ai-crawler-llms-txt-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hydrocore-ai-crawler-llms-txt-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/hydrocore~ai-crawler-llms-txt-checker/runs": {
      "post": {
        "operationId": "runs-sync-hydrocore-ai-crawler-llms-txt-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/hydrocore~ai-crawler-llms-txt-checker/run-sync": {
      "post": {
        "operationId": "run-sync-hydrocore-ai-crawler-llms-txt-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sites": {
            "title": "Websites",
            "type": "array",
            "description": "Domains or URLs to check (nytimes.com, https://www.example.com/page). Only the host is used; robots.txt, llms.txt and the homepage are read from its root.",
            "default": [
              "nytimes.com",
              "stripe.com",
              "anthropic.com",
              "apify.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "bots": {
            "title": "AI crawlers to check",
            "type": "array",
            "description": "Leave empty to check all 25 AI crawlers (OpenAI, Anthropic, Google-Extended, Apple, Perplexity, Meta, Amazon, Common Crawl, ByteDance, Cohere, Mistral and more). The 9 key-bot columns are always filled.",
            "items": {
              "type": "string",
              "enum": [
                "GPTBot",
                "OAI-SearchBot",
                "ChatGPT-User",
                "ClaudeBot",
                "Claude-SearchBot",
                "Claude-User",
                "anthropic-ai",
                "Google-Extended",
                "Applebot-Extended",
                "PerplexityBot",
                "Perplexity-User",
                "Meta-ExternalAgent",
                "Meta-ExternalFetcher",
                "FacebookBot",
                "Amazonbot",
                "CCBot",
                "Bytespider",
                "cohere-ai",
                "cohere-training-data-crawler",
                "MistralAI-User",
                "DuckAssistBot",
                "YouBot",
                "Diffbot",
                "AI2Bot",
                "Timpibot"
              ]
            }
          },
          "checkLlmsTxt": {
            "title": "Check llms.txt, llms-full.txt and ai.txt",
            "type": "boolean",
            "description": "Read /llms.txt (title, sections, links, format check), /llms-full.txt and /ai.txt.",
            "default": true
          },
          "checkHomepage": {
            "title": "Check homepage directives and CDN",
            "type": "boolean",
            "description": "Read the homepage for meta robots / X-Robots-Tag noai directives and the CDN (Cloudflare, Fastly, Akamai...).",
            "default": true
          },
          "filter": {
            "title": "Only sites that...",
            "enum": [
              "all",
              "blocksAny",
              "allowsAll",
              "hasLlmsTxt",
              "missingLlmsTxt"
            ],
            "type": "string",
            "description": "Keep only matching sites. Others are free.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "input",
              "mostBlocked",
              "leastBlocked",
              "domain"
            ],
            "type": "string",
            "description": "Order of the saved rows. Sorting happens before Max results.",
            "default": "input"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Most sites to save (default 100).",
            "default": 100
          },
          "onlyChanges": {
            "title": "Only changes since last run (monitor)",
            "type": "boolean",
            "description": "Remember each site's AI access, llms.txt and signals between runs and save only sites that changed. The first run saves everything.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name of the memory used by monitor mode. Use different names for different site lists. Default: default. Example: daily-watch-1."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}