{
  "openapi": "3.0.1",
  "info": {
    "title": "Website SEO Audit: On-Page Crawler & Broken Link Checker",
    "description": "Website SEO audit: crawl a whole site from its home page, robots.txt and sitemaps and audit every page (title, meta description, H1, canonical, noindex, hreflang, schema, alt text), plus broken links, redirect chains, duplicates, orphan pages and local SEO. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "QUcqRYbYlIPZAcWUA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~website-seo-audit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-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/steadyscrape~website-seo-audit/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-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/steadyscrape~website-seo-audit/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-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",
        "required": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Websites to audit",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "One per line: a domain (<code>example.com</code>) or the page to start from (<code>https://example.com/blog/</code>). Each site is crawled from there through its internal links and its sitemaps, and gets its own site report. Up to 100 per run.",
            "items": {
              "type": "string"
            }
          },
          "maxPagesPerSite": {
            "title": "Most pages per site",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "The crawl of a site stops after this many URLs (pages, redirects, broken URLs). Each HTML page audited is one charged <code>page</code> event.",
            "default": 100
          },
          "maxDepth": {
            "title": "Most clicks from the start page",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Links are followed this many clicks deep from the start page (0 audits the start page only). Pages listed in the sitemap are audited too once the linked pages are done.",
            "default": 10
          },
          "checkExternalLinks": {
            "title": "Check external links",
            "type": "boolean",
            "description": "Check every link to another website for a broken status (404, 410, 5xx, a domain that no longer exists). Each link target checked is one <code>link-check</code> event. Links to social networks and Google Maps are listed but never checked: they refuse crawlers.",
            "default": true
          },
          "checkImages": {
            "title": "Check images",
            "type": "boolean",
            "description": "Also check every image the pages show (<code>img src</code>), on this site and on others, for a broken status.",
            "default": false
          },
          "maxLinkChecksPerSite": {
            "title": "Most link checks per site",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Link targets outside the crawl checked per site: links to other websites, and images when asked; the ones linked from most pages first. A URL of the site itself that redirects or is broken is found by the crawl, within the pages limit, and charged as a <code>link-check</code> instead of a <code>page</code>.",
            "default": 500
          },
          "useSitemaps": {
            "title": "Use the sitemaps",
            "type": "boolean",
            "description": "Read the sitemaps robots.txt names (else <code>/sitemap.xml</code>): their pages are audited after the linked ones, and the report lists sitemap URLs no crawled page links to (orphan pages), plus noindex, redirecting or broken URLs in the sitemap.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Never request a URL the site's robots.txt disallows (it gets a free <code>robotsDisallowed</code> row). Turn off only for a site you own.",
            "default": true
          },
          "includeUrlPatterns": {
            "title": "Crawl only URLs matching",
            "type": "array",
            "description": "Follow a link only when its URL matches any of these. Text keeps URLs containing it (<code>/blog/</code>); <code>*</code> is a wildcard over the whole URL (<code>https://shop.com/products/*</code>); <code>re:</code> starts a regular expression (<code>re:/p/\\d+$</code>). Case is ignored. The start page is always audited.",
            "items": {
              "type": "string"
            }
          },
          "excludeUrlPatterns": {
            "title": "Never crawl URLs matching",
            "type": "array",
            "description": "Never follow a link whose URL matches any of these, written the same way as above (<code>/tag/</code>, <code>*?sort=*</code>).",
            "items": {
              "type": "string"
            }
          },
          "requestsPerSecond": {
            "title": "Requests per second per site",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How fast one site is crawled. Raise it only for a site you own; a small site's server may slow down or answer 429 above the default.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}