{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Email Extractor — Company Emails & Socials",
    "description": "Find businesses on Google Maps and enrich each one with the company e-mails, phone numbers, WhatsApp and social profiles published on its own website. Role mailboxes only (info@, sales@...), personal addresses filtered out. No browser, no API key.",
    "version": "0.1",
    "x-build-id": "GUPqKuwb2zGq4QmJW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~google-maps-email-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-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/fabrikit~google-maps-email-extractor/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-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/fabrikit~google-maps-email-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-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": "Business types or names to look up on Google Maps, one per line, written like a Maps search (`marketing agency`, `dentist`, `roofing contractor`). Each term is searched across the whole **Location**; do not put the city here.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, district, region, postal code or country (`Denver, Colorado`, `Shoreditch, London`, `28001, Spain`, `Uruguay`). The actor geocodes it and covers the area tile by tile. Leave empty to let Google choose the area."
          },
          "maxItemsPerSearch": {
            "title": "Max places per search term",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop a search term after this many places (after filters). `0` = everything Google lists in the area. Every saved place is one `place-result` event; the website of each one is read as well when enrichment is on, so start small and scale up.",
            "default": 20
          },
          "enrichWithWebsite": {
            "title": "Read each business website for contacts",
            "type": "boolean",
            "description": "For every place that lists a website, fetch its home page plus a few contact / about / imprint pages and extract company e-mails, phone numbers, WhatsApp, social profiles, contact-form presence and site platform. Turn off to get Google Maps data only (no `website-contacts` charge).",
            "default": true
          },
          "maxPagesPerWebsite": {
            "title": "Pages per website",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many pages to read per site: the home page plus up to this many minus one contact-looking pages (`/contact`, `/about`, `/impressum`...). 3–5 finds most e-mails; 1 reads the home page only.",
            "default": 5
          },
          "excludePersonalEmails": {
            "title": "Drop e-mails that look like a private person",
            "type": "boolean",
            "description": "Keep company mailboxes (info@, contact@, sales@, hello@, office@, the business name...) and discard addresses shaped like a person's (`first.last@`, `maria@`, `j.smith@`). Keeps the output GDPR / Ley 21.719 friendly. Set to false to keep every address found.",
            "default": true
          },
          "onlyWithEmail": {
            "title": "Save only places with an e-mail",
            "type": "boolean",
            "description": "Skip (and do not charge) places whose website showed no company e-mail. The actor keeps scanning the area until it has the requested number of places with an e-mail or runs out of places. Implies website enrichment.",
            "default": false
          },
          "startUrls": {
            "title": "Google Maps search URLs (optional)",
            "type": "array",
            "description": "Instead of terms + location you can paste Maps search URLs such as `https://www.google.com/maps/search/plumber/@39.7392,-104.9903,12z`; the term and the visible map area are read from the URL. `/maps/place/` URLs are not supported.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "latitude": {
            "title": "Center latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Search a circle around a point instead of a named location (e.g. `39.7392`). Requires longitude; overrides Location."
          },
          "longitude": {
            "title": "Center longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Longitude of the circle center (e.g. `-104.9903`)."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 0.1,
            "maximum": 500,
            "type": "number",
            "description": "Radius of the circle around latitude/longitude.",
            "default": 5
          },
          "onlyWithWebsite": {
            "title": "Only places with a website",
            "type": "boolean",
            "description": "Skip places that have no website on Google Maps (nothing to enrich). On automatically when **Save only places with an e-mail** is on.",
            "default": false
          },
          "onlyWithPhone": {
            "title": "Only places with a phone number",
            "type": "boolean",
            "description": "Skip places without a phone number on Google Maps.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep places rated at least this many stars (1–5). Unrated places are dropped when set."
          },
          "categoryFilter": {
            "title": "Category contains",
            "type": "array",
            "description": "Keep only places whose Google category contains one of these words (accent- and case-insensitive), e.g. `agency` keeps \"Marketing agency\" and drops \"Print shop\". Use the same language as **Language**.",
            "items": {
              "type": "string"
            }
          },
          "skipClosedPlaces": {
            "title": "Skip permanently closed places",
            "type": "boolean",
            "description": "Drop businesses Google marks as permanently closed.",
            "default": true
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "es",
              "pt",
              "pt-BR",
              "fr",
              "de",
              "it",
              "nl",
              "pl",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "ro",
              "hu",
              "el",
              "tr",
              "ru",
              "uk",
              "ar",
              "he",
              "hi",
              "id",
              "ms",
              "th",
              "vi",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW"
            ],
            "type": "string",
            "description": "Language for Google's category names, opening hours and descriptions, and for the Accept-Language header sent to business websites.",
            "default": "en"
          },
          "countryCode": {
            "title": "Country (optional)",
            "pattern": "^([a-zA-Z]{2})?$",
            "type": "string",
            "description": "Two-letter code (`us`, `cl`, `de`). Disambiguates place names shared by several countries and sets the country of the residential proxy fallback for Google requests.",
            "default": ""
          },
          "splitArea": {
            "title": "Deep area scan",
            "type": "boolean",
            "description": "Google only lists the most prominent places of a map view; when on, dense parts of the area are split into smaller tiles and searched again until the limit is met. Turn off for one quick pass.",
            "default": true
          },
          "onlyInsideArea": {
            "title": "Only places inside the area",
            "type": "boolean",
            "description": "Discard places that fall outside the location boundaries (Google pads result lists with neighbours).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify datacenter proxy by default, used for Google and for the business websites. If Google blocks it, Google requests move to Apify RESIDENTIAL automatically; websites always stay on this proxy (residential bandwidth would cost more than the contacts event).",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}