{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Email Extractor – Every Address Verified",
    "description": "Google Maps leads billed per verified lead, not per business read. Search a category and a city: businesses with no address, or none a mail server confirms, cost you nothing, and every filter is free. Each address delivered was checked against its own mail server.",
    "version": "0.1",
    "x-build-id": "Oq2Av3zKMh2FQ8lCg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/locomint~google-maps-email-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-locomint-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/locomint~google-maps-email-extractor/runs": {
      "post": {
        "operationId": "runs-sync-locomint-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/locomint~google-maps-email-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-locomint-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",
        "required": [
          "searchStringsArray",
          "locationQuery"
        ],
        "properties": {
          "searchStringsArray": {
            "title": "What to search for",
            "type": "array",
            "description": "One category per line, the way you would type it into the map: dentist, roofing contractor, boutique hotel. Up to 25 per run.",
            "items": {
              "type": "string"
            }
          },
          "locationQuery": {
            "title": "Where",
            "type": "string",
            "description": "A city and its country, so the answer is not ambiguous: \"Porto, Portugal\" rather than \"Porto\". A bare city name is resolved against the wrong country surprisingly often."
          },
          "maxCrawledPlacesPerSearch": {
            "title": "Businesses to read per search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many businesses to look at, not how many rows you get. Most businesses publish no address at all, so expect far fewer leads than this - and you are only charged for the ones that come back with a checked address.",
            "default": 20
          },
          "deliver": {
            "title": "Which addresses count as good enough",
            "enum": [
              "verified",
              "verified_and_risky",
              "any"
            ],
            "type": "string",
            "description": "\"verified\" means the mail server was asked about that exact mailbox and said yes - use this if the list is going into a mailing tool. \"verified_and_risky\" also keeps catch-all domains, where the server accepts every address and nobody can prove one way or the other; useful for research, risky for sending. \"any\" delivers every address found, checked or not, and charges for all of them.",
            "default": "verified"
          },
          "maxEmailsPerPlace": {
            "title": "Addresses to check per business",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "A contact page often lists several. Each check is a real conversation with someone's mail server, so this is deliberately small; the best verdict becomes the row's address and the rest are listed beside it.",
            "default": 3
          },
          "smtpCheck": {
            "title": "Ask the mail server",
            "type": "boolean",
            "description": "On by default, and it is the point of this Actor. Turned off, addresses are only checked for syntax, a real mail server on the domain, disposable providers and role mailboxes - and nothing is reported as verified, so with \"verified\" selected you will get no rows at all.",
            "default": true
          },
          "websiteFilter": {
            "title": "Businesses without a website",
            "enum": [
              "with",
              "any"
            ],
            "type": "string",
            "description": "Skipped by default: a business with no website has no page to read an address from, so reading it further would cost you money for a row that cannot exist. This filter is applied to the search result before anything else is fetched.",
            "default": "with"
          },
          "placeMinimumStars": {
            "title": "Minimum rating",
            "enum": [
              "",
              "two",
              "twoAndHalf",
              "three",
              "threeAndHalf",
              "four",
              "fourAndHalf"
            ],
            "type": "string",
            "description": "Leave empty for all. Businesses with no rating at all do not pass this filter.",
            "default": ""
          },
          "skipClosedPlaces": {
            "title": "Skip permanently closed businesses",
            "type": "boolean",
            "description": "A closed business is not a lead.",
            "default": true
          },
          "categoryFilterWords": {
            "title": "Only these categories",
            "type": "array",
            "description": "Leave empty for all. One word or phrase per line, matched against the business's own category.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Also fetch each business's full record",
            "type": "boolean",
            "description": "Off by default. A lead row already has name, address, phone, website, rating and category from the search itself. Turning this on adds opening hours, photos and the description, at the cost of a second fetch per business - measured at about 20% more run time for the same leads.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}