{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper | $0.25/1K Results 💰",
    "description": "🔥 $0.25/1K results🔥 **CHEAPEST** Google Maps Scraper on Apify — 10× cheaper than competitors. Proxies & platform costs included. Results in seconds. Extract names, phones, addresses, ratings, hours & more. Multi-query, up to 200 results per search.",
    "version": "0.0",
    "x-build-id": "DWw7pduRwJNhYJ9pa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scraperlink~google-maps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scraperlink-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/scraperlink~google-maps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scraperlink-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/scraperlink~google-maps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scraperlink-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": {
          "query": {
            "title": "🔍 Search queries",
            "type": "array",
            "description": "Enter one search per line, for example `restaurants in Toronto`. Leave empty when using Google Maps URLs or Place IDs below.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "Optional named location, for example `Toronto, Canada`. Explicit coordinates, radius, bounding box, or polygon take precedence."
          },
          "locations": {
            "title": "📍 Locations",
            "maxItems": 50,
            "type": "array",
            "description": "Optional location list. Every search query is run in every location; when provided, this replaces the single Location value.",
            "items": {
              "type": "string"
            }
          },
          "num": {
            "title": "💯 Maximum results per query or source",
            "minimum": 10,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum unique places per query. Ordinary searches are capped at 200; radius, bounding-box, and polygon searches are capped at 500.",
            "default": 200
          },
          "gl": {
            "title": "Country code",
            "type": "string",
            "description": "Two-letter Google geolocation country code, such as `us`, `ca`, or `gb`.",
            "default": "us"
          },
          "hl": {
            "title": "Language",
            "type": "string",
            "description": "Google interface language code, such as `en`, `fr`, or `de`. Ignored when Languages is provided.",
            "default": "en"
          },
          "languages": {
            "title": "Languages",
            "maxItems": 10,
            "type": "array",
            "description": "Optional language list. Each search or direct source is collected once per language.",
            "items": {
              "type": "string"
            }
          },
          "placeDetails": {
            "title": "📌 Include additional place details (+$0.25 per 1,000 places)",
            "type": "boolean",
            "description": "Include richer hours, descriptions, amenities, accessibility, menus, booking options, related places, and additional metadata.",
            "default": false
          },
          "includeImages": {
            "title": "🖼 Include image gallery",
            "type": "boolean",
            "description": "Include available Google Maps place images, image dimensions, identifiers, and capture dates.",
            "default": false
          },
          "includeImageAuthors": {
            "title": "🧑‍🎨 Include image author attribution",
            "type": "boolean",
            "description": "Include available image author identifiers and Google Maps contributor links.",
            "default": false
          },
          "maxImages": {
            "title": "Maximum images per place",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum images retained for each place when image collection is enabled.",
            "default": 20
          },
          "popularTimes": {
            "title": "📊 Include Popular Times (+$0.25 per 1,000 places)",
            "type": "boolean",
            "description": "Include hourly visitor-traffic data when Google provides it.",
            "default": false
          },
          "reviews": {
            "title": "⭐ Include reviews (+$0.25 per 1,000 reviews)",
            "type": "boolean",
            "description": "Include reviewer metadata, review text, photos, ratings, dates, and owner responses.",
            "default": false
          },
          "maxReviews": {
            "title": "Maximum reviews per place",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum reviews to fetch for each place. Fewer may be returned when Google has fewer reviews available.",
            "default": 10
          },
          "reviewsSort": {
            "title": "Review sort order",
            "enum": [
              "most_relevant",
              "newest",
              "highest_rating",
              "lowest_rating"
            ],
            "type": "string",
            "description": "Order in which Google reviews are requested before applying the maximum.",
            "default": "most_relevant"
          },
          "latitude": {
            "title": "Center latitude",
            "type": "number",
            "description": "Latitude of the search center. Use together with longitude."
          },
          "longitude": {
            "title": "Center longitude",
            "type": "number",
            "description": "Longitude of the search center. Use together with latitude."
          },
          "radiusKm": {
            "title": "Search radius (km)",
            "minimum": 0.1,
            "type": "number",
            "description": "Limit the search area to this radius around the center coordinates."
          },
          "boundingBox": {
            "title": "Bounding box",
            "type": "object",
            "description": "Optional bounds with `south`, `west`, `north`, and `east` values."
          },
          "polygon": {
            "title": "Polygon",
            "type": "array",
            "description": "Optional JSON array of `[latitude, longitude]` points defining the search area."
          },
          "customGeolocation": {
            "title": "GeoJSON polygon",
            "type": "object",
            "description": "Optional GeoJSON Polygon. Coordinates use GeoJSON order: `[longitude, latitude]`. This takes precedence over Polygon."
          },
          "gridSpacingKm": {
            "title": "Grid spacing (km)",
            "minimum": 0.1,
            "type": "number",
            "description": "Coverage spacing for area searches. Smaller values provide denser geographic coverage.",
            "default": 2
          },
          "searchWorkers": {
            "title": "Concurrent area-search workers",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Number of map centers searched concurrently. Higher values reduce area-search runtime but increase request concurrency.",
            "default": 4
          },
          "skipClosedPlaces": {
            "title": "Skip closed places",
            "type": "boolean",
            "description": "Exclude places Google marks temporarily or permanently closed before they are saved or billed.",
            "default": false
          },
          "geoStrictMatch": {
            "title": "Only places inside the area",
            "type": "boolean",
            "description": "For radius, bounding-box, and polygon searches, exclude results whose coordinates fall outside the requested area.",
            "default": true
          },
          "keepUnverifiedLocations": {
            "title": "Keep businesses with no address",
            "type": "boolean",
            "description": "Keep service-area and other businesses for which Google does not expose a verifiable street or locality address.",
            "default": true
          },
          "skipPlacesNotMatchingSearch": {
            "title": "Only places matching the search",
            "type": "boolean",
            "description": "Exclude results whose title and Google categories do not contain any meaningful term from the search query.",
            "default": false
          },
          "startUrls": {
            "title": "🔗 Google Maps URLs",
            "type": "array",
            "description": "Enter one direct Google Maps place or search URL per line.",
            "items": {
              "type": "string"
            }
          },
          "placeIds": {
            "title": "🗃 Google Maps Place IDs",
            "type": "array",
            "description": "Enter one Google Maps Place ID per line.",
            "items": {
              "type": "string"
            }
          },
          "fields": {
            "title": "📋 Fields to return",
            "type": "string",
            "description": "Optional comma-separated field names. Leave empty to return all available fields. Required add-on fields are included automatically."
          },
          "resumeState": {
            "title": "Resume state",
            "type": "object",
            "description": "Advanced recovery option. Paste the CHECKPOINT record from an interrupted run using the same input."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}