{
  "openapi": "3.0.1",
  "info": {
    "title": "Free Google Maps Scraper II",
    "description": "Free Google Maps scraper — no API key. Extract businesses & places by search term and location: name, address, phone, website, rating, category, GPS coordinates. Export to CSV, Excel, JSON. Great for lead generation & local SEO.",
    "version": "0.0",
    "x-build-id": "udvctKkfKAK3W5WjN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fit_melon~free-google-maps-scraper-ii/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fit_melon-free-google-maps-scraper-ii",
        "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/fit_melon~free-google-maps-scraper-ii/runs": {
      "post": {
        "operationId": "runs-sync-fit_melon-free-google-maps-scraper-ii",
        "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/fit_melon~free-google-maps-scraper-ii/run-sync": {
      "post": {
        "operationId": "run-sync-fit_melon-free-google-maps-scraper-ii",
        "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 terms",
            "type": "array",
            "description": "One or more things to search for on Google Maps, e.g. \"coffee shops\", \"dentist\", \"hotels\". Each term is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "locationQuery": {
            "title": "Location",
            "type": "string",
            "description": "Free-text location to center the search on, e.g. \"Austin, TX\", \"Paris, France\". Geocoded automatically. Leave empty to rely only on the search term."
          },
          "maxCrawledPlacesPerSearch": {
            "title": "Max places per search term",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of places to return for each search term (across all tiles). Results are paginated in pages of 20.",
            "default": 20
          },
          "startUrls": {
            "title": "Google Maps place URLs",
            "type": "array",
            "description": "Optional. A list of Google Maps place URLs (e.g. https://www.google.com/maps/place/...) to scrape directly. Great for enriching an existing list.",
            "items": {
              "type": "string"
            }
          },
          "placeIds": {
            "title": "Place CIDs",
            "type": "array",
            "description": "Optional. A list of Google Maps CIDs (numeric) to resolve directly.",
            "items": {
              "type": "string"
            }
          },
          "categoryFilterWords": {
            "title": "Category filter",
            "type": "array",
            "description": "Keep only places whose category contains one of these words (case-insensitive), e.g. \"restaurant\", \"bar\". Leave empty to keep all.",
            "items": {
              "type": "string"
            }
          },
          "placeMinimumStars": {
            "title": "Minimum rating",
            "type": "string",
            "description": "Keep only places with a rating >= this value (e.g. \"4.0\"). Leave empty for no minimum."
          },
          "onlyWithWebsite": {
            "title": "Only places with a website",
            "type": "boolean",
            "description": "Skip places that have no website.",
            "default": false
          },
          "onlyWithPhone": {
            "title": "Only places with a phone number",
            "type": "boolean",
            "description": "Skip places that have no phone number.",
            "default": false
          },
          "scrapeContacts": {
            "title": "Enrich with e-mails & social profiles",
            "type": "boolean",
            "description": "For each place that has a website, visit it and extract e-mail addresses and social media profiles (Facebook, Instagram, LinkedIn, X, YouTube, TikTok). Slower, but great for lead generation.",
            "default": false
          },
          "scrapeDetails": {
            "title": "Deep details (review count, full weekly hours, reviews)",
            "type": "boolean",
            "description": "Deep mode (headless browser): fetches the real review count, the full 7-day opening hours and individual reviews. Much slower (~20-30s/place) and best run with more memory (2-4 GB). Leave off for fast runs. Note: Google renders some atypical places incompletely — a few may come back without deep fields.",
            "default": false
          },
          "maxReviews": {
            "title": "Max reviews per place",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "In deep mode, also scrape up to this many individual reviews (author, rating, text, date) per place. 0 = don't scrape review text. Higher values are slower.",
            "default": 0
          },
          "detailsConcurrency": {
            "title": "Deep-mode concurrency (browser pages)",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many places to process in parallel in deep mode. Headless browser pages are heavy — keep at 1 on small (1-2 GB) runs; raise to 2-3 only with 4 GB+ memory.",
            "default": 1
          },
          "tiles": {
            "title": "Geographic grid (tiling)",
            "minimum": 1,
            "maximum": 7,
            "type": "integer",
            "description": "Split the area into an N×N grid of sub-searches to exceed Google's ~120-results-per-search limit and get exhaustive coverage. 1 = off (default). Try 3 for a city. Requires a location.",
            "default": 1
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language code (Google `hl`), e.g. \"en\", \"fr\", \"es\".",
            "default": "en"
          },
          "countryCode": {
            "title": "Country code",
            "type": "string",
            "description": "Country bias (Google `gl`), e.g. \"us\", \"fr\", \"gb\".",
            "default": "us"
          },
          "latitude": {
            "title": "Latitude (optional)",
            "type": "string",
            "description": "Override the map center latitude. If set with longitude, location geocoding is skipped."
          },
          "longitude": {
            "title": "Longitude (optional)",
            "type": "string",
            "description": "Override the map center longitude."
          },
          "zoom": {
            "title": "Zoom (1-21)",
            "minimum": 1,
            "maximum": 21,
            "type": "integer",
            "description": "Map zoom level. Higher = tighter area around the center. Default 12 (city level).",
            "default": 12
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Number of attempts per request before giving up (with exponential backoff).",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Concurrency (contact enrichment)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many websites to visit in parallel when 'Enrich with e-mails & social profiles' is on. Higher = faster, but heavier on proxy/compute. Default 10.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. Recommended for larger runs. You pay only for your own Apify proxy usage; residential proxies (optional) improve success rate at scale.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}