{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Conversion Audit: Missing Forms, CTAs & Reviews",
    "description": "Website conversion audit (lead leak audit) for local-business sites: missing forms, no click-to-call, generic contact instead of a quote CTA, empty reviews pages, leftover template copy, HTTP that does not upgrade, thin privacy policies, and broken links. A 0-100 leak score and outreach line.",
    "version": "0.2",
    "x-build-id": "Ifg9L1VMZ9h4evoKb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datacolada~lead-leak-audit/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datacolada-lead-leak-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/datacolada~lead-leak-audit/runs": {
      "post": {
        "operationId": "runs-sync-datacolada-lead-leak-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/datacolada~lead-leak-audit/run-sync": {
      "post": {
        "operationId": "run-sync-datacolada-lead-leak-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",
        "properties": {
          "startUrls": {
            "title": "Websites",
            "type": "array",
            "description": "Company websites or domains to audit, one per line, e.g. \"acme.com\" or \"https://www.acme.com/contact\". 'https://' is added if missing. Each website becomes one result row. Optional if you set an Apify dataset ID below.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Apify dataset ID",
            "type": "string",
            "description": "Optional. Read websites from an existing Apify dataset, for example Website Contact Finder or compass/crawler-google-places. Pick a dataset you have access to, or paste its ID. Items should have a website field (see Website field below). You can use this instead of, or together with, the Websites list. Rows with no website, and Google Maps page URLs, are skipped."
          },
          "urlField": {
            "title": "Website field in the dataset",
            "type": "string",
            "description": "Field to use as the company website when reading a dataset or object items. If empty, tries website, then url, then domain, in that order. For Google Maps scraper results leave this empty (or set it to website). Do not set it to url — on Maps results that is the Google Maps page, not the company site.",
            "default": ""
          },
          "maxSites": {
            "title": "Max websites",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Upper limit on websites audited in this run. Default 200.",
            "default": 200
          },
          "maxPagesPerSite": {
            "title": "Max key pages per website",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many pages to fetch on each site (home plus contact, about, services, booking/quote pages when they are linked or at common paths). Default 4. This actor does not crawl the whole site.",
            "default": 4
          },
          "maxLinksPerSite": {
            "title": "Max links to check per website",
            "minimum": 0,
            "maximum": 80,
            "type": "integer",
            "description": "Cap on unique http(s) links tested for broken status, same-site links first. Social profile links are always checked separately and do not count against this cap. Default 25. Use 0 to skip non-social link checks.",
            "default": 25
          },
          "checkExternalLinks": {
            "title": "Check non-social external links",
            "type": "boolean",
            "description": "Also test links to other domains (besides social profiles, which are always checked). Default off, to keep runs cheap. Same-site links on key pages are always tested up to the cap.",
            "default": false
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip pages the website's robots.txt disallows. Default true (recommended).",
            "default": true
          },
          "requestTimeoutSecs": {
            "title": "Page timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Give up on a page or link after this many seconds. Default 15.",
            "default": 15
          },
          "maxConcurrency": {
            "title": "Websites in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many websites to audit at the same time. Default 5. This actor is HTTP-first and does not launch a browser.",
            "default": 5
          },
          "generateReport": {
            "title": "Generate a one-page PDF report",
            "type": "boolean",
            "description": "Save a one-page PDF (and HTML) report per website to this run's key-value store, and add a reportUrl on each result row. The report lists the leak score, what's working, and the top fixes in plain English. Default on. Existing score and issue fields are unchanged. Reports are generated one at a time so a 512 MB run stays within memory.",
            "default": true
          },
          "preparedBy": {
            "title": "Prepared-by line on the report",
            "type": "string",
            "description": "Optional footer line, for example your name or agency (\"Prepared by …\"). Leave blank for no attribution. Do not put a phone number or email here — those are stripped.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}