{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO, GEO & AEO Website Audit Crawler with 0-100 Scores",
    "description": "Comprehensive multi-page website audit crawler analyzing Traditional Technical SEO, Generative Engine Optimization (GEO), Answer Engine Optimization (AEO), and AI Search Readiness (llms.txt).",
    "version": "1.0",
    "x-build-id": "okd3JOvIGCcdmould"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/abi4~seo-geo-aeo-audit-tool/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-abi4-seo-geo-aeo-audit-tool",
        "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/abi4~seo-geo-aeo-audit-tool/runs": {
      "post": {
        "operationId": "runs-sync-abi4-seo-geo-aeo-audit-tool",
        "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/abi4~seo-geo-aeo-audit-tool/run-sync": {
      "post": {
        "operationId": "run-sync-abi4-seo-geo-aeo-audit-tool",
        "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": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "One or more website URLs to audit. Accepts website homepages or specific landing pages.",
            "default": [
              {
                "url": "https://apify.com"
              }
            ],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "crawlPages": {
            "title": "Crawl Internal Pages",
            "type": "boolean",
            "description": "Whether to recursively discover and audit internal links starting from the seed URLs.",
            "default": true
          },
          "maxPages": {
            "title": "Max Pages to Audit",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of pages to crawl and audit (1-1000). Direct cost and time control lever.",
            "default": 10
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum parallel request workers (1-20).",
            "default": 5
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Whether to respect crawler exclusion rules in the target domain's robots.txt file.",
            "default": true
          },
          "includeSubdomains": {
            "title": "Include Subdomains",
            "type": "boolean",
            "description": "Whether to crawl across subdomains of the primary seed domain.",
            "default": false
          },
          "excludeUrlPatterns": {
            "title": "Exclude URL Patterns",
            "type": "array",
            "description": "List of regex patterns (e.g. /\\.(pdf|zip)$/) or substrings to skip during crawl.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Optional Apify Proxy configuration to bypass anti-scraping and rate-limiting defenses.",
            "default": {
              "useApifyProxy": false
            }
          },
          "auditMetaTags": {
            "title": "Audit: Meta Tags & Social Graph",
            "type": "boolean",
            "description": "Analyze Title, Description, Open Graph, Twitter Cards, canonical tags, and SERP pixel widths.",
            "default": true
          },
          "auditHeadings": {
            "title": "Audit: Headings Structure",
            "type": "boolean",
            "description": "Verify H1-H6 hierarchy, single H1 tag, skipped heading levels, and H1-Title topic consistency.",
            "default": true
          },
          "auditContent": {
            "title": "Audit: Content Quality & Readability",
            "type": "boolean",
            "description": "Evaluate word count, paragraph counts, sentence length, and Flesch Reading Ease readability index.",
            "default": true
          },
          "auditTechnical": {
            "title": "Audit: Technical & Indexability",
            "type": "boolean",
            "description": "Check canonicals, viewport, robots directives, charset, and SSL certificates.",
            "default": true
          },
          "auditPerformance": {
            "title": "Audit: Performance Proxies",
            "type": "boolean",
            "description": "Measure HTML payload size, script counts, and stylesheet overhead.",
            "default": true
          },
          "auditSchema": {
            "title": "Audit: Schema.org JSON-LD",
            "type": "boolean",
            "description": "Extract and validate JSON-LD structured data, @graph entities, and high-impact search schemas.",
            "default": true
          },
          "auditLinks": {
            "title": "Audit: Links & Anchor Quality",
            "type": "boolean",
            "description": "Analyze internal/external links, empty anchors, and generic anchor text ('click here').",
            "default": true
          },
          "auditImages": {
            "title": "Audit: Image Optimization",
            "type": "boolean",
            "description": "Verify image alt tags and image presence across all crawled pages.",
            "default": true
          },
          "auditAccessibility": {
            "title": "Audit: WCAG Accessibility",
            "type": "boolean",
            "description": "Audit form input labels, button text, HTML lang attributes, and semantic landmarks.",
            "default": true
          },
          "auditAiReadability": {
            "title": "Audit: AI Readability & llms.txt",
            "type": "boolean",
            "description": "Inspect /llms.txt, /llms-full.txt, text-to-HTML ratio, markdown alternate links, and semantic containers.",
            "default": true
          },
          "auditAnswerReadiness": {
            "title": "Audit: Answer Engine Readiness (AEO)",
            "type": "boolean",
            "description": "Evaluate question headings, BLUF answer definitions, step lists, and FAQ/HowTo schema.",
            "default": true
          },
          "auditAiBotAccess": {
            "title": "Audit: AI Search Bot Permissions",
            "type": "boolean",
            "description": "Inspect robots.txt directives for AI search crawlers (OAI-SearchBot, PerplexityBot, ClaudeBot, GPTBot).",
            "default": true
          },
          "generatePdfReport": {
            "title": "Generate Executive PDF Report",
            "type": "boolean",
            "description": "Synthesize a client-ready executive PDF report (REPORT.pdf) and save to Key-Value Store.",
            "default": false
          },
          "exportRemediationChecklist": {
            "title": "Export Remediation Checklist",
            "type": "boolean",
            "description": "Generate role-categorized task checklists (Developer, Content, SEO) in CSV, Markdown, and JSON formats.",
            "default": true
          },
          "auditCoreWebVitals": {
            "title": "Audit: Core Web Vitals",
            "type": "boolean",
            "description": "Benchmark LCP, CLS, INP, and TTFB via Google PageSpeed Insights API with synthetic fallbacks.",
            "default": false
          },
          "googlePsiApiKey": {
            "title": "Google PSI API Key",
            "type": "string",
            "description": "Optional Google PageSpeed Insights API key for high-volume performance audits.",
            "default": ""
          },
          "webhookUrl": {
            "title": "Webhook Alert URL",
            "type": "string",
            "description": "Optional Slack, Discord, or Zapier webhook endpoint for instant audit completion and degradation alerts.",
            "default": ""
          },
          "minScoreAlertThreshold": {
            "title": "Min Score Alert Threshold",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Trigger webhook alerts if the overall site audit score is below this threshold (0-100).",
            "default": 60
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}