{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Reviews by Keyword Scraper",
    "description": "Google Maps reviews by keyword: only the reviews that mention your words (parking, rude, wait time), with matched keywords, stars, text, date, reviewer and owner reply; many places a run. $0.22 per 1,000 matching reviews on Starter, half the most-used rival's price, plus $0.01 per 1,000 read.",
    "version": "1.8",
    "x-build-id": "dMjOyb8O36aC3LnUA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deepmine~google-maps-reviews-by-keyword/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deepmine-google-maps-reviews-by-keyword",
        "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/deepmine~google-maps-reviews-by-keyword/runs": {
      "post": {
        "operationId": "runs-sync-deepmine-google-maps-reviews-by-keyword",
        "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/deepmine~google-maps-reviews-by-keyword/run-sync": {
      "post": {
        "operationId": "run-sync-deepmine-google-maps-reviews-by-keyword",
        "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": {
          "keywords": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Words or phrases to find, one per line (<strong>parking</strong>, <strong>rude staff</strong>, <strong>cold food</strong>). A review is kept when its text or Google's translation contains <strong>any</strong> of them (case-insensitive). Each row says which ones it matched (<code>matchedKeywords</code>). Google has no keyword search signed out, so each place's reviews are read until enough match.",
            "items": {
              "type": "string"
            }
          },
          "keywordsWholeWords": {
            "title": "🔤 Whole words only",
            "type": "boolean",
            "description": "On: <code>line</code> matches <em>the line was long</em> but not <em>online</em>. Off: part of a word counts too (<code>wait</code> finds <code>waiting</code>).",
            "default": true
          },
          "startUrls": {
            "title": "📍 Google Maps places",
            "type": "array",
            "description": "Place links (<code>https://www.google.com/maps/place/...</code>, share links <code>maps.app.goo.gl/...</code>, <code>?cid=</code> links, a review's own link <code>/maps/reviews/...</code>). Your compass startUrls paste as they are. A search link (<code>https://www.google.com/maps/search/dentist/@30.27,-97.74,14z</code>) runs as a search.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "placeIds": {
            "title": "🗃️ Place IDs",
            "type": "array",
            "description": "Google place IDs (<code>ChIJdzf8kEZZwokRXtSOY0-Kwaw</code> or <code>GhIJ...</code>), CIDs (<code>12448382918606115934</code>) or FIDs (<code>0x89c2598f7ff4aa09:0x313547e757cb8cea</code>).",
            "items": {
              "type": "string"
            }
          },
          "maxReviews": {
            "title": "💯 Matching reviews per place",
            "minimum": 0,
            "type": "integer",
            "description": "Matching reviews each place returns at most. <strong>Empty or 0</strong> = every matching review.",
            "default": 10000000
          },
          "maxReviewsScanned": {
            "title": "📖 Reviews to read per place",
            "minimum": 0,
            "type": "integer",
            "description": "How many of each place's reviews (in the order below) are read to look for matches. <strong>0</strong> = read every review. Reviews read cost a small flat add-on per 1,000 read (the amount is on the pricing tab); matching reviews are the rows you pay for. The run's status says when this limit stopped a place.",
            "default": 2000
          },
          "reviewsSort": {
            "title": "↕️ Order",
            "enum": [
              "newest",
              "mostRelevant",
              "highestRanking",
              "lowestRanking"
            ],
            "type": "string",
            "description": "The order Google lists the reviews in. With a reviews-per-place limit, it decides which reviews you get.",
            "default": "newest"
          },
          "reviewsStartDate": {
            "title": "📅 Only reviews since",
            "type": "string",
            "description": "Keep reviews last posted or edited on or after this date (<code>2026-01-31</code>) or within a span (<code>3 months</code>, <code>2 weeks</code>). With <strong>Newest first</strong> a place stops at the first older review, so a monitor run reads only what's new."
          },
          "reviewsEndDate": {
            "title": "📅 Only reviews up to",
            "type": "string",
            "description": "Keep reviews last posted or edited on or before this date (<code>2026-06-30</code>, the whole day) or older than a span (<code>1 month</code>). With <strong>Only reviews since</strong> it gives a date window, e.g. one quarter. Empty = up to today."
          },
          "searchStringsArray": {
            "title": "🔍 Search terms",
            "type": "array",
            "description": "Find places by what you would type in Google Maps, e.g. <strong>dentist</strong>; each place found returns its reviews.",
            "items": {
              "type": "string"
            }
          },
          "locationQuery": {
            "title": "📍 Location",
            "type": "string",
            "description": "City, neighborhood, ZIP code, state or country, e.g. <strong>Boise, ID</strong> or <strong>Berlin, Germany</strong>. Results stay inside the location's own boundary (a city search doesn't spill into its suburbs). Large areas are searched ZIP code by ZIP code and tile by tile automatically. Empty = Google picks the area your term names."
          },
          "maxCrawledPlacesPerSearch": {
            "title": "🏘️ Places per search term",
            "minimum": 1,
            "type": "integer",
            "description": "Places each search term returns at most. Empty = every place Google Maps has for it in the location.",
            "default": 20
          },
          "reviewsOrigin": {
            "title": "Review source",
            "enum": [
              "all",
              "google"
            ],
            "type": "string",
            "description": "Google's guest review list serves Google's own reviews; <strong>Google only</strong> also drops any partner-site review should one appear.",
            "default": "all"
          },
          "personalData": {
            "title": "Reviewer names and profiles",
            "type": "boolean",
            "description": "Off: reviews keep their text, stars and dates but not the reviewer's name, ID, profile link or photo.",
            "default": true
          },
          "language": {
            "title": "🌍 Language",
            "type": "string",
            "description": "Language of the place names, categories and translations. Reviews keep their own language; a review in another language also gets Google's translation (textTranslated).",
            "default": "en"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave as is: Apify datacenter proxy works for Google's review list.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}