{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Audit Crawler: Broken Links, Duplicates & Site Health",
    "description": "Crawl a site for SEO issues: broken links, redirects, duplicate titles, missing meta and on-page health. A Screaming Frog-style site audit. $0.008/URL audited and $0.0002/extra link checked, with lower prices on higher Apify plans. Default cap 50 pages/site.",
    "version": "1.0",
    "x-build-id": "IEhAwMimjckIBiW7H"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyutil~seo-audit-crawler/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyutil-seo-audit-crawler",
        "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/steadyutil~seo-audit-crawler/runs": {
      "post": {
        "operationId": "runs-sync-steadyutil-seo-audit-crawler",
        "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/steadyutil~seo-audit-crawler/run-sync": {
      "post": {
        "operationId": "run-sync-steadyutil-seo-audit-crawler",
        "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": "Homepages (or any start pages) of the sites to audit, as {url: 'https://example.com'}. Each host is crawled separately and gets its own score and HTML report. Several start URLs on the same host are combined into one crawl. Each crawled URL costs $0.002; extra link checks cost $0.0002 each.",
            "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": 20000,
            "type": "integer",
            "description": "Maximum URLs crawled and audited per site (pages, redirects and error pages). Default 50 so a first agent call stays cheap; raise this for a full-site audit (up to 20000). Extra link checks of uncrawled URLs are limited by maxLinkChecksPerSite.",
            "default": 50
          },
          "maxDepth": {
            "title": "Max click depth",
            "minimum": 0,
            "type": "integer",
            "description": "How many clicks from the start page to follow. Omit for no depth limit. URLs found only in the sitemap are crawled regardless of depth."
          },
          "useSitemaps": {
            "title": "Read XML sitemaps",
            "type": "boolean",
            "description": "Find sitemaps in robots.txt (or /sitemap.xml) and cross-check them: non-200, redirected, noindex and canonicalized URLs in the sitemap, orphan pages and pages missing from the sitemap.",
            "default": true
          },
          "crawlSitemapUrls": {
            "title": "Also crawl URLs found only in sitemaps",
            "type": "boolean",
            "description": "After the link crawl, also audit sitemap URLs that no internal link points to (needed to find orphan pages).",
            "default": true
          },
          "maxSitemapUrls": {
            "title": "Max sitemap URLs to read",
            "minimum": 0,
            "type": "integer",
            "description": "Upper limit on URLs read from XML sitemaps per site (not a charge). Default 50000. Lower it if you only need a sample.",
            "default": 50000
          },
          "includeUrlPatterns": {
            "title": "Only crawl URLs matching",
            "type": "array",
            "description": "Optional. Only crawl URLs matching these glob patterns ('/blog/**', 'https://example.com/docs/*') or /regular expressions/. Start URLs are always crawled.",
            "items": {
              "type": "string"
            }
          },
          "excludeUrlPatterns": {
            "title": "Skip URLs matching",
            "type": "array",
            "description": "Optional. Glob patterns or /regular expressions/ for URLs not to crawl, e.g. /tag/**, /search*, /\\?.*sort=/.",
            "items": {
              "type": "string"
            }
          },
          "includeSubdomains": {
            "title": "Include subdomains",
            "type": "boolean",
            "description": "If true, treat subdomains (blog.example.com, shop.example.com) as part of the site. www and non-www are always the same site. Default false.",
            "default": false
          },
          "stayInStartPath": {
            "title": "Stay inside the start URL's folder",
            "type": "boolean",
            "description": "If true, only crawl URLs under the start URL's path, e.g. https://example.com/blog/ audits just the blog. Default false.",
            "default": false
          },
          "ignoreQueryParameters": {
            "title": "Ignore URL query parameters",
            "type": "boolean",
            "description": "Treat /page?sort=price and /page as the same URL. Useful for shops and faceted navigation. Tracking parameters (utm_*, gclid, fbclid...) are always removed.",
            "default": false
          },
          "respectNofollow": {
            "title": "Don't follow nofollow links",
            "type": "boolean",
            "description": "Skip links marked rel=nofollow (and all links on pages with a nofollow robots meta), like search engines do.",
            "default": false
          },
          "checkInternalLinks": {
            "title": "Check internal links that weren't crawled",
            "type": "boolean",
            "description": "When the page limit, depth or filters stop the crawl, still check the status of the remaining internal links so broken ones are reported.",
            "default": true
          },
          "checkExternalLinks": {
            "title": "Check external links",
            "type": "boolean",
            "description": "If true (default), check every unique outbound link for 4xx/5xx errors and dead domains. Links behind bot protection (403/429/999) are not reported as broken. Each unique check costs $0.0002.",
            "default": true
          },
          "checkResources": {
            "title": "Check images, scripts and stylesheets",
            "type": "boolean",
            "description": "If true (default), check images, scripts, stylesheets and iframes used on the pages for errors. Counts toward maxLinkChecksPerSite.",
            "default": true
          },
          "maxLinkChecksPerSite": {
            "title": "Max link checks per site",
            "minimum": 0,
            "type": "integer",
            "description": "Upper limit on extra URL checks per site (canonical/hreflang targets first, then internal links, resources, external links). Each unique URL is checked once and costs $0.0002. Default 200.",
            "default": 200
          },
          "siteChecks": {
            "title": "Site-wide checks",
            "type": "boolean",
            "description": "Check soft 404s (random URL returning 200), http to https redirect, www/non-www consistency, HSTS and compression.",
            "default": true
          },
          "pageOutput": {
            "title": "Page rows in the dataset",
            "enum": [
              "all",
              "issuesOnly",
              "none"
            ],
            "type": "string",
            "description": "Which page rows to save in the dataset. Allowed: all (default), issuesOnly (pages with errors/warnings only), none (site summaries and broken-link rows only). The HTML report always covers all crawled pages.",
            "default": "all"
          },
          "outputBrokenLinks": {
            "title": "Save broken links as rows",
            "type": "boolean",
            "description": "Save one row per broken URL with the pages linking to it.",
            "default": true
          },
          "htmlReport": {
            "title": "Create HTML report",
            "type": "boolean",
            "description": "If true (default), save a shareable HTML report per site to the key-value store (REPORT-<domain>.html). The link is in the site-summary row (reportUrl).",
            "default": true
          },
          "slowResponseMs": {
            "title": "Slow page threshold (ms)",
            "minimum": 100,
            "type": "integer",
            "description": "Pages whose HTML takes longer than this many milliseconds to download are flagged as slow. Default 1500.",
            "default": 1500
          },
          "thinContentWords": {
            "title": "Thin content threshold (words)",
            "minimum": 0,
            "type": "integer",
            "description": "Pages with fewer than this many words of body text (excluding nav, header and footer) are flagged as thin content. Default 200.",
            "default": 200
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Don't crawl URLs disallowed by robots.txt, and honor Crawl-delay (concurrency drops to 1). Disallowed URLs that appear in the sitemap are reported. Turn off only for your own site.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Parallel requests per site",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many pages of one site are fetched at the same time. Default 5. Keep it low for small servers.",
            "default": 5
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout in seconds for each HTTP request. Default 30.",
            "default": 30
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries for network errors and 429/5xx responses.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Most sites work without a proxy. Residential proxy traffic is charged per MB.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}