{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Email Extractor & Dead Website Checker",
    "description": "Search Google Maps by keyword and city, check every business website (alive, parked, for sale, redirected, dead, JS-only) and extract emails, phones, socials and booking links with the page they were found on. No browser, cheap per row. Also takes URL lists and datasets.",
    "version": "0.1",
    "x-build-id": "LB8aAL09zIdUemnjF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/northvane~google-maps-email-extractor-website-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-northvane-google-maps-email-extractor-website-checker",
        "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/northvane~google-maps-email-extractor-website-checker/runs": {
      "post": {
        "operationId": "runs-sync-northvane-google-maps-email-extractor-website-checker",
        "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/northvane~google-maps-email-extractor-website-checker/run-sync": {
      "post": {
        "operationId": "run-sync-northvane-google-maps-email-extractor-website-checker",
        "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": {
          "searchTerms": {
            "title": "Google Maps search terms",
            "type": "array",
            "description": "What to search on Google Maps, one per line — e.g. `dentist`, `nail salon`, `roofing contractor`. Each place found is checked and enriched. Needs a location below. Leave empty to only check URLs or a dataset.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, region or address the search is centred on, e.g. `San Antonio, TX` or `Manchester, UK`. Resolved on Google Maps itself."
          },
          "maxPlacesPerSearch": {
            "title": "Max places per search term",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Google returns results in pages of 20; 60–120 covers a city district, 300+ a whole city. Filtered-out places are not billed.",
            "default": 60
          },
          "zoom": {
            "title": "Search radius (map zoom)",
            "minimum": 8,
            "maximum": 17,
            "type": "integer",
            "description": "Map zoom the search is issued at. 13 ≈ a district (default), 11 ≈ a whole city, 15 ≈ a neighbourhood.",
            "default": 13
          },
          "withoutWebsiteOnly": {
            "title": "Only businesses without a website",
            "type": "boolean",
            "description": "Keep only places where Google Maps lists no website — the classic web-design / agency lead list. Free filter.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop places rated below this (0 = off). Free filter.",
            "default": 0
          },
          "maxRating": {
            "title": "Maximum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop places rated above this (0 = off) — e.g. 3.9 to find businesses that need reputation help. Free filter.",
            "default": 0
          },
          "startUrls": {
            "title": "Websites to check (optional)",
            "type": "array",
            "description": "Website URLs to check directly, one per line. Bare domains are fine (`example.com`). Use this instead of, or as well as, a Maps search.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "datasetId": {
            "title": "Dataset from another Actor (optional)",
            "type": "string",
            "description": "ID of a dataset produced by a Google Maps scraper, directory scraper or any Actor. Every row that has a website column is checked and the original row is passed through under `sourceRow`."
          },
          "urlField": {
            "title": "Website column name",
            "type": "string",
            "description": "Which field of the dataset rows holds the website URL. `website` matches Google Maps scrapers; `url` and `domain` are also tried automatically.",
            "default": "website"
          },
          "nameField": {
            "title": "Business name column (optional)",
            "type": "string",
            "description": "If the dataset rows carry a business name in this field, the checker flags pages that never mention it (a sign the domain was repurposed).",
            "default": "title"
          },
          "extractContacts": {
            "title": "Extract emails, phones, socials and booking links",
            "type": "boolean",
            "description": "Turn off for a pure alive/dead check (faster, fewer pages fetched).",
            "default": true
          },
          "followContactPages": {
            "title": "Look on contact / about / imprint pages too",
            "type": "boolean",
            "description": "When the homepage publishes no address, fetch up to `maxContactPagesPerSite` internal pages that look like contact, about, impressum or legal pages.",
            "default": true
          },
          "maxContactPagesPerSite": {
            "title": "Max extra pages per site",
            "minimum": 0,
            "maximum": 6,
            "type": "integer",
            "description": "Upper bound on contact-style pages fetched per website. 2 recovers most published addresses; 0 disables the second pass.",
            "default": 2
          },
          "checkEmailMx": {
            "title": "Check email domains have MX records",
            "type": "boolean",
            "description": "Adds `mxValid` / `mxHost` to every email found — a cheap deliverability signal that catches addresses on domains that cannot receive mail. Not a mailbox-level verification.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many websites are checked in parallel. 20 is safe for lists of mixed domains.",
            "default": 20
          },
          "timeoutSecs": {
            "title": "Timeout per request (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "A site that does not answer within this window counts as DEAD (timeout). Raise it for slow hosting regions.",
            "default": 20
          },
          "maxItems": {
            "title": "Max websites to check",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many rows. 0 = check everything. Useful for a cheap sample run before the full list.",
            "default": 0
          },
          "passThroughFields": {
            "title": "Pass original dataset rows through",
            "type": "boolean",
            "description": "Keep every field of the source row under `sourceRow`, so the output is your list, enriched — not a separate list to join back.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Off by default — plain business websites do not need a proxy and it only adds cost. Turn on Apify datacenter proxy if many rows come back with 403/429 flags."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}