{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper – Most Accurate Extractor",
    "description": "The most accurate Google Maps scraper and extractor: thousands of places across whole cities, beyond the limit of Google's official API, each one checked against the official city boundary. Names, addresses, phones, websites, ratings, reviews, coordinates & more. Export via API, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "QwOtGDhCcTrzVWbav"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/t800solutions~google-maps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-t800solutions-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/t800solutions~google-maps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-t800solutions-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/t800solutions~google-maps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-t800solutions-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": {
          "search_terms": {
            "title": "🔍 Search terms",
            "type": "array",
            "description": "What to look for, for example: dentist, plumber, coffee shop. Up to 10 terms. Optional if you use Google Maps links or place IDs below.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "Where to search, for example: Miami, FL, USA. A whole state works too (Florida, USA), or several states separated by semicolons (Florida; Georgia, USA). Include the state for US cities."
          },
          "max_places_per_search": {
            "title": "💯 Number of places to extract (per search term or link)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of places to return for each search term or search link. Prices are per 1,000 places delivered, so 1,000 places cost exactly the price you see. The higher the number, the longer the run takes.",
            "default": 50
          },
          "language": {
            "title": "🌍 Language",
            "enum": [
              "en",
              "es",
              "pt-BR",
              "pt-PT",
              "fr",
              "de",
              "it",
              "nl",
              "pl",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "el",
              "hu",
              "ro",
              "uk",
              "ru",
              "tr",
              "ar",
              "he",
              "hi",
              "id",
              "th",
              "vi",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW"
            ],
            "type": "string",
            "description": "Language of the Google Maps results. Categories and texts come in this language.",
            "default": "en"
          },
          "coverage": {
            "title": "🗺️ Area coverage",
            "enum": [
              "standard",
              "maximum"
            ],
            "type": "string",
            "description": "How the location is covered. Standard splits the search by neighborhood and keeps only places inside the official boundary of the city; it finishes early when new places have become rare, so you get most places quickly. Maximum searches every neighborhood to the end and also searches the map up close where Google's list is full; it finds a few more places but takes longer.",
            "default": "standard"
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City only, for example: Pittsburgh. Do not include the state or country here."
          },
          "state": {
            "title": "State",
            "type": "string",
            "description": "State, for example: Massachusetts. With no city, the whole state is searched."
          },
          "country_code": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code, for example: US or BR."
          },
          "start_urls": {
            "title": "Google Maps links (place links: Add-on $)",
            "type": "array",
            "description": "Up to 1,000 links. Search links, for example https://www.google.com/maps/search/dentist/@30.2672,-97.7431,14z, and place links (https://www.google.com/maps/place/...), including https://www.google.com/maps?cid=... and short links (goo.gl/maps, maps.app.goo.gl).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "place_ids": {
            "title": "Add-on: Place IDs ($)",
            "type": "array",
            "description": "Up to 1,000 Google place IDs, one per line. A place ID has 27 characters and starts with ChIJ or GhIJ, for example ChIJreV9aqYWdkgROM_boL6YbwA.",
            "items": {
              "type": "string"
            }
          },
          "category_filter": {
            "title": "🏷️ Add-on: Place categories ($)",
            "type": "array",
            "description": "Keep only places whose main or additional category contains one of these words, for example: dentist. One fee for the whole field, with any number of words. Use words in the same language as the Language field (categories follow it): 'dentist' does not match 'dentista'. Places with a missing or unusual category may be left out.",
            "items": {
              "type": "string"
            }
          },
          "minimum_rating": {
            "title": "⭐ Add-on: Minimum star rating ($)",
            "enum": [
              "",
              "2",
              "2.5",
              "3",
              "3.5",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Keep only places with a rating equal to or above this value. Places without reviews are left out.",
            "default": ""
          },
          "website_filter": {
            "title": "🌐 Add-on: Places with or without a website ($)",
            "enum": [
              "all",
              "with_website",
              "without_website"
            ],
            "type": "string",
            "description": "Keep only places that have a website, or only places that do not.",
            "default": "all"
          },
          "name_matching": {
            "title": "🔤 Add-on: Place name matches the search term ($)",
            "enum": [
              "all",
              "includes",
              "exact"
            ],
            "type": "string",
            "description": "Keep only places whose name includes the search term (for example 'pizza' keeps 'Joe's Pizza'), or whose name is exactly the search term. Upper and lower case and accents are ignored. Most businesses do not have the search term in their name, so this filter can skip most places.",
            "default": "all"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}