{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper: Fast Lead Generator & Emails",
    "description": "Google Maps Scraper: Fast Lead Generator & Emails\nExtract verified business leads, emails, phone numbers and websites from Google Maps instantly. Fast, lightweight, and structured data export in CSV, Excel, or JSON. Built for high-scale B2B outreach and local market research. Try Google Maps scraper",
    "version": "1.0",
    "x-build-id": "PXcK8gUaetkb8aecg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/as33~google-maps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-as33-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/as33~google-maps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-as33-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/as33~google-maps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-as33-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",
        "required": [
          "searchStringsArray"
        ],
        "properties": {
          "searchStringsArray": {
            "title": "Search queries (Keywords)",
            "type": "array",
            "description": "One or more search terms (e.g. 'dentist', 'plumber', 'italian restaurant', 'real estate agent'). Each keyword is searched across every provided location.",
            "default": [
              "coffee shop"
            ],
            "items": {
              "type": "string"
            }
          },
          "locationQueries": {
            "title": "Locations (City, State, Country)",
            "type": "array",
            "description": "Target cities, zip codes, or regions (e.g. 'Austin, Texas, United States', 'Miami, Florida').",
            "default": [
              "New York, NY, USA"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxCrawledPlacesPerSearch": {
            "title": "Max places per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of places to collect per search. ⚠️ NOTE: Free tier is capped at 100 places per search. Paid accounts can scrape up to 5,000+ places.",
            "default": 100
          },
          "extractContactsFromWebsite": {
            "title": "Extract verified emails & socials from websites (+$1.50/1k places) [Turn OFF for ultra-fast mode]",
            "type": "boolean",
            "description": "Turn ON: Visits company websites to extract verified business emails, LinkedIn, Instagram, Facebook, and Twitter. Billed at +$1.50 per 1,000 places with emails.\nTurn OFF: ULTRA-FAST MODE! Only scrapes Google Maps directly (Title, Phone, Category, Address, Website URL, Rating, Reviews, Hours, Coordinates) in seconds at base price ($0.70 / 1,000 places) with ZERO email charges.",
            "default": false
          },
          "extractPlaceDetails": {
            "title": "Extract full place details & operating hours",
            "type": "boolean",
            "description": "Extracts 7-day operating hours, live status, price level, amenities, and categories. Base rate: $0.70 / 1,000 places.",
            "default": true
          },
          "maxReviewsPerPlace": {
            "title": "Max reviews per place",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Number of customer reviews to capture per business (0 to disable).",
            "default": 5
          },
          "reviewsSort": {
            "title": "Reviews sorting order",
            "enum": [
              "newest",
              "most_relevant",
              "highest_rating",
              "lowest_rating"
            ],
            "type": "string",
            "description": "Order in which customer reviews will be sorted and extracted.",
            "default": "newest"
          },
          "skipClosedPlaces": {
            "title": "Skip closed businesses",
            "type": "boolean",
            "description": "Automatically filters out businesses that Google marks as permanently or temporarily closed.",
            "default": true
          },
          "skipPlacesNotMatchingSearch": {
            "title": "Strict search matching",
            "type": "boolean",
            "description": "Drops irrelevant places that Google returns when an area runs out of direct category matches.",
            "default": true
          },
          "countryCode": {
            "title": "Country code (gl)",
            "type": "string",
            "description": "Two-letter country code for local Google Maps results (e.g., 'us', 'gb', 'ca', 'au', 'de').",
            "default": "us"
          },
          "language": {
            "title": "Language code (hl)",
            "type": "string",
            "description": "Two-letter language code for place descriptions, labels, and categories (e.g., 'en', 'es', 'de', 'fr').",
            "default": "en"
          },
          "isPaidUser": {
            "title": "Paid Subscription / Pro License Active",
            "type": "boolean",
            "description": "Set to true if you are on a paid Apify plan. Free tier runs without this flag are automatically capped at 100 places.",
            "default": false
          },
          "customGeolocation": {
            "title": "Custom GeoJSON Geolocation (Optional)",
            "type": "object",
            "description": "Define a custom polygon or circle area using GeoJSON (Point with radiusKm, Polygon, or MultiPolygon). Overrides named locations."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select Apify residential proxies to avoid rate limits and anti-bot bans during high-volume scraping.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}