{
  "openapi": "3.0.1",
  "info": {
    "title": "Technical SEO Audit: on-page checker, crawler, AI-bot access",
    "description": "Audit public URLs or a whole site: title, meta, H1, canonical, noindex, X-Robots-Tag, redirects, hreflang, schema, 22 issue flags, plus robots.txt access for GPTBot, ClaudeBot, Perplexity, Googlebot.",
    "version": "0.6",
    "x-build-id": "BBDJtE8bQJ2MvgcIe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kvnloo~technical-seo-check/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kvnloo-technical-seo-check",
        "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/kvnloo~technical-seo-check/runs": {
      "post": {
        "operationId": "runs-sync-kvnloo-technical-seo-check",
        "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/kvnloo~technical-seo-check/run-sync": {
      "post": {
        "operationId": "run-sync-kvnloo-technical-seo-check",
        "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": "URLs to audit",
            "type": "array",
            "description": "Public page URLs or bare domains (https:// is added). Each is fetched once with a plain HTTP GET (no browser). With crawl on, same-site links found on these pages are audited too. Up to 5,000 URLs.",
            "items": {
              "type": "string"
            }
          },
          "crawl": {
            "title": "Crawl the website",
            "type": "boolean",
            "description": "Follow same-site links (www. ignored) breadth first from the URLs above until maxPages URLs in total. Crawled pages always obey robots.txt. Off: audit only the listed URLs.",
            "default": false
          },
          "useSitemap": {
            "title": "Add sitemap URLs",
            "type": "boolean",
            "description": "Also audit the pages listed in each start site's XML sitemaps (found via robots.txt Sitemap: lines, else /sitemap.xml and other well-known paths; index and .gz sitemaps followed; give site or page URLs, a sitemap URL in startUrls is audited as a page), until maxPages URLs in total. Finds pages no link reaches. Works with or without crawl; sitemap URLs fill the budget first. A site without a sitemap is noted in REPORT, never a failed run.",
            "default": false
          },
          "excludeUrlPatterns": {
            "title": "Exclude URLs matching",
            "type": "array",
            "description": "Optional texts or regular expressions (Python syntax, up to 50). A crawled link or sitemap URL that contains any of them, or matches one as a regex, is not audited and not charged, e.g. /tag/ or \\?page=. Listed start URLs are always audited. REPORT.excludedByPattern counts the skipped URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "With crawl or sitemap URLs on: most URLs fetched in total, listed plus discovered. Listed URLs are always audited. You pay only for pages that answered (one dataset row each).",
            "default": 100
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip listed URLs that robots.txt disallows for all user agents (listed in REPORT, free). Turn off only for your own site; such rows are flagged blocked-by-robots-txt. Crawl-discovered URLs always obey robots.txt.",
            "default": true
          },
          "concurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Pages fetched in parallel. Requests to one host start at most 4 per second either way.",
            "default": 5
          },
          "authorized": {
            "title": "Authorized non-personal HTML (pages only)",
            "type": "boolean",
            "description": "Needed only when you supply pages: confirm you may process the HTML and that it holds no personal data or login-walled content.",
            "default": false
          },
          "pages": {
            "title": "HTML pages",
            "maxItems": 20,
            "type": "array",
            "description": "Optional: up to 20 {\"id\", \"html\"} objects (unique ASCII ids, at most 200,000 UTF-8 bytes each) audited without any network request, e.g. from a CI build. HTTP fields are null for these rows.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "title": "Page ID",
                  "type": "string",
                  "description": "Unique opaque page identifier."
                },
                "html": {
                  "title": "HTML",
                  "type": "string",
                  "description": "Authorized non-personal HTML, at most 200000 UTF-8 bytes."
                }
              },
              "required": [
                "id",
                "html"
              ],
              "additionalProperties": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}