{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Audit Tool – Site Crawler, Broken Links & Meta Checker",
    "description": "Free-to-try technical SEO audit crawler & API: checks titles, meta descriptions, H1, canonicals, noindex, hreflang, schema, Open Graph, alt text, broken links, sitemap.xml and robots.txt. Site score 0–100 + prioritized fixes. JSON/CSV export.",
    "version": "0.2",
    "x-build-id": "xYRhablG3zHcVcBap"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/batuweb~seo-audit-toolkit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-batuweb-seo-audit-toolkit",
        "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/batuweb~seo-audit-toolkit/runs": {
      "post": {
        "operationId": "runs-sync-batuweb-seo-audit-toolkit",
        "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/batuweb~seo-audit-toolkit/run-sync": {
      "post": {
        "operationId": "run-sync-batuweb-seo-audit-toolkit",
        "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": "Websites or page URLs",
            "type": "array",
            "description": "Domains (example.com) or full page URLs to audit. In sitemap mode the sitemap of each domain is discovered automatically.",
            "default": [
              "https://crawlee.dev"
            ],
            "items": {
              "type": "string"
            }
          },
          "crawlMode": {
            "title": "How to find pages",
            "enum": [
              "sitemap",
              "crawl",
              "urls"
            ],
            "type": "string",
            "description": "Where the Actor gets the list of pages to audit.",
            "default": "sitemap"
          },
          "maxPages": {
            "title": "Max pages to audit",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit of pages audited (and billed) per run.",
            "default": 10
          },
          "checkBrokenLinks": {
            "title": "Check broken internal links",
            "type": "boolean",
            "description": "Request every internal link found on audited pages (up to the limit below) and report 4xx/5xx targets.",
            "default": true
          },
          "maxLinkChecks": {
            "title": "Max internal links to check",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Caps extra requests made for broken-link checking.",
            "default": 100
          },
          "detectTechStack": {
            "title": "Detect technology stack",
            "type": "boolean",
            "description": "Detect CMS, frameworks, analytics and hosting (WordPress, Shopify, Next.js, Astro, GA, Cloudflare…).",
            "default": true
          },
          "pageSpeedApiKey": {
            "title": "Google PageSpeed Insights API key (optional)",
            "type": "string",
            "description": "If provided, the mobile Lighthouse performance score and lab metrics (LCP, CLS, TBT) are fetched for the first pages. Free key: Google Cloud console → PageSpeed Insights API."
          },
          "pageSpeedMaxPages": {
            "title": "PageSpeed: number of pages",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many audited pages get a PageSpeed test (each takes ~10–30 s).",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Parallel requests. Lower it for small or fragile servers.",
            "default": 10
          },
          "ignoreRobotsTxt": {
            "title": "Ignore robots.txt (site owners only)",
            "type": "boolean",
            "description": "By default the auditor respects robots.txt and skips disallowed URLs (they are listed in the summary). Turn this on ONLY for a site you own or are authorised to audit, e.g. to check a staging site that blocks all crawlers.",
            "default": false
          },
          "checkAccessibility": {
            "title": "Check accessibility (WCAG 2.x scan)",
            "type": "boolean",
            "description": "Also run an automated accessibility scan (axe-core rules for WCAG 2.0 A/AA, 2.1 A/AA and 2.2 AA; axe-core has no automated rules for the new WCAG 2.2 Level A criteria) on audited pages in a headless browser. Results are added to each page record as 'accessibility' and summarised in the summary record and the ACCESSIBILITY_REPORT key-value record. Automated testing finds only part of all barriers; items that need manual review are listed separately. Not a compliance certification or legal advice. Use 1024 MB memory or more when this is on.",
            "default": false
          },
          "accessibilityMaxPages": {
            "title": "Accessibility: max pages to scan",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many of the audited pages get the browser scan (one page at a time, at least 1 s between pages on the same host, robots.txt Crawl-delay honoured up to 10 s).",
            "default": 10
          },
          "accessibilityStandard": {
            "title": "Accessibility: rule set",
            "enum": [
              "wcag22aa",
              "wcag21aa",
              "wcag2aa",
              "wcag2a"
            ],
            "type": "string",
            "description": "Which automated WCAG success-criteria rules to run.",
            "default": "wcag22aa"
          },
          "accessibilityIncludeHtmlSnippets": {
            "title": "Accessibility: include element HTML snippets",
            "type": "boolean",
            "description": "Include a short HTML snippet (max 250 characters) of each affected element. Turn off to keep page content (which may contain personal data) out of the results; the CSS selector of the element is still reported.",
            "default": true
          },
          "accessibilityLanguage": {
            "title": "Accessibility: report language",
            "enum": [
              "en",
              "de"
            ],
            "type": "string",
            "description": "Language of rule texts and of the ACCESSIBILITY_REPORT. The disclaimer is always included in English and German.",
            "default": "en"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}