{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Map Scraper",
    "description": "Scrape Google Maps places by keyword, link or place ID. Get name, category, address, phone, website, rating, reviews, hours, coordinates and lead flags like no website or low rating as clean JSON. Bulk input, live results, no API key or login needed.",
    "version": "1.0",
    "x-build-id": "50gSFQ9i4PpwFFTvb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/insights_data~google-map-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-insights_data-google-map-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/insights_data~google-map-scraper/runs": {
      "post": {
        "operationId": "runs-sync-insights_data-google-map-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/insights_data~google-map-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-insights_data-google-map-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",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "🔎 Search terms and Maps links",
            "minItems": 1,
            "type": "array",
            "description": "One per line: a keyword or category (dentist, coffee shop), a Google Maps search or place link, or a place id starting with ChIJ. Duplicates are removed. Add as many as you like.",
            "items": {
              "type": "string"
            }
          },
          "locationQuery": {
            "title": "🏙️ Location",
            "type": "string",
            "description": "City, region, address or country to search in, for example New York, USA. Used with keywords; links that already point at an area keep their own area. Use one location per run."
          },
          "maxCrawledPlacesPerSearch": {
            "title": "💯 Places per search",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum places to return for each keyword or link. Use 0 for everything Google shows; big areas are scanned in parts to go past the usual limit.",
            "default": 10
          },
          "scrapePlaceDetailPage": {
            "title": "🧬 Place details",
            "type": "boolean",
            "description": "Adds the star-by-star rating breakdown, review topics, amenities and attributes, more photos and owner posts for every place. Slower, because each place needs one extra step.",
            "default": false
          },
          "categoryFilterWords": {
            "title": "🏷️ Place categories",
            "type": "array",
            "description": "Keep only places whose category contains one of these words, for example dentist or pizza. Leave empty to keep every category.",
            "items": {
              "type": "string"
            }
          },
          "placeMinimumStars": {
            "title": "⭐ Minimum star rating",
            "enum": [
              "",
              "two",
              "twoAndHalf",
              "three",
              "threeAndHalf",
              "four",
              "fourAndHalf"
            ],
            "type": "string",
            "description": "Skip places rated below this value.",
            "default": ""
          },
          "website": {
            "title": "🌐 Website filter",
            "enum": [
              "allPlaces",
              "withWebsite",
              "withoutWebsite"
            ],
            "type": "string",
            "description": "Keep all places, only places that list a website, or only places without one.",
            "default": "allPlaces"
          },
          "skipClosedPlaces": {
            "title": "🚫 Skip closed places",
            "type": "boolean",
            "description": "Leave out places that are permanently or temporarily closed.",
            "default": false
          },
          "language": {
            "title": "🈯 Language",
            "enum": [
              "en",
              "af",
              "sq",
              "ar",
              "hy",
              "az",
              "eu",
              "be",
              "bn",
              "bs",
              "bg",
              "ca",
              "zh-CN",
              "zh-TW",
              "hr",
              "cs",
              "da",
              "nl",
              "et",
              "fil",
              "fi",
              "fr",
              "gl",
              "ka",
              "de",
              "el",
              "gu",
              "iw",
              "hi",
              "hu",
              "is",
              "id",
              "it",
              "ja",
              "kn",
              "kk",
              "ko",
              "lv",
              "lt",
              "mk",
              "ms",
              "ml",
              "mr",
              "ne",
              "no",
              "fa",
              "pl",
              "pt-BR",
              "pt-PT",
              "pa",
              "ro",
              "ru",
              "sr",
              "si",
              "sk",
              "sl",
              "es",
              "es-419",
              "sw",
              "sv",
              "ta",
              "te",
              "th",
              "tr",
              "uk",
              "ur",
              "uz",
              "vi",
              "cy",
              "zu"
            ],
            "type": "string",
            "description": "Language of the results: category names, opening hours text and descriptions.",
            "default": "en"
          },
          "countryCode": {
            "title": "🗺️ Country",
            "enum": [
              "",
              "us",
              "gb",
              "ca",
              "au",
              "nz",
              "ie",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "nl",
              "be",
              "lu",
              "ch",
              "at",
              "se",
              "no",
              "dk",
              "fi",
              "is",
              "pl",
              "cz",
              "sk",
              "si",
              "hr",
              "rs",
              "ba",
              "me",
              "mk",
              "al",
              "bg",
              "ro",
              "hu",
              "gr",
              "cy",
              "mt",
              "ee",
              "lv",
              "lt",
              "ua",
              "by",
              "md",
              "ru",
              "ge",
              "am",
              "az",
              "kz",
              "uz",
              "tr",
              "il",
              "ps",
              "lb",
              "jo",
              "sy",
              "iq",
              "ir",
              "kw",
              "bh",
              "qa",
              "ae",
              "om",
              "ye",
              "sa",
              "eg",
              "ly",
              "tn",
              "dz",
              "ma",
              "sd",
              "et",
              "ke",
              "tz",
              "ug",
              "rw",
              "gh",
              "ng",
              "sn",
              "ci",
              "cm",
              "ao",
              "zm",
              "zw",
              "mz",
              "na",
              "bw",
              "za",
              "mg",
              "mu",
              "in",
              "pk",
              "bd",
              "lk",
              "np",
              "af",
              "cn",
              "hk",
              "mo",
              "tw",
              "jp",
              "kr",
              "mn",
              "sg",
              "my",
              "th",
              "vn",
              "kh",
              "la",
              "mm",
              "id",
              "ph",
              "bn",
              "pg",
              "fj",
              "mx",
              "gt",
              "hn",
              "sv",
              "ni",
              "cr",
              "pa",
              "cu",
              "do",
              "ht",
              "jm",
              "pr",
              "tt",
              "bs",
              "br",
              "ar",
              "cl",
              "uy",
              "py",
              "bo",
              "pe",
              "ec",
              "co",
              "ve"
            ],
            "type": "string",
            "description": "Country to search in. Also biases the results towards this country. Used as the location when no location is typed above.",
            "default": ""
          },
          "city": {
            "title": "🌆 City",
            "type": "string",
            "description": "City to search in. Used when no location is typed above."
          },
          "state": {
            "title": "🏛️ State",
            "type": "string",
            "description": "State or region. Used when no location is typed above."
          },
          "county": {
            "title": "🏞️ County",
            "type": "string",
            "description": "County or district. Used when no location is typed above."
          },
          "postalCode": {
            "title": "📮 Postal code",
            "type": "string",
            "description": "Postal or ZIP code. Used when no location is typed above."
          },
          "proxyConfiguration": {
            "title": "🛡 Proxy",
            "type": "object",
            "description": "Runs without a proxy by default. If Google refuses the requests, the Actor switches to a datacenter proxy, then a residential proxy, and stays on it.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}