{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Site Audit Crawler: Technical SEO & Broken Link Checker",
    "description": "Technical SEO website audit: crawls any site like a search engine and returns one row per URL with status, redirects, indexability, canonical, title and meta checks, duplicates, hreflang, JSON-LD, orphan pages and broken links. Each issue gets a priority and fix hint. $4 per 1,000 pages.",
    "version": "0.1",
    "x-build-id": "rzS7bSeJhm3aRxd9c"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actorfactory~seo-site-audit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actorfactory-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/actorfactory~seo-site-audit/runs": {
      "post": {
        "operationId": "runs-sync-actorfactory-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/actorfactory~seo-site-audit/run-sync": {
      "post": {
        "operationId": "run-sync-actorfactory-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": "Start URLs",
            "type": "array",
            "description": "Websites to audit (each start URL is crawled as its own site), or the exact URLs to audit when \"Crawl links\" is off. Example: https://example.com/",
            "items": {
              "type": "string"
            }
          },
          "crawlLinks": {
            "title": "Crawl links",
            "type": "boolean",
            "description": "Follow internal links to crawl the whole site. Turn off to audit only the listed URLs (no sitemap, inlinks or depth).",
            "default": true
          },
          "maxPagesPerSite": {
            "title": "Max pages per site",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Most URLs to audit per site, including redirects and error pages. This is your cost control: each audited URL is one \"page\" event ($0.004).",
            "default": 500
          },
          "maxDepth": {
            "title": "Max depth",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Most clicks from the start URL. 0 = no limit.",
            "default": 0
          },
          "useSitemaps": {
            "title": "Use sitemaps",
            "type": "boolean",
            "description": "Read the sitemaps listed in robots.txt (or /sitemap.xml): fills in_sitemap, finds orphan pages, and audits URLs listed only in the sitemap after the link-discovered ones.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip URLs that robots.txt disallows for ApifySEOAudit or *. Turn off only for sites you own.",
            "default": true
          },
          "includeSubdomains": {
            "title": "Include subdomains",
            "type": "boolean",
            "description": "Treat subdomains such as blog.example.com as internal. www and the bare domain always count as the same site.",
            "default": false
          },
          "includeUrlPatterns": {
            "title": "Include URL patterns",
            "type": "array",
            "description": "Crawl only URLs that contain one of these texts, or match a regex wrapped in slashes, e.g. /blog/ or /\\/products\\/\\d+/. The start URL is always audited.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeUrlPatterns": {
            "title": "Exclude URL patterns",
            "type": "array",
            "description": "Never crawl URLs that contain one of these texts or match a /regex/, e.g. /tag/ or /\\?page=\\d+/",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "ignoreQueryStrings": {
            "title": "Ignore query strings",
            "type": "boolean",
            "description": "Drop ?query parameters from discovered links (stops faceted-navigation explosions).",
            "default": false
          },
          "checkExternalLinks": {
            "title": "Check external links",
            "type": "boolean",
            "description": "Check outbound links for 404/410/5xx/DNS errors (HEAD, then GET).",
            "default": true
          },
          "maxExternalLinksToCheck": {
            "title": "Max external links to check",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap on unique external URLs checked per site. External checks are not charged.",
            "default": 500
          },
          "checkResources": {
            "title": "Check images, scripts and stylesheets",
            "type": "boolean",
            "description": "Also check every image, script and stylesheet the audited pages load and report broken ones (404/410/5xx/DNS). Same-site files obey robots.txt. Not charged, but adds requests and time.",
            "default": false
          },
          "maxResourcesToCheck": {
            "title": "Max resources to check",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap on unique image/script/stylesheet URLs checked per site. Resource checks are not charged.",
            "default": 500
          },
          "compareWithPreviousRun": {
            "title": "Compare with previous run",
            "type": "boolean",
            "description": "Compare with the last run for the same start URL(s) and fill change_type / changed_fields. Removed URLs appear in the OUTPUT summary. Useful on schedules.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel requests per site. robots.txt Crawl-delay, when present, forces 1.",
            "default": 5
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Per-request timeout.",
            "default": 20
          },
          "userAgent": {
            "title": "User-Agent",
            "type": "string",
            "description": "Custom User-Agent, e.g. one your firewall allows. Empty = the built-in identifying ApifySEOAudit User-Agent.",
            "default": ""
          },
          "titleMinLength": {
            "title": "Title min length",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Titles shorter than this get title_too_short (Google sets no hard limit).",
            "default": 30
          },
          "titleMaxLength": {
            "title": "Title max length",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Titles longer than this get title_too_long.",
            "default": 60
          },
          "descriptionMinLength": {
            "title": "Meta description min length",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Shorter descriptions get meta_description_too_short.",
            "default": 70
          },
          "descriptionMaxLength": {
            "title": "Meta description max length",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Longer descriptions get meta_description_too_long.",
            "default": 160
          },
          "thinContentWords": {
            "title": "Thin content (words)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Indexable pages with fewer words get thin_content.",
            "default": 200
          },
          "slowResponseMs": {
            "title": "Slow response (ms)",
            "minimum": 100,
            "maximum": 60000,
            "type": "integer",
            "description": "Responses slower than this get slow_response.",
            "default": 2000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}