{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper: Places, Reviews & Photos (No Login)",
    "description": "Google Maps scraper for places from searches or URLs: name, address, phone, website, opening hours, rating, review count, categories and coordinates. Add details, top reviews, photos and reviewer profiles. Geo grid beats the 200-results cap. Export to CSV, Excel, JSON or API. No login.",
    "version": "0.1",
    "x-build-id": "p4iJe4Lf8Krn5t6NW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_forge_org~google-maps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_forge_org-google-maps-scraper",
        "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/data_forge_org~google-maps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-data_forge_org-google-maps-scraper",
        "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/data_forge_org~google-maps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-data_forge_org-google-maps-scraper",
        "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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Add what you would type in the Google Maps search box, e.g. <code>coffee shop</code> or <code>dentist</code>. Each query is combined with the location as <code>&lt;query&gt; in &lt;location&gt;</code> and returns up to <i>Max places per search</i> places (charged as <code>place</code>). A search with no result gives one free <code>NO_RESULTS</code> item.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Set the city, region or address to search in, as free text that Google Maps understands, e.g. <code>Austin, TX</code> or <code>Paris, France</code>. It is appended to every search query. Leave it empty when your queries already name a place."
          },
          "startUrls": {
            "title": "Google Maps URLs or ids",
            "type": "array",
            "description": "Add Google Maps search URLs, place URLs, contributor (reviewer) URLs, short links (maps.app.goo.gl), place ids (<code>ChIJ…</code>), feature ids (<code>0x…:0x…</code>) or CIDs. A place gives one place at detail depth; a contributor gives the profile and its reviews. A value that can't be read gives a free <code>INVALID_INPUT</code> item; the rest of the run continues.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxPlacesPerSearch": {
            "title": "Max places per search",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Set how many places each search query or search URL returns. Google Maps lists at most about 150–200 places per query; to go beyond that, turn on <i>Geo grid</i>. <code>0</code> = no limit (up to that cap, or the whole grid). A place found by two queries is returned once.",
            "default": 20
          },
          "scrapePlaceDetails": {
            "title": "Scrape place details",
            "type": "boolean",
            "description": "Fetch each place's full page (1 request per place) to add the owner's description, plus code, rating histogram, review topics and top photos. Each such place adds a <code>place_details</code> charge to its <code>place</code> charge. Places from <i>Google Maps URLs or ids</i> always come at detail depth.",
            "default": false
          },
          "scrapeTopReviews": {
            "title": "Scrape top reviews",
            "type": "boolean",
            "description": "Also return the 5–8 top reviews Google shows on each place (text, stars, date, reviewer, owner reply, sub-ratings), nested in the place's <code>reviews</code> list, each charged as <code>review</code>. Implies place details: it is the same request. The full review history of a place is not available without a login.",
            "default": false
          },
          "maxPhotosPerPlace": {
            "title": "Max photos per place",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Set how many photos and videos to return per place (up to 500): URLs, size, upload date, source. They are nested in the place's <code>photos</code> list, each charged as <code>photo</code>, and come 10 per request; the place is saved once its photos are fetched. <code>0</code> = no photos.",
            "default": 0
          },
          "maxContributorReviews": {
            "title": "Max reviews per contributor",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "For contributor (reviewer) URLs in <i>Google Maps URLs or ids</i>: set how many of the person's reviews to return with the profile, up to 200 in one request. The reviews are nested in the profile's <code>reviews</code> list, each charged as <code>review</code>; the profile is charged as <code>contributor</code>.",
            "default": 50
          },
          "geoGrid": {
            "title": "Geo grid",
            "type": "boolean",
            "description": "Search the area tile by tile to get past the per-query cap. The area is the location's map view, or <i>Custom area</i>. Only places inside the area are kept, each once. It takes more requests (about 15–40 per 1,000 places), so set <i>Max places per search</i> to bound it.",
            "default": false
          },
          "gridCellKm": {
            "title": "Grid tile size (km)",
            "minimum": 0.1,
            "maximum": 50,
            "type": "number",
            "description": "Set the starting tile half-height in kilometres. Dense tiles are split into 4, up to 3 times. Smaller tiles find more places but take longer: on Austin coffee shops, 3 km found 339 places in 1 minute, 0.75 km found 450 in 5 minutes. You pay per place found, never per tile.",
            "default": 1
          },
          "customArea": {
            "title": "Custom area",
            "type": "object",
            "description": "Geo grid only: search this circle instead of the location's map view, as <code>{\"lat\": 30.27, \"lng\": -97.74, \"radiusKm\": 5}</code> (radiusKm up to 500). Search queries are then sent without the location."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Set the language of the results as a code such as <code>en</code>, <code>fr</code>, <code>de</code> or <code>pt-BR</code>. It sets category names, opening hours text and labels, whatever the proxy's country.",
            "default": "en"
          },
          "countryCode": {
            "title": "Country",
            "type": "string",
            "description": "Set the 2-letter country code Google Maps uses for the region, e.g. <code>us</code>, <code>gb</code>, <code>fr</code>. It affects how ambiguous locations are resolved and how phone numbers are formatted.",
            "default": "us"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select the proxies used for Google Maps requests. Keep <b>Residential</b> proxies: Google rate-limits datacenter IPs quickly. Blocked responses are retried on a fresh IP.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Set the maximum number of requests in parallel. Each request in flight takes a few MB (plain HTTP, no browser; a 100-place search page is about 1.2 MB), so 10 fits in the default 512 MB.",
            "default": 10
          },
          "maxRequestRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Set how many times a blocked or failed request is retried on a fresh IP. When all retries fail, a free <code>BLOCKED</code> error item is written.",
            "default": 6
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}