{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Audit Crawler: On-Page Issues, Broken Links & Score",
    "description": "Crawl any website and audit every page for SEO: title, meta description, H1, canonical, noindex, hreflang, Open Graph, schema, word count, missing alt, broken links, plus issues and a 0-100 score. Fast HTTP, no browser. Pay only per page audited.",
    "version": "0.1",
    "x-build-id": "mHzalXy4ZvdF0Ymu0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blond_terrarium~seo-page-audit-crawler/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blond_terrarium-seo-page-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/blond_terrarium~seo-page-audit-crawler/runs": {
      "post": {
        "operationId": "runs-sync-blond_terrarium-seo-page-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/blond_terrarium~seo-page-audit-crawler/run-sync": {
      "post": {
        "operationId": "run-sync-blond_terrarium-seo-page-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": "Start URLs",
            "type": "array",
            "description": "Websites or pages to audit. 'example.com' is fine; https:// is added automatically.",
            "items": {
              "type": "string"
            }
          },
          "maxCrawlDepth": {
            "title": "Max crawl depth",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "0 = audit only the start URLs. 1 = also pages linked from them, and so on.",
            "default": 2
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many audited (charged) pages in total (0 = no limit). Your max total charge also stops the run cleanly.",
            "default": 100
          },
          "crawlScope": {
            "title": "Crawl scope",
            "enum": [
              "samePath",
              "sameHostname",
              "sameDomain"
            ],
            "type": "string",
            "description": "Which discovered links to follow.",
            "default": "sameHostname"
          },
          "useSitemaps": {
            "title": "Also discover pages from sitemaps",
            "type": "boolean",
            "description": "Reads robots.txt / sitemap.xml (incl. indexes and .gz) to find pages that aren't linked.",
            "default": false
          },
          "includeUrlPatterns": {
            "title": "Include URL patterns (regex)",
            "type": "array",
            "description": "Only follow/convert URLs matching at least one pattern, e.g. '/blog/'.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeUrlPatterns": {
            "title": "Exclude URL patterns (regex)",
            "type": "array",
            "description": "Skip URLs matching any pattern, e.g. '/tag/' or '\\?page='.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "checkBrokenLinks": {
            "title": "Check links for broken ones",
            "type": "boolean",
            "description": "HEAD-checks (GET fallback) every link found on audited pages. Each URL is checked once per run. Turn off for the fastest crawl.",
            "default": true
          },
          "checkInternalLinks": {
            "title": "Check internal links",
            "type": "boolean",
            "description": "Links to the same site.",
            "default": true
          },
          "checkExternalLinks": {
            "title": "Check external links",
            "type": "boolean",
            "description": "Links to other websites.",
            "default": true
          },
          "maxLinkChecks": {
            "title": "Max link checks per run",
            "minimum": 0,
            "type": "integer",
            "description": "Unique URLs to check across the whole run (0 = no limit). Links beyond the cap are reported as unchecked.",
            "default": 2000
          },
          "linkCheckConcurrency": {
            "title": "Parallel link checks",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Across all hosts; per-host delay still applies.",
            "default": 10
          },
          "titleMaxLength": {
            "title": "Title too long above (characters)",
            "minimum": 1,
            "type": "integer",
            "description": "Flags TITLE_TOO_LONG.",
            "default": 60
          },
          "titleMinLength": {
            "title": "Title too short below (characters)",
            "minimum": 0,
            "type": "integer",
            "description": "Flags TITLE_TOO_SHORT.",
            "default": 10
          },
          "descriptionMaxLength": {
            "title": "Meta description too long above (characters)",
            "minimum": 1,
            "type": "integer",
            "description": "Flags META_DESCRIPTION_TOO_LONG.",
            "default": 160
          },
          "descriptionMinLength": {
            "title": "Meta description too short below (characters)",
            "minimum": 0,
            "type": "integer",
            "description": "Flags META_DESCRIPTION_TOO_SHORT.",
            "default": 50
          },
          "minWordCount": {
            "title": "Thin content below (words)",
            "minimum": 0,
            "type": "integer",
            "description": "Flags THIN_CONTENT.",
            "default": 300
          },
          "slowResponseMs": {
            "title": "Slow response above (ms)",
            "minimum": 100,
            "type": "integer",
            "description": "Time to first byte that flags SLOW_RESPONSE.",
            "default": 2000
          },
          "includeSiteSummary": {
            "title": "Add a site summary row (free)",
            "type": "boolean",
            "description": "One extra row per start site: average score, issue counts, duplicate titles/descriptions, all broken links. Not charged.",
            "default": true
          },
          "writeFailedRows": {
            "title": "Write rows for failed/skipped URLs (free)",
            "type": "boolean",
            "description": "404s, timeouts, non-HTML, blocked and robots-disallowed URLs get a row with the reason. Not charged.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip disallowed URLs and honor Crawl-delay (max 10 s).",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max parallel requests",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Across all hosts. Requests to one host are always spaced by the delay below.",
            "default": 10
          },
          "requestDelayMs": {
            "title": "Delay between requests to the same host (ms)",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Politeness per host.",
            "default": 200
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (s)",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "Per request.",
            "default": 30
          },
          "maxRetries": {
            "title": "Retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "For timeouts, resets, 429 and 5xx (with backoff and Retry-After).",
            "default": 2
          },
          "userAgent": {
            "title": "User-Agent",
            "type": "string",
            "description": "Leave empty for the default browser-compatible UA."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Apify datacenter proxy or your own proxy URLs. Residential proxy isn't supported (it would raise the price for everyone)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}