{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Email Scraper & Extractor: $3/1k Leads, MX-Checked",
    "description": "Google Maps email scraper: extract business emails (MX-checked), phones, websites, owner or decision-maker names, ratings, addresses, opening hours and Facebook, Instagram and LinkedIn links by keyword and location. $3 per 1,000 leads. No login, no browser. CSV, JSON, API and MCP.",
    "version": "0.2",
    "x-build-id": "0MvTvr4bebfXmFsMP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/leadharbor~google-maps-verified-email-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-leadharbor-google-maps-verified-email-scraper",
        "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/leadharbor~google-maps-verified-email-scraper/runs": {
      "post": {
        "operationId": "runs-sync-leadharbor-google-maps-verified-email-scraper",
        "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/leadharbor~google-maps-verified-email-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-leadharbor-google-maps-verified-email-scraper",
        "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": "Business types",
            "type": "array",
            "description": "What to search on Google Maps, e.g. dentist, gym, law firm. Ignored when placesDatasetId is set.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City / area, e.g. \"Austin, TX\" or \"Muscat, Oman\". Ignored when placesDatasetId is set."
          },
          "placesDatasetId": {
            "title": "Or: enrich a Google Maps dataset you already have",
            "type": "string",
            "description": "Pick a dataset from any Google Maps scraper run (compass/crawler-google-places, lukaskrivka/google-maps-with-contact-details, or this actor). When set, the Maps search step is skipped entirely — no second Maps bill — and every place with a website is enriched with an MX-checked email. Rows need a `website` (or `webUrl`/`url`) field; `title`, `phone`, `address`, `categoryName`, `totalScore`, `reviewsCount` are carried over when present."
          },
          "maxResults": {
            "title": "Max results per business type",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many places to pull per search term.",
            "default": 20
          },
          "verifyEmails": {
            "title": "Check emails (MX lookup)",
            "type": "boolean",
            "description": "Tag each email valid / risky-role / invalid by checking that its domain has mail servers (MX records). This is a domain-level check, not a mailbox-level one.",
            "default": true
          },
          "onlyWithEmail": {
            "title": "Only rows with email",
            "type": "boolean",
            "description": "Drop businesses with no email found. Only rows that are delivered are billed.",
            "default": true
          },
          "maxEmailsPerSite": {
            "title": "Max emails per business",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of emails to keep per business.",
            "default": 5
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Read each business website's robots.txt before fetching its pages (user agent LeadHarborBot). A site that disallows it is skipped: its row, if you ask for rows without email, says websiteRobots = blocked and has no email. With 'Only rows with email' on (default) such a site is never delivered and never billed. Turn off only if you have the right to read those sites.",
            "default": true
          },
          "aiAssist": {
            "title": "AI assist (TypeSafe), sends data to api.typesafe.ai",
            "type": "boolean",
            "description": "Off by default (changed in build 0.2.35). When on, business name, category, city, website, candidate emails and short snippets of page text around candidate people names are sent to TypeSafe (api.typesafe.ai, model Jev) to pick the main inbox and the owner name. Off: the email is picked by a fixed rule and contact names come only from explicit page evidence (schema.org founder/owner, or a single credentialed doctor on a team page). Requires the publisher's key to be configured.",
            "default": false
          },
          "mapsActorId": {
            "title": "Maps scraper actor (advanced)",
            "type": "string",
            "description": "The Google Maps actor that supplies the place data when no dataset is given. Its own pay-per-event price (compass/crawler-google-places: about $4 per 1,000 places on the free plan, less on paid plans) is billed to your account by Apify in addition to this actor's per-lead price. Leave as default unless you prefer another Maps actor with the same input format.",
            "default": "compass/crawler-google-places"
          },
          "notionConnector": {
            "title": "Notion connector (optional)",
            "type": "string",
            "description": "Send the Maps leads into your own Notion. Authorize Notion once in Apify Console > Settings > API & Integrations > MCP connectors, then pick it here. This Actor never sees your Notion login."
          },
          "notionParentPage": {
            "title": "Notion page to create the table in",
            "type": "string",
            "description": "Link of a Notion page. The first run creates a table inside it and fills it."
          },
          "notionDataSourceId": {
            "title": "Existing Notion table ID (optional)",
            "type": "string",
            "description": "To keep adding to the same table, paste the table ID printed in the log (also saved in the run's NOTION_RESULT record) by the first run."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}