{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Audit + AI Crawler Check: SEO, GEO & AEO Score",
    "description": "SEO audit and AI crawler checker in one run. See what GPTBot, ClaudeBot and PerplexityBot really receive, check robots.txt and llms.txt, validate schema, hreflang and broken links, and get 0-100 SEO, GEO and AEO scores per page with a fix list and HTML report. No API keys.",
    "version": "1.0",
    "x-build-id": "SaoJqlXLljX3kzRPC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fayoussef~seo-geo-aeo-audit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fayoussef-seo-geo-aeo-audit",
        "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/fayoussef~seo-geo-aeo-audit/runs": {
      "post": {
        "operationId": "runs-sync-fayoussef-seo-geo-aeo-audit",
        "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/fayoussef~seo-geo-aeo-audit/run-sync": {
      "post": {
        "operationId": "run-sync-fayoussef-seo-geo-aeo-audit",
        "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",
        "required": [
          "websiteUrl"
        ],
        "properties": {
          "websiteUrl": {
            "title": "🌐 Website URL",
            "pattern": "^(https?://)?[\\w.-]+\\.[a-zA-Z]{2,}.*$",
            "type": "string",
            "description": "The website you want to audit: just paste the homepage URL. The Actor discovers and audits the most important pages automatically."
          },
          "maxPages": {
            "title": "📄 Pages to audit",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of pages to audit (homepage + automatically discovered key pages). Free plan is capped at 5 pages; paid plans can audit up to 200.",
            "default": 10
          },
          "startUrls": {
            "title": "📌 Specific pages to audit (optional)",
            "type": "array",
            "description": "Pages on the same website you want audited for sure, for example a pricing page or a key blog post. They are audited right after the homepage. Pages on another website are skipped: run one audit per website.",
            "items": {
              "type": "string"
            }
          },
          "crawlSite": {
            "title": "Find more pages automatically",
            "type": "boolean",
            "description": "On: after the homepage and your pages above, the audit finds more pages from the site's links and sitemap, up to the page limit. Off: only the homepage and the pages you listed are audited.",
            "default": true
          },
          "excludeUrlPatterns": {
            "title": "Skip pages containing",
            "type": "array",
            "description": "Pages whose URL contains any of these are not audited, for example /tag/ or /author/. Wrap a pattern in slashes to use a regular expression, for example /\\/page\\/\\d+/. The homepage is always audited.",
            "items": {
              "type": "string"
            }
          },
          "testAiCrawlers": {
            "title": "Test what AI crawlers actually receive",
            "type": "boolean",
            "description": "Requests the homepage as GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot, Googlebot and Bingbot, and compares each answer with a normal browser. This catches CDN or firewall rules that block AI bots even when robots.txt allows them. Adds 7 small requests per run.",
            "default": true
          },
          "checkLinks": {
            "title": "Check for broken links",
            "type": "boolean",
            "description": "Checks the first 10 links on each audited page (each link once per run) and reports the ones that return 404, 410 or a server error, plus how many redirect.",
            "default": true
          },
          "includeHtmlReport": {
            "title": "Generate shareable HTML report",
            "type": "boolean",
            "description": "Stores a polished, self-contained HTML audit report in the key-value store (key: REPORT).",
            "default": true
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "How many pages are fetched in parallel. Lower this if the target site rate-limits.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Force a proxy from the very first request. Leave empty to start with a direct connection and let the automatic fallback below take over if the site refuses it.",
            "default": {}
          },
          "autoProxyFallback": {
            "title": "Retry through residential proxy and Unblocker",
            "type": "boolean",
            "description": "When the site refuses the first connection, retry automatically through Apify Proxy residential, and if that is refused too, through Apify Unblocker. That proxy traffic is billed by Apify on your own account. A domain that does not exist is detected first and never retried. Turn this off to stop after the first attempt.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}