{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Audit Scraper - Meta Tags, Headings & Broken Links",
    "description": "Crawl your site and get every page's title, meta description, headings, canonical, schema and broken links, with plain-English issues and a 0-100 score. robots.txt respected. $3 per 1,000 pages.",
    "version": "0.1",
    "x-build-id": "mWr7dKCPTJNnh8B3Z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/goldstandardweb~seo-meta-broken-links/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-goldstandardweb-seo-meta-broken-links",
        "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/goldstandardweb~seo-meta-broken-links/runs": {
      "post": {
        "operationId": "runs-sync-goldstandardweb-seo-meta-broken-links",
        "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/goldstandardweb~seo-meta-broken-links/run-sync": {
      "post": {
        "operationId": "run-sync-goldstandardweb-seo-meta-broken-links",
        "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": "In crawl mode: the page to start from on each site (usually the homepage); the crawler follows links within that site only. In list mode: every page to check. One per line, for example https://www.example.com/. Up to 1,000.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "crawl",
              "list"
            ],
            "type": "string",
            "description": "crawl = start at each URL and follow links within the same site (www and non-www count as the same site). list = audit only the URLs you entered, nothing else.",
            "default": "crawl"
          },
          "maxPagesPerSite": {
            "title": "Max pages per site",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Crawl mode: stop after this many pages on each site. Each audited page is one charged result. 1 to 5,000.",
            "default": 50
          },
          "maxDepth": {
            "title": "Max click depth",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Crawl mode: how many clicks away from the start URL to go. 0 = only the start page, 1 = the start page and the pages it links to, and so on. 0 to 20.",
            "default": 3
          },
          "checkLinks": {
            "title": "Check links for errors",
            "enum": [
              "all",
              "internal",
              "none"
            ],
            "type": "string",
            "description": "Which links on each audited page are tested for broken targets (HTTP 400+, dead domains). all = links to your site and to other sites; internal = only links to your own site; none = skip link checks (fastest). Each link is tested once per run, whatever the number of pages that use it. Link checks are included in the page price.",
            "default": "all"
          },
          "maxLinkChecksPerPage": {
            "title": "Max links checked per page",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Test at most this many links per page (the first ones on the page). 0 turns link checks off. 0 to 500.",
            "default": 100
          },
          "excludeUrlsContaining": {
            "title": "Skip URLs containing",
            "type": "array",
            "description": "Crawl mode: pages whose URL contains any of these texts are not crawled, for example /tag/ or ?sort=. Not case-sensitive. Up to 50.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max charged pages (whole run)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop the whole run after this many charged pages. Unreachable, blocked, robots.txt-protected, non-HTML and invalid URLs are returned free and do not count. Up to 50,000.",
            "default": 1000
          },
          "maxRunMinutes": {
            "title": "Run time limit (minutes)",
            "minimum": 1,
            "maximum": 600,
            "type": "integer",
            "description": "Hard limit for the whole run. When it is reached the run stops starting new pages and finishes cleanly. 1 to 600.",
            "default": 30
          },
          "compareWithPreviousRun": {
            "title": "Compare with the previous audit",
            "type": "boolean",
            "description": "Remember each page's score and issues, and on the next run add previousScore, scoreChange, newIssues and fixedIssues to every page. Ideal for a weekly scheduled audit.",
            "default": false
          },
          "historyName": {
            "title": "History name",
            "type": "string",
            "description": "Only used with the compare option. Keep separate histories for separate sites or clients, for example client-acme. Letters, digits and dashes, up to 40.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}