{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper - Leads, Emails & Reviews",
    "description": "Find businesses on Google Maps by type and location. Get names, addresses, phone numbers, websites, ratings and review counts where available. Export to CSV, Excel or JSON, or use the API. Duplicate listings are removed, and incomplete or blocked searches are reported. No Google API key needed.",
    "version": "0.0",
    "x-build-id": "rztoGIcSxLUxiJK2y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/overbifrost~google-maps-business-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-overbifrost-google-maps-business-data",
        "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/overbifrost~google-maps-business-data/runs": {
      "post": {
        "operationId": "runs-sync-overbifrost-google-maps-business-data",
        "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/overbifrost~google-maps-business-data/run-sync": {
      "post": {
        "operationId": "run-sync-overbifrost-google-maps-business-data",
        "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": {
            "title": "Business type or search term",
            "minLength": 1,
            "maxLength": 200,
            "type": "string",
            "description": "What businesses do you want to find on Google Maps? For example plumber, dentist, accountant, coffee shop, or auto repair. Use Location or one advanced geometry option for the area."
          },
          "location": {
            "title": "Location",
            "minLength": 1,
            "maxLength": 300,
            "type": "string",
            "description": "City, region, or area to search, for example London, UK; Austin, TX; or Sydney, Australia. Leave empty only when you use Center coordinates, Bounding box, or GeoJSON polygon below."
          },
          "maxBusinesses": {
            "title": "Maximum businesses",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum unique Google Maps businesses to return across the run. API/runtime default 100; hard maximum 5,000. This is a global result cap across every search leg, not a per-city cap and not a guarantee that Google Maps exposes that many matches.",
            "default": 100
          },
          "searchTerms": {
            "title": "Search terms (multi-city shortcut, optional)",
            "minItems": 1,
            "maxItems": 25,
            "uniqueItems": true,
            "type": "array",
            "description": "Convenience input for lead generation across several niches and cities. Add one term per item and pair it with Locations below. The Actor creates every term × location combination using the same bounded HTTP-first search engine. Maximum 25 combinations total.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "locations": {
            "title": "Locations (multi-city shortcut, optional)",
            "minItems": 1,
            "maxItems": 25,
            "uniqueItems": true,
            "type": "array",
            "description": "Locations paired with Search terms above, for example London, UK; Manchester, UK; Leeds, UK. Every term is searched in every location. Maximum 25 combinations total.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 300
            }
          },
          "searches": {
            "title": "Independent searches (advanced, optional)",
            "minItems": 1,
            "maxItems": 25,
            "type": "array",
            "description": "Advanced alternative when each query needs its own location or geometry. Click Add item for each search. Use this instead of the simple search or Search terms + Locations shortcut.",
            "items": {
              "type": "object",
              "properties": {
                "search": {
                  "title": "Search term",
                  "type": "string",
                  "description": "Business type or search term for this item, for example dentist or coffee shop.",
                  "editor": "textfield",
                  "minLength": 1,
                  "maxLength": 200
                },
                "location": {
                  "title": "Location (optional)",
                  "type": "string",
                  "description": "Usually the easiest anchor for this search, for example London, UK. Leave empty only if you provide Center coordinates, Bounding box, or GeoJSON polygon for this item.",
                  "editor": "textfield",
                  "minLength": 1,
                  "maxLength": 300
                },
                "center": {
                  "title": "Center coordinates (optional, advanced)",
                  "type": "object",
                  "description": "Optional geometry anchor for this search item. Enter JSON like {\"latitude\":51.5,\"longitude\":-0.12}. If used, Radius can further limit the area. Do not combine with Bounding box or Polygon.",
                  "editor": "json"
                },
                "radiusKm": {
                  "title": "Radius (km, optional)",
                  "type": "number",
                  "description": "Optional radius around Center coordinates, from 0.1 to 100 km. Requires Center coordinates.",
                  "minimum": 0.1,
                  "maximum": 100,
                  "editor": "number"
                },
                "boundingBox": {
                  "title": "Bounding box (optional, advanced)",
                  "type": "object",
                  "description": "Alternative rectangular geometry anchor. Enter JSON with north, south, east, and west. Do not combine with Center or Polygon.",
                  "editor": "json"
                },
                "polygon": {
                  "title": "GeoJSON polygon (optional, advanced)",
                  "type": "object",
                  "description": "Exact WGS84 GeoJSON Polygon or MultiPolygon result fence using [longitude, latitude] coordinates. Rings must be explicitly closed. Google Maps results outside the shape are excluded; records whose coordinates cannot establish polygon membership are not silently treated as in-area. Do not combine with Center or Bounding box.",
                  "editor": "json"
                }
              },
              "required": [
                "search"
              ],
              "additionalProperties": false
            }
          },
          "placeIds": {
            "title": "Place IDs (optional)",
            "minItems": 1,
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Resolve known Google Place IDs directly instead of running a text search. Click Add item and paste one Place ID per item. Maximum 500.",
            "items": {
              "type": "string",
              "minLength": 4,
              "maxLength": 300,
              "pattern": "^[\\w:./+-]+$"
            }
          },
          "mapsUrls": {
            "title": "Google Maps URLs (optional)",
            "minItems": 1,
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Resolve known Google Maps place URLs directly instead of running a text search. Maximum 500.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            }
          },
          "center": {
            "title": "Center coordinates (optional)",
            "required": [
              "latitude",
              "longitude"
            ],
            "type": "object",
            "description": "Alternative to Location for the simple search above. Fill both Latitude and Longitude. Add Radius below if you want a circular search area. Do not combine with Bounding box or Polygon.",
            "properties": {
              "latitude": {
                "title": "Latitude",
                "type": "number",
                "description": "Latitude from -90 to 90, for example 51.5.",
                "minimum": -90,
                "maximum": 90,
                "editor": "number"
              },
              "longitude": {
                "title": "Longitude",
                "type": "number",
                "description": "Longitude from -180 to 180, for example -0.12.",
                "minimum": -180,
                "maximum": 180,
                "editor": "number"
              }
            },
            "additionalProperties": false
          },
          "radiusKm": {
            "title": "Radius (km, optional)",
            "minimum": 0.1,
            "maximum": 100,
            "type": "number",
            "description": "Optional radius around Center coordinates, from 0.1 to 100 km. Leave empty unless Center coordinates are filled."
          },
          "boundingBox": {
            "title": "Bounding box (optional)",
            "required": [
              "north",
              "south",
              "east",
              "west"
            ],
            "type": "object",
            "description": "Alternative rectangular search area. Fill all four values. Use this instead of Center coordinates or Polygon.",
            "properties": {
              "north": {
                "title": "North latitude",
                "type": "number",
                "description": "Northern latitude boundary, -90 to 90.",
                "minimum": -90,
                "maximum": 90,
                "editor": "number"
              },
              "south": {
                "title": "South latitude",
                "type": "number",
                "description": "Southern latitude boundary, -90 to 90. Must be lower than North.",
                "minimum": -90,
                "maximum": 90,
                "editor": "number"
              },
              "east": {
                "title": "East longitude",
                "type": "number",
                "description": "Eastern longitude boundary, -180 to 180.",
                "minimum": -180,
                "maximum": 180,
                "editor": "number"
              },
              "west": {
                "title": "West longitude",
                "type": "number",
                "description": "Western longitude boundary, -180 to 180.",
                "minimum": -180,
                "maximum": 180,
                "editor": "number"
              }
            },
            "additionalProperties": false
          },
          "polygon": {
            "title": "GeoJSON polygon / territory (optional)",
            "type": "object",
            "description": "Exact WGS84 GeoJSON Polygon or MultiPolygon result fence. Coordinates use [longitude, latitude]. Useful for sales territories, neighborhoods, franchise areas, delivery zones, or irregular market research. Businesses outside the shape are excluded before persistence and billing."
          },
          "filters": {
            "title": "Core result filters (optional)",
            "type": "object",
            "description": "Cheap deterministic Maps filters applied inside discovery before optional Maps enrichment where practical.",
            "properties": {
              "includeCategories": {
                "title": "Include categories (optional)",
                "type": "array",
                "description": "Keep businesses matching any category you add.",
                "editor": "stringList",
                "placeholderValue": "dentist",
                "maxItems": 50,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                }
              },
              "excludeCategories": {
                "title": "Exclude categories (optional)",
                "type": "array",
                "description": "Exclude businesses matching any category you add.",
                "editor": "stringList",
                "placeholderValue": "restaurant",
                "maxItems": 50,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100
                }
              },
              "minRating": {
                "title": "Minimum rating (optional)",
                "type": "number",
                "description": "Keep businesses with at least this Google Maps rating.",
                "minimum": 0,
                "maximum": 5,
                "editor": "number"
              },
              "minReviewCount": {
                "title": "Minimum review count (optional)",
                "type": "integer",
                "description": "Keep businesses with at least this many Google Maps reviews.",
                "minimum": 0,
                "maximum": 1000000,
                "editor": "number"
              },
              "websitePresence": {
                "title": "Website filter",
                "type": "string",
                "description": "Keep all businesses, only records with a website link, or only records where the checked Google Maps source has no website link.",
                "editor": "select",
                "enum": [
                  "ANY",
                  "REQUIRED",
                  "ABSENT"
                ],
                "enumTitles": [
                  "Any website status",
                  "Has a website link",
                  "No website link in Google Maps source"
                ],
                "default": "ANY"
              },
              "excludeBusinessStatuses": {
                "title": "Exclude business statuses (optional)",
                "type": "array",
                "description": "Optionally exclude businesses with one or more observed Google Maps statuses.",
                "editor": "select",
                "maxItems": 3,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "enum": [
                    "OPEN",
                    "CLOSED_TEMPORARILY",
                    "CLOSED_PERMANENTLY"
                  ],
                  "enumTitles": [
                    "Open",
                    "Temporarily closed",
                    "Permanently closed"
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "leadFilters": {
            "title": "Lead filters (optional)",
            "type": "object",
            "description": "Buyer-oriented lead selection. Rating/review-count/phone checks run before website contact enrichment; email/social requirements run after contact checks but before Dataset persistence and PPE charging. Unknown values do not satisfy a required filter.",
            "properties": {
              "maxRating": {
                "title": "Maximum rating",
                "type": "number",
                "description": "Keep only businesses with an observed Google Maps rating at or below this value. Useful for reputation and improvement prospecting.",
                "minimum": 0,
                "maximum": 5,
                "editor": "number"
              },
              "maxReviewCount": {
                "title": "Maximum review count",
                "type": "integer",
                "description": "Keep only businesses with an observed review count at or below this value.",
                "minimum": 0,
                "maximum": 1000000,
                "editor": "number"
              },
              "phonePresence": {
                "title": "Phone filter",
                "type": "string",
                "description": "Filter on the phone number observed in the Google Maps business record.",
                "enum": [
                  "ANY",
                  "REQUIRED",
                  "ABSENT"
                ],
                "enumTitles": [
                  "Any phone status",
                  "Has a phone",
                  "No phone observed"
                ],
                "default": "ANY",
                "editor": "select"
              },
              "requireEmail": {
                "title": "Return only leads with a public email",
                "type": "boolean",
                "description": "Requires website contact enrichment. Businesses where no public email was observed are removed before persistence and business/contact charging.",
                "default": false,
                "editor": "checkbox"
              },
              "requireSocialProfile": {
                "title": "Return only leads with a social profile",
                "type": "boolean",
                "description": "Requires website contact enrichment. Businesses where no supported public social profile was observed are removed before persistence and business/contact charging.",
                "default": false,
                "editor": "checkbox"
              }
            },
            "additionalProperties": false
          },
          "enrichContacts": {
            "title": "Find website emails and social links",
            "type": "boolean",
            "description": "Check listed business websites for public emails, phone numbers and social links. Each check uses the homepage and up to 2 same-site contact pages over HTTP. Off by default; no email-deliverability verification. A contact-enriched event is charged only when a persisted result contains at least one public email, phone number, or social link.",
            "default": false
          },
          "maxContactSites": {
            "title": "Maximum websites to check (API override)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "API override. Normal runs follow Maximum businesses up to 5,000 websites. Set only through JSON/API when you intentionally want a smaller contact cap."
          },
          "enrichPlaceProfiles": {
            "title": "Enrich place profiles",
            "type": "boolean",
            "description": "Fetch richer Google Maps place-profile data such as opening hours, popular times, review distribution, categories, amenities, price range, owner information, plus code and more. Off by default; included in the business-record price.",
            "default": false
          },
          "maxPlaceProfiles": {
            "title": "Maximum place profiles (API override)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "API override. Normal runs follow Maximum businesses up to 500 profiles."
          },
          "enrichPhotos": {
            "title": "Include photo references",
            "type": "boolean",
            "description": "Return bounded photo-reference URLs from place-profile data. Requires Enrich place profiles. Metadata only; no image files are downloaded.",
            "default": false
          },
          "maxPhotosPerBusiness": {
            "title": "Maximum photos per business",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Default 10; hard maximum 50.",
            "default": 10
          },
          "enrichReviews": {
            "title": "Enrich reviews",
            "type": "boolean",
            "description": "Fetch bounded Google Maps reviews per business, including observed author, rating, text, photos and owner replies where available. Each returned review triggers one review-scraped event.",
            "default": false
          },
          "maxReviewsPerBusiness": {
            "title": "Maximum reviews per business",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Default 25; hard maximum 50.",
            "default": 25
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "MOST_RELEVANT",
              "NEWEST",
              "HIGHEST_RATING",
              "LOWEST_RATING"
            ],
            "type": "string",
            "description": "Google-native ordering for review enrichment.",
            "default": "MOST_RELEVANT"
          },
          "maxReviewBusinesses": {
            "title": "Maximum businesses for reviews (API override)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "API override. Normal runs follow Maximum businesses up to 500 businesses."
          },
          "coverageMode": {
            "title": "Coverage mode",
            "enum": [
              "SINGLE",
              "AUTO"
            ],
            "type": "string",
            "description": "Adaptive coverage can split busy map areas into smaller cells when needed. Single viewport searches one map view per query.",
            "default": "AUTO"
          },
          "acquisitionMode": {
            "title": "Acquisition mode",
            "enum": [
              "AUTO",
              "HTTP",
              "BROWSER"
            ],
            "type": "string",
            "description": "Automatic uses lightweight direct HTTP acquisition first and bounded browser fallback only when needed. HTTP only disables browser fallback. Browser only disables Maps HTTP-dependent profile, photo and review enrichment.",
            "default": "AUTO"
          },
          "language": {
            "title": "Language / locale",
            "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
            "type": "string",
            "description": "Google Maps locale such as en, en-GB, nb-NO, de-DE, or fr-FR.",
            "default": "en"
          },
          "concurrency": {
            "title": "Browser fallback concurrency",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Maximum simultaneous browser fallback work. Default 2; hard maximum 4. This does not control the normal HTTP-first path.",
            "default": 2
          },
          "proxyStrategy": {
            "title": "Proxy strategy",
            "enum": [
              "AUTO",
              "NONE",
              "APIFY_DATACENTER",
              "APIFY_RESIDENTIAL"
            ],
            "type": "string",
            "description": "Automatic uses the normal non-residential Apify proxy route. Residential is an explicit metered choice; it is never selected silently.",
            "default": "AUTO"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}