{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Audit Tool & Broken Link Checker: Website Crawler",
    "description": "SEO audit tool and broken link checker: crawl a website and get a 0-100 SEO score per page with issues and fix hints: titles, meta, Open Graph, schema, headings, broken links and images, Core Web Vitals hints, robots/sitemap. No browser. CSV export. $1.50/1k pages.",
    "version": "1.0",
    "x-build-id": "VOkhnulaucSKeN9Sm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/atesen-software~website-seo-audit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-atesen-software-website-seo-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/atesen-software~website-seo-audit/runs": {
      "post": {
        "operationId": "runs-sync-atesen-software-website-seo-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/atesen-software~website-seo-audit/run-sync": {
      "post": {
        "operationId": "run-sync-atesen-software-website-seo-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",
        "properties": {
          "startUrls": {
            "title": "Websites to audit",
            "type": "array",
            "description": "Domains or URLs, one per line, e.g. \"example.com\" or \"https://www.example.com/blog\". Each site is crawled from its start URL. Start URLs on the same site share one crawl.",
            "items": {
              "type": "string"
            }
          },
          "maxPagesPerSite": {
            "title": "Max pages per site",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many HTML pages to audit per site (start URL included). This is your cost control: you pay per audited page. 10 for a quick check, 50-500 for a full audit.",
            "default": 25
          },
          "crawl": {
            "title": "Crawl the site",
            "type": "boolean",
            "description": "Follow internal links from the start URL. Off = audit only the start URLs (good for a list of landing pages).",
            "default": true
          },
          "maxDepth": {
            "title": "Max link depth",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many clicks away from the start URL to go.",
            "default": 10
          },
          "checkLinks": {
            "title": "Check links (broken links)",
            "type": "boolean",
            "description": "Verify the HTTP status of every link found (HEAD, then GET when HEAD is refused). Links blocked by bot protection (401/403/429) are reported as unverified, never as broken.",
            "default": true
          },
          "checkExternalLinks": {
            "title": "Also check external links",
            "type": "boolean",
            "description": "Check links to other websites too (outbound broken links).",
            "default": true
          },
          "maxLinkChecksPerSite": {
            "title": "Max link checks per site",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Upper limit of unique links checked per site (internal ones first). Pages audited during the crawl are known already and are not counted.",
            "default": 500
          },
          "checkImages": {
            "title": "Check images",
            "type": "boolean",
            "description": "Check image status and file size (broken images, images over 200 KB).",
            "default": true
          },
          "maxImageChecksPerSite": {
            "title": "Max image checks per site",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit of unique images checked per site.",
            "default": 200
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip pages that robots.txt disallows.",
            "default": true
          },
          "includeSubdomains": {
            "title": "Include subdomains",
            "type": "boolean",
            "description": "Also crawl subdomains (blog.example.com when starting from example.com).",
            "default": false
          },
          "excludeUrlPatterns": {
            "title": "Exclude URLs containing",
            "type": "array",
            "description": "Skip URLs containing any of these texts (e.g. \"/tag/\", \"?sort=\"). Wrap in slashes for a regular expression: /\\/page\\/\\d+/",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeUrlPatterns": {
            "title": "Only crawl URLs containing",
            "type": "array",
            "description": "Optional. Only follow links containing one of these texts (e.g. \"/blog/\"). Start URLs are always audited.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "ignoreQueryParameters": {
            "title": "Ignore URL query parameters",
            "type": "boolean",
            "description": "Treat example.com/a?x=1 and example.com/a as the same page. Useful for shops with filter and sort parameters.",
            "default": false
          },
          "outputIssueRows": {
            "title": "One dataset row per issue",
            "type": "boolean",
            "description": "Also write every issue as its own free row (type \"issue\"), handy for spreadsheets and pivot tables. The full list is always in ISSUES.csv in the key-value store.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel requests per site",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Pages loaded at the same time per site. Lower it for small or slow sites.",
            "default": 4
          },
          "auditMode": {
            "title": "Audit mode",
            "enum": [
              "seo",
              "pricing"
            ],
            "type": "string",
            "description": "seo preserves the existing crawler. pricing audits explicit public HTML pages, price evidence and bounded safe CTA links; no browser or checkout actions.",
            "default": "seo"
          },
          "maxPricingPages": {
            "title": "Pricing: maximum pages",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Audit explicit start URLs only; no page discovery. Combined per-run page cap.",
            "default": 2
          },
          "maxPricingLinks": {
            "title": "Pricing: link probes per page",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum safe public CTA links probed with HEAD per page. Auth, payment, query-bearing and action links are skipped.",
            "default": 1
          },
          "pricingRunSeconds": {
            "title": "Pricing: run time cap",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Shared wall-time deadline for pages, DNS, robots and link probes. Partial/unknown evidence is explicit.",
            "default": 30
          },
          "pricingRequestSeconds": {
            "title": "Pricing: request timeout",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "DNS and individual network request timeout, bounded further by the run deadline. No automatic retries.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}