{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Audit & Broken Link Checker: Bulk Website Crawler",
    "description": "Crawl any website (sitemap + links), audit every page for 25 technical SEO issues (titles, meta descriptions, H1, canonical, noindex, alt text, speed, mixed content, structured data) and find broken links. 0-100 score per page, site summary and HTML report. $3 per 1,000 pages.",
    "version": "1.0",
    "x-build-id": "VfhJKrd9F2gvBEcaD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/berryish_pillar~seo-site-audit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-berryish_pillar-seo-site-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/berryish_pillar~seo-site-audit/runs": {
      "post": {
        "operationId": "runs-sync-berryish_pillar-seo-site-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/berryish_pillar~seo-site-audit/run-sync": {
      "post": {
        "operationId": "run-sync-berryish_pillar-seo-site-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": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Websites to audit",
            "type": "array",
            "description": "Homepage or any start URL per site. A bare domain (example.com) is fetched over HTTPS. The crawl stays on the same domain (www and non-www count as the same site).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxPagesPerSite": {
            "title": "Max pages per site",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "How many HTML pages to audit per site. You pay per audited page.",
            "default": 100
          },
          "maxPagesTotal": {
            "title": "Max pages in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many pages across all sites. 0 = no limit.",
            "default": 0
          },
          "useSitemaps": {
            "title": "Use sitemaps",
            "type": "boolean",
            "description": "Read sitemaps listed in robots.txt (or /sitemap.xml), including sitemap indexes and .gz files, to find pages.",
            "default": true
          },
          "followLinks": {
            "title": "Follow internal links",
            "type": "boolean",
            "description": "Discover pages by following links on the same site.",
            "default": true
          },
          "maxDepth": {
            "title": "Max link depth",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many clicks away from the start URL to follow links.",
            "default": 10
          },
          "excludeUrlPatterns": {
            "title": "Exclude URLs matching (regex)",
            "type": "array",
            "description": "Optional regular expressions. Matching URLs are not crawled, e.g. /tag/ or \\?page=",
            "items": {
              "type": "string"
            }
          },
          "checkBrokenLinks": {
            "title": "Check internal broken links",
            "type": "boolean",
            "description": "Check the status of internal link targets that weren't crawled, so broken links are reported on the page that contains them.",
            "default": true
          },
          "checkExternalLinks": {
            "title": "Also check external links",
            "type": "boolean",
            "description": "Check outgoing links to other domains too (HEAD request, robots.txt respected).",
            "default": false
          },
          "maxLinkChecksPerSite": {
            "title": "Max link checks per site",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Cap on extra status checks for link targets per site (most-linked first). Not charged.",
            "default": 300
          },
          "onlyPagesWithIssues": {
            "title": "Only output pages with issues",
            "type": "boolean",
            "description": "Skip pages with a perfect score (you are not charged for skipped pages).",
            "default": false
          },
          "includeLinkLists": {
            "title": "Include each page's link lists",
            "type": "boolean",
            "description": "Add internalLinks and externalLinks arrays (up to 500 each) to every row. Bigger output.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel requests per site",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel requests per site.",
            "default": 4
          },
          "maxConcurrentSites": {
            "title": "Sites in parallel",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Sites in parallel.",
            "default": 2
          },
          "maxRequestsPerSecondPerHost": {
            "title": "Max requests per second per host",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "Politeness cap. A stricter robots.txt Crawl-delay wins.",
            "default": 2
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip URLs that robots.txt disallows. Leave on unless you are auditing your own site.",
            "default": true
          },
          "siteTimeoutSecs": {
            "title": "Timeout per site (seconds)",
            "minimum": 60,
            "type": "integer",
            "description": "Timeout per site (seconds).",
            "default": 1800
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "Max retries per request.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}