{
  "openapi": "3.0.1",
  "info": {
    "title": "Web Design Leads – Outdated Website Finder from Google Maps",
    "description": "Find web design leads on Google Maps: local businesses whose website is outdated, broken, insecure (no HTTPS), not mobile-friendly, slow, parked or down. Website audit per lead: weakness score, CMS and version, email, socials, for website redesign outreach. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "gCvOyRktgOtjtnnRX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~web-design-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-web-design-leads",
        "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~web-design-leads/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-web-design-leads",
        "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~web-design-leads/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-web-design-leads",
        "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": [
          "searchTerms",
          "locations"
        ],
        "properties": {
          "searchTerms": {
            "title": "Search terms",
            "maxItems": 20,
            "type": "array",
            "description": "The kind of business, as you would type it into Google Maps, one per line: <code>plumber</code>, <code>roofing contractor</code>, <code>dentist</code>, <code>landscaper</code>. Each term is searched in every location. Up to 20.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "maxItems": 20,
            "type": "array",
            "description": "Where to look, one per line: a city, area, postcode or address as you would type it into Google Maps (<code>Austin, TX</code>, <code>Shoreditch, London</code>, <code>78701</code>), or <code>latitude, longitude</code>. Up to 20. A business found by two searches is delivered and charged once.",
            "items": {
              "type": "string"
            }
          },
          "radius": {
            "title": "Radius",
            "minimum": 0.5,
            "maximum": 50,
            "type": "number",
            "description": "How far from each location's centre to look (0.5 to 50, in the unit below). Businesses outside it are left out, never charged. The radius is covered with a grid of searches, so it reaches past the ~120–240 results one Google Maps search shows.",
            "default": 10
          },
          "distanceUnit": {
            "title": "Unit",
            "enum": [
              "km",
              "mi"
            ],
            "type": "string",
            "description": "The unit of the radius and of each lead's <code>distance</code> from the location's centre.",
            "default": "km"
          },
          "maxLeadsPerSearch": {
            "title": "Max leads per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each search term in each location after this many leads, businesses whose website failed a check (1 to 5,000). The run's spending limit is respected too: no website is checked once it cannot pay for another lead.",
            "default": 100
          },
          "checkOffline": {
            "title": "Website down or not in DNS",
            "type": "boolean",
            "description": "The link on the Google profile leads nowhere: the domain is not in DNS (expired, never registered), the server accepts no connection over HTTPS nor HTTP (asked again from a second IP), a 5xx server error, or a 404 broken link. Weight 100.",
            "default": true
          },
          "checkParked": {
            "title": "Parked, for sale or no website of its own",
            "type": "boolean",
            "description": "The domain shows a registrar's parking page, is listed for sale (Afternic, Dan.com, Sedo… by page or nameservers), shows a suspended-account or \"coming soon\" placeholder, or redirects to a Facebook, Instagram, Yelp or booking page instead of a site of its own. Weight 90.",
            "default": true
          },
          "checkHttps": {
            "title": "No working HTTPS",
            "type": "boolean",
            "description": "The page a visitor ends on is served over plain HTTP (\"Not secure\" in the browser), or its certificate is expired, self-signed, for another name or missing an intermediate. Weight 35.",
            "default": true
          },
          "checkCertificateExpiry": {
            "title": "Certificate about to expire",
            "type": "boolean",
            "description": "The HTTPS certificate expires within the days set below. Weight 15.",
            "default": true
          },
          "checkMobile": {
            "title": "Not mobile-friendly",
            "type": "boolean",
            "description": "The page has no mobile viewport tag, or one pinned to a fixed width, so phones show a shrunk desktop page. Weight 35.",
            "default": true
          },
          "checkCopyright": {
            "title": "Outdated copyright year",
            "type": "boolean",
            "description": "The newest copyright year in the page (© 2021, \"Copyright 2015–2022\") is at least the years set below behind the current year. \"Since 1998\" or \"est. 2001\" do not count. Weight 20.",
            "default": true
          },
          "checkSpeed": {
            "title": "Slow page",
            "type": "boolean",
            "description": "The page's HTML, redirects included, takes longer than the seconds set below to arrive. Measured once from the run's own IP, not a full Lighthouse audit. Weight 20.",
            "default": true
          },
          "checkOutdatedSoftware": {
            "title": "Outdated software",
            "type": "boolean",
            "description": "The server or page names software past its end of life: PHP 8.1 or older (in 2026), WordPress before 6.0, Drupal 9 or older, Joomla 4 or older, or a jQuery before 3.5. Weight 15.",
            "default": true
          },
          "checkFreeSubdomain": {
            "title": "Free subdomain",
            "type": "boolean",
            "description": "The site lives on a site builder's free address (<code>acme.wixsite.com</code>, <code>sites.google.com</code>, <code>acme.weebly.com</code>…) instead of a domain of its own. Weight 25.",
            "default": true
          },
          "certificateExpiryDays": {
            "title": "Certificate expiring within (days)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "How close to its expiry date a certificate fails the certificate check (1 to 60).",
            "default": 14
          },
          "copyrightYearsOld": {
            "title": "Copyright outdated after (years)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many years behind the current year a copyright notice fails the copyright check (1 to 20). With 3, in 2026 a notice of 2023 or older fails.",
            "default": 3
          },
          "slowPageSeconds": {
            "title": "Slow page after (seconds)",
            "minimum": 1,
            "maximum": 15,
            "type": "number",
            "description": "How long the page's HTML may take to arrive before it fails the speed check (1 to 15).",
            "default": 5
          },
          "minWeaknessScore": {
            "title": "Minimum weakness score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Deliver only leads whose weakness score (the sum of the weights of the failed checks, at most 100) reaches this. 0: every lead. 90: only sites that are down, parked or for sale. 35: also no HTTPS or not mobile-friendly.",
            "default": 0
          },
          "includeUnreadableSites": {
            "title": "Include websites that could not be judged",
            "type": "boolean",
            "description": "Off: websites behind a bot check, or that refused the check (403 from two IPs), are only counted. On: each comes as a free row with the reason. Never charged.",
            "default": false
          },
          "requirePhone": {
            "title": "Phone number required",
            "type": "boolean",
            "description": "Keep only businesses whose Google profile shows a phone number. Others are not checked and not charged.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep only businesses rated at least this many stars (0 to 5). Empty: any rating, including none."
          },
          "minReviews": {
            "title": "Minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only businesses with at least this many reviews. Empty: any."
          },
          "categoryFilter": {
            "title": "Categories to keep",
            "type": "array",
            "description": "Keep only businesses with a Google category containing one of these words (any case), e.g. <code>plumber</code>. Empty: every category the search returns.",
            "items": {
              "type": "string"
            }
          },
          "includeClosed": {
            "title": "Include closed businesses",
            "type": "boolean",
            "description": "Off: places Google Maps marks as closed are left out.",
            "default": false
          },
          "onlyNewLeads": {
            "title": "Only new leads",
            "type": "boolean",
            "description": "Skip businesses an earlier run of this Actor already delivered to you (remembered in a storage of your own account): their websites are not checked and they are not charged. Turn it on for scheduled runs.",
            "default": false
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of Google Maps categories, and the language websites are asked for, as a code: <code>en</code>, <code>es</code>, <code>de</code>, <code>pt-BR</code>.",
            "default": "en"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code Google answers for (<code>us</code>, <code>gb</code>, <code>au</code>, <code>ca</code>); it also decides which city a short location name means.",
            "default": "us"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}