{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper",
    "description": "Stop wasting your budget on slow, resource-heavy browser-based scrapers. This is the fastest, most cost-effective, and data-rich Google Maps scraper on Apify, designed for high-scale lead generation and market research.",
    "version": "2.0",
    "x-build-id": "pWMq8b0LP62XEXHgs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vortex_data~google-maps/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vortex_data-google-maps",
        "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/vortex_data~google-maps/runs": {
      "post": {
        "operationId": "runs-sync-vortex_data-google-maps",
        "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/vortex_data~google-maps/run-sync": {
      "post": {
        "operationId": "run-sync-vortex_data-google-maps",
        "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": {
          "searchStringsArray": {
            "title": "🔍 Search term(s)",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "What you would type into Google Maps — <code>restaurant</code>, <code>dentist</code>, <code>recording studio</code>. One per line.<br><br>Leave the city out of the term and put it in 📍 <b>Location(s)</b>: a term that already names the place makes Google search for it twice and return less.",
            "items": {
              "type": "string"
            }
          },
          "locationQueries": {
            "title": "📍 Location(s)",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "One complete location per line — <code>Brooklyn, New York, United States</code>. Each is geocoded and searched on its own, and 💯 <b>Number of places</b> applies per search term per location.<br><br>One place per line: two cities on one line resolve to neither. City + country, or neighbourhood + city, works best.",
            "items": {
              "type": "string"
            }
          },
          "geoStrictMatch": {
            "title": "📍 Keep only places inside the search area",
            "type": "boolean",
            "description": "Keeps only places inside the resolved area — anything outside is dropped, never saved and never charged. A place just past the boundary still counts as inside when Google files it under the requested city.<br><br>If the area holds nothing at all, the run stops early and names the towns your results were actually in.<br><br>Off: nearby towns are kept too, marked <code>insideSearchArea=false</code>.",
            "default": false
          },
          "keepUnverifiedLocations": {
            "title": "🚚 Keep businesses with no address (service-area businesses)",
            "type": "boolean",
            "description": "A business with no storefront — a mobile plumber, a studio run from home — has no address on Google and a placeholder coordinate, so strict matching cannot check it and drops it.<br><br>Turn this on to keep them anyway, flagged <code>locationUnverified=true</code>, with an empty address rather than an invented one. Often the best rows for lead generation. Only matters with 📍 <b>Keep only places inside the search area</b> on.",
            "default": false
          },
          "maxCrawledPlacesPerSearch": {
            "title": "💯 Number of places to extract (per search term, location, or URL)",
            "minimum": 10,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of places to keep for each search term in each location, or for each direct URL. Higher values take longer and may use more requests.<br><br>For quick tests, use <b>50</b>. For city-scale lead lists, use <b>500</b> or more.",
            "default": 50
          },
          "language": {
            "title": "🌍 Language",
            "enum": [
              "en",
              "fi",
              "sv",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "uk",
              "pl",
              "tr",
              "nl",
              "ja",
              "ko",
              "zh-CN",
              "ar",
              "hi"
            ],
            "type": "string",
            "description": "Google Maps language used for names, categories, addresses, and labels.",
            "default": "en"
          },
          "skipClosedPlaces": {
            "title": "⏩ Skip closed places",
            "type": "boolean",
            "description": "Skip places that Google marks as temporarily or permanently closed. Useful when you only want currently active businesses.",
            "default": false
          },
          "extractContactsFromWebsite": {
            "title": "⏩ Add-on: Company contacts enrichment (from website)",
            "type": "boolean",
            "description": "Visits each business website and extracts emails, extra phone numbers and social links (Facebook, Instagram, LinkedIn, X, YouTube, TikTok, WhatsApp).<br><br>The homepage first, then a contact or about page only when the homepage has no email — no deep crawling. Rows are saved as each site is processed, and enriched places are charged separately.",
            "default": false
          },
          "contactsFetchContactPage": {
            "title": "Try lightweight contact pages",
            "type": "boolean",
            "description": "When a homepage has no email, also try its contact-style pages — <code>/contact</code>, <code>/contacto</code>, <code>/impressum</code>, <code>/kundservice</code>. Keeps enrichment to the homepage and one contact page, never a crawl of the whole site.",
            "default": true
          },
          "contactsProxyFallback": {
            "title": "Retry failed website contact pages with proxy",
            "type": "boolean",
            "description": "If a website refuses a direct visit, retry that one request through the residential proxy. Direct first for speed, proxy only to recover a site that blocks it.<br><br>Turn off for the lowest possible proxy bandwidth.",
            "default": true
          },
          "contactsFilterEmailsByWebsiteDomain": {
            "title": "Keep only emails related to the website",
            "type": "boolean",
            "description": "Keeps the emails that belong to the business: its own domain, close variants of it, and Gmail/Yahoo addresses published on its own site.<br><br>Off: every valid-looking public email found on the pages visited, including those of agencies, vendors and parent companies.",
            "default": true
          },
          "contactsSkipChains": {
            "title": "Skip global chains during contact enrichment",
            "type": "boolean",
            "description": "Skip enrichment for large chains whose corporate websites rarely contain useful local branch emails.",
            "default": true
          },
          "contactsTimeoutSecs": {
            "title": "Website timeout",
            "minimum": 3,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum seconds to wait for each business website during contact enrichment.",
            "default": 10
          },
          "maxReviewsPerPlace": {
            "title": "Number of reviews to extract",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "How many reviews to attach to each place. Set to <b>0</b> for the fastest run. Reviews are fetched from Google's paginated review feed; large values can take noticeably longer and use more requests.",
            "default": 0
          },
          "reviewsSort": {
            "title": "Sort reviews by",
            "enum": [
              "newest",
              "most_relevant",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "Requested review ordering for Google's paginated reviews endpoint. Google can still return its default ordering for some places.",
            "default": "newest"
          },
          "additionalLanguages": {
            "title": "➕ Extra languages (finds more places)",
            "maxItems": 5,
            "uniqueItems": true,
            "type": "array",
            "description": "Runs the same search again in other Google Maps languages — <code>de</code>, <code>es</code>, <code>fr</code>.<br><br>Each language reshuffles Google's ranking, so places buried below its per-view cap surface: measured, three extra languages found 20–35% more places than English alone. It is not just translated category names. Each language costs another pass.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "countryCode": {
            "title": "🗺 Country",
            "type": "string",
            "description": "Another way to give the search area: an ISO country code — <code>US</code>, <code>DE</code>, <code>FI</code>. Use it only when 📍 <b>Location(s)</b> and 🛰 <b>Custom search area</b> are empty."
          },
          "city": {
            "title": "🌇 City",
            "type": "string",
            "description": "City name used only when 📍 <b>Location(s)</b> and 🛰 <b>Custom search area</b> are empty.<br><br>⚠️ Do not include state or country here; use the separate fields."
          },
          "state": {
            "title": "State / region",
            "type": "string",
            "description": "State, province, or region used only when 📍 <b>Location(s)</b> and 🛰 <b>Custom search area</b> are empty. Mainly useful for countries such as the United States."
          },
          "county": {
            "title": "County / district",
            "type": "string",
            "description": "County, district, municipality, or similar regional unit used only when 📍 <b>Location(s)</b> and 🛰 <b>Custom search area</b> are empty. This is not the Country field."
          },
          "postalCode": {
            "title": "Postal code",
            "type": "string",
            "description": "ZIP / postal code used only when 📍 <b>Location(s)</b> and 🛰 <b>Custom search area</b> are empty.<br><br>⚠️ Use one postal code at a time."
          },
          "customGeolocation": {
            "title": "🛰 Custom search area (GeoJSON)",
            "type": "object",
            "description": "An exact search area as GeoJSON. Paste it exactly as your map editor exported it — <code>FeatureCollection</code> and <code>Feature</code> (what geojson.io, QGIS, Mapbox and My Maps produce) work as well as a bare <code>Polygon</code>, <code>MultiPolygon</code>, or <code>Point</code> with <code>radiusKm</code>. Several shapes in one file are all searched. Use it when a city's own boundary is not the area you mean.<br><br>Very small polygons are risky — Google may return nothing at all inside one. For grid-cell work, scrape a larger area and split the results afterwards."
          },
          "startUrls": {
            "title": "🔗 Google Maps URLs",
            "maxItems": 500,
            "type": "array",
            "description": "Full Google Maps URLs, one per line.<br><br>A place: open it, Share → Copy link (<code>maps.app.goo.gl/…</code>, <code>…/maps/place/…</code>, or a URL with <code>query_place_id</code> or <code>cid</code>). A copied search page (<code>…/maps/search/…/@lat,lng,zoom</code>) is scraped as a search of that map view.<br><br>Shortened links are followed for you.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "placeIds": {
            "title": "🗃 Place IDs",
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Raw Google Place IDs, one per line — <code>ChIJreV9aqYWdkgROM_boL6YbwA</code>.<br><br>From the Places API, Google's Place ID Finder, or a <code>query_place_id</code> URL parameter. Not full URLs, not short <code>/g/…</code> IDs, not <code>fid</code>s.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}