{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Reviews Scraper & API | EveryInfra",
    "description": "Unofficial Google Maps Reviews data via one Actor: search, profile, reviews, contributor_reviews, business_listings. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.",
    "version": "0.1",
    "x-build-id": "z8zcmSqFYoToeO1bv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blushing_parachute~everyinfra-google-maps-reviews-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blushing_parachute-everyinfra-google-maps-reviews-api",
        "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/blushing_parachute~everyinfra-google-maps-reviews-api/runs": {
      "post": {
        "operationId": "runs-sync-blushing_parachute-everyinfra-google-maps-reviews-api",
        "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/blushing_parachute~everyinfra-google-maps-reviews-api/run-sync": {
      "post": {
        "operationId": "run-sync-blushing_parachute-everyinfra-google-maps-reviews-api",
        "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": [
          "action"
        ],
        "properties": {
          "action": {
            "title": "Action",
            "enum": [
              "search",
              "profile",
              "reviews",
              "contributor_reviews",
              "business_listings"
            ],
            "type": "string",
            "description": "What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.",
            "default": "search"
          },
          "keyword": {
            "title": "keyword",
            "type": "string",
            "description": "Used by `search` (required). A Google Maps place name, business type, or place query, such as `dentist` or `dentist in Chicago`. `search` finds places; it does not search the text of reviews for an existing business."
          },
          "country": {
            "title": "country",
            "type": "string",
            "description": "Used by `search`, `business_listings`. The country or region code used to establish search context, such as `us`; the default is `us`. It is not a guarantee that every returned business is located in that country."
          },
          "language": {
            "title": "language",
            "type": "string",
            "description": "Used by `search`, `profile`, `reviews`. The language used for the query or page content; the default is `en`. For reviews, `lang` overrides this value when both are supplied. This setting does not guarantee that every review was written in that language."
          },
          "location": {
            "title": "location",
            "type": "string",
            "description": "Used by `search`. The place text combined with `keyword` for `search`, such as `Chicago`. Avoid supplying a location that conflicts with a location already embedded in the keyword."
          },
          "page_token": {
            "title": "page_token",
            "type": "string",
            "description": "Leave empty for the first page. To continue, copy next_page_token from the previous run's OUTPUT."
          },
          "url": {
            "title": "url",
            "type": "string",
            "description": "Used by `profile` (required), `reviews` (required). A full Google Maps place URL, preferably the URL returned by search with `query_place_id` preserved. A `/place/` URL containing only a name and coordinates may not identify the same business reliably. Use profile for place details and reviews for that place's reviews."
          },
          "city": {
            "title": "city",
            "type": "string",
            "description": "Used by `profile`, `business_listings`. A city constraint for place discovery. Although the profile action also exposes this parameter, it cannot move a known business to another city or reliably replace the place URL."
          },
          "since": {
            "title": "since",
            "type": "string",
            "description": "Used by `profile`, `reviews`. The lower publication-date boundary for reviews, preferably in `YYYY-MM-DD` format. It is not the business opening date. Its presence on the profile action does not mean place details are filtered by opening date."
          },
          "sort": {
            "title": "sort",
            "enum": [
              "newest",
              "relevance"
            ],
            "type": "string",
            "description": "Used by `profile`, `reviews`. The review order: `newest` for recent reviews or `relevance` for the platform's relevance order. Reviews default to `newest`. On profile, the same name can affect attached review data but does not sort the single place object."
          },
          "lang": {
            "title": "lang",
            "enum": [
              "af",
              "am",
              "ar",
              "az",
              "bg",
              "bn",
              "bs",
              "ca",
              "cs",
              "da",
              "de",
              "el",
              "en",
              "es",
              "es419",
              "et",
              "eu",
              "fa",
              "fi",
              "fil",
              "fr",
              "gl",
              "gu",
              "hi",
              "hr",
              "hu",
              "hy",
              "id",
              "is",
              "it",
              "iw",
              "ja",
              "ka",
              "kk",
              "km",
              "kn",
              "ko",
              "ky",
              "lo",
              "lt",
              "lv",
              "mk",
              "ml",
              "mn",
              "mr",
              "ms",
              "my",
              "ne",
              "nl",
              "no",
              "pa",
              "pl",
              "ptbr",
              "ptpt",
              "ro",
              "ru",
              "si",
              "sk",
              "sl",
              "sq",
              "sr",
              "sv",
              "sw",
              "ta",
              "te",
              "th",
              "tr",
              "uk",
              "ur",
              "uz",
              "vi",
              "zhcn",
              "zhtw",
              "zu"
            ],
            "type": "string",
            "description": "Used by `reviews`. The reviews language option, such as `en`, `zhcn`, or `zhtw`; use the action's complete allowed-value list. It takes precedence over `language`. It does not filter by a review author's nationality."
          },
          "contributor": {
            "title": "contributor",
            "type": "string",
            "description": "Used by `contributor_reviews` (required). A Google Maps reviewer, given as their profile link (https://www.google.com/maps/contrib/<numeric ID>) or just the 10 to 32 digit ID. The reviewer links in `reviews` results lead to this page. `contributor_reviews` returns up to 200 reviews this person has written."
          },
          "category": {
            "title": "category",
            "type": "string",
            "description": "Used by `business_listings` (required). The Google Maps business category for `business_listings`, in lowercase English with underscores for spaces, such as `dentist`, `coffee_shop` or `italian_restaurant`."
          },
          "min_rating": {
            "title": "min_rating",
            "type": "number",
            "description": "Used by `business_listings`. The lowest star rating to keep in `business_listings`, from 1 to 5; decimals such as `4.5` work."
          },
          "name": {
            "title": "name",
            "type": "string",
            "description": "Used by `business_listings`. A word the business name must contain in `business_listings`, such as a brand; businesses without it in their name are dropped."
          },
          "limit": {
            "title": "limit",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many results to request for list actions. Defaults and maximums per action: `search` 15 (max 50); `reviews` 20 (max 100); `contributor_reviews` 20 (max 200); `business_listings` 20 (max 20). Billing: `search` one event per started block of 15 results; `reviews` one event per started block of 20 results; `contributor_reviews` one event per started block of 20 results; `business_listings` one event per non-empty request, whatever the row count."
          },
          "params": {
            "title": "params (advanced)",
            "type": "object",
            "description": "Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}