{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Email Extractor - Business Leads with Emails",
    "description": "Google Maps email extractor: search terms (\"dentist\", \"roofer\") and locations (\"Austin, TX\") in, one row per Google Maps place out with name, category, rating, phone, website, address, plus emails, extra phones and Facebook / Instagram / LinkedIn links from its website. $1.20 per 1,000 places.",
    "version": "1.0",
    "x-build-id": "tnFWysGwzMFtab5X9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~google-maps-email-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-google-maps-email-extractor",
        "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/rel8ble~google-maps-email-extractor/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-google-maps-email-extractor",
        "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/rel8ble~google-maps-email-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-google-maps-email-extractor",
        "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": {
          "searchStrings": {
            "title": "Search terms",
            "type": "array",
            "description": "What to look for on Google Maps, one per line: a business type (\"dentist\", \"plumber\", \"roofing contractor\"), a brand or any text you would type into Maps. Each term is searched in every location below (\"dentist in Austin, TX\"). Leave locations empty to put the place in the term itself (\"roofers near Leeds\"). Empty input = demo run (20 dentists in Austin, TX). Up to 2,000 searches (terms x locations) per run.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Optional. Cities, regions, ZIP / postal codes or neighbourhoods, one per line, e.g. \"Austin, TX\", \"Manchester, UK\", \"10001\", \"Brooklyn, New York\". Every search term is combined with every location. For full coverage of a big city, list its districts or ZIP codes: one Google Maps search returns at most about 120-200 places.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Google Maps search URLs",
            "type": "array",
            "description": "Optional. Google Maps search links copied from your browser, e.g. \"https://www.google.com/maps/search/vegan+restaurants+in+Berlin/\". The search text is read from the URL. Map position in the URL is not used.",
            "items": {
              "type": "string"
            }
          },
          "maxPlacesPerSearch": {
            "title": "Max places per search",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each search after this many saved places. 20 = one Maps page (fastest). 0 = everything Google Maps returns for the search (usually 120-200). You pay only for saved places.",
            "default": 20
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of category names, opening hours and descriptions: en, de, fr, es, it, pt-BR, nl, pl, ja ... Default en.",
            "default": "en"
          },
          "countryCode": {
            "title": "Country (Google region)",
            "type": "string",
            "description": "Optional 2-letter country code (us, gb, de, fr, in ...) that tells Google which country's results to prefer when a location is ambiguous (\"Paris\" in fr vs us). Empty = decided by the location text."
          },
          "onlyWithEmail": {
            "title": "Only places with an email",
            "type": "boolean",
            "description": "Save (and charge) only places where an email address was found on the business website. Places without one are dropped for free. With this on, each search keeps reading Maps pages until it has \"Max places per search\" places with email or Maps runs out.",
            "default": false
          },
          "maxPagesPerWebsite": {
            "title": "Pages per website",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many pages of each business website to read: the homepage plus the best contact / imprint / about pages (1-10). Default 4. More pages = slightly more emails, slower runs. The price per place does not change.",
            "default": 4
          },
          "onlySameDomainEmails": {
            "title": "Only emails on the website's own domain",
            "type": "boolean",
            "description": "Keep only emails whose domain matches the business website (info@acme.com for acme.com), dropping gmail.com / outlook.com and agency addresses.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Optional. Keep only places rated at least this many stars (0-5), e.g. 4.5. Places without a rating are dropped when this is set. Dropped places are not charged."
          },
          "minReviews": {
            "title": "Minimum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep only places with at least this many Google reviews."
          },
          "maxReviews": {
            "title": "Maximum reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep only places with at most this many reviews, e.g. 20 to find small businesses that need review or marketing help."
          },
          "websiteFilter": {
            "title": "Website",
            "enum": [
              "any",
              "with",
              "without"
            ],
            "type": "string",
            "description": "any = all places; with = only places that list a website; without = only places with NO website (classic lead list for web designers and agencies).",
            "default": "any"
          },
          "requirePhone": {
            "title": "Only places with a phone number",
            "type": "boolean",
            "description": "Drop places that show no phone number.",
            "default": false
          },
          "categoryFilter": {
            "title": "Category must contain",
            "type": "array",
            "description": "Optional. Keep only places with a Google category containing one of these words, e.g. \"dentist\", \"orthodontist\". Useful because Maps mixes related businesses into results.",
            "items": {
              "type": "string"
            }
          },
          "nameMustContain": {
            "title": "Name must contain",
            "type": "array",
            "description": "Optional. Keep only places whose name contains one of these words, e.g. a brand name when tracking a chain's locations.",
            "items": {
              "type": "string"
            }
          },
          "skipDuplicates": {
            "title": "Skip duplicates",
            "type": "boolean",
            "description": "When the same place appears in several searches (overlapping ZIP codes or terms), save and charge it only once.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Parallel searches",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many searches run at the same time (1-10). Default 5.",
            "default": 5
          },
          "websiteConcurrency": {
            "title": "Parallel websites",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many business websites are read at the same time (1-50). Default 20.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, for the Google Maps requests. Default on the Apify platform: Apify Proxy (datacenter), with automatic retries on residential IPs if Google rate-limits a request. Business websites are read directly. Leave unset unless the log shows repeated blocks."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}