{
  "openapi": "3.0.1",
  "info": {
    "title": "My Google Maps Pro",
    "description": "Google Maps Leads Scraper 2025 – extracts emails, phones, social links, reviews, photos, hours & GPS from any search. 95%+ email success · Up to 500 reviews · Bulk mode · Auto proxies & CAPTCHA · 99.9% uptime. Perfect for lead gen & local SEO. Pay-per-result or unlimited monthly.",
    "version": "1.0",
    "x-build-id": "VW8vETI2fxj78ae5M"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/clever_fashion~my-google-maps-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-clever_fashion-my-google-maps-pro",
        "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/clever_fashion~my-google-maps-pro/runs": {
      "post": {
        "operationId": "runs-sync-clever_fashion-my-google-maps-pro",
        "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/clever_fashion~my-google-maps-pro/run-sync": {
      "post": {
        "operationId": "run-sync-clever_fashion-my-google-maps-pro",
        "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": [
          "searches"
        ],
        "properties": {
          "searches": {
            "title": "Search Queries",
            "type": "array",
            "description": "List of search queries to scrape from Google Maps. Each query can include a specific location for more targeted results.",
            "items": {
              "type": "object",
              "properties": {
                "query": {
                  "title": "Query",
                  "type": "string",
                  "description": "Search query (e.g., 'restaurants', 'coffee shops', 'dentists')"
                },
                "location": {
                  "title": "Location",
                  "type": "string",
                  "description": "Location to search in (e.g., 'New York, NY', 'London, UK', 'Tokyo, Japan')"
                },
                "zoom": {
                  "title": "Zoom Level",
                  "type": "number",
                  "description": "Zoom level for the map (1-20). Higher values = more zoomed in. Optional.",
                  "minimum": 1,
                  "maximum": 20
                }
              },
              "required": [
                "query"
              ]
            },
            "default": [
              {
                "query": "restaurants",
                "location": "New York, NY"
              }
            ]
          },
          "maxPlaces": {
            "title": "Maximum Places per Search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of places to scrape for each search query. Lower values = faster scraping, higher values = more comprehensive data.",
            "default": 100
          },
          "includeReviews": {
            "title": "Include Reviews",
            "type": "boolean",
            "description": "Extract reviews for each place. Reviews include author, rating, text, date, and owner responses. Note: This significantly increases scraping time.",
            "default": true
          },
          "maxReviews": {
            "title": "Maximum Reviews per Place",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of reviews to extract for each place. Set to 0 to skip reviews entirely. Higher values increase scraping time.",
            "default": 50
          },
          "downloadPhotos": {
            "title": "Download Photos",
            "type": "boolean",
            "description": "Download and store place photos in the key-value store. Photos are saved with metadata including URLs and thumbnails. Warning: This consumes significant storage and increases scraping time.",
            "default": false
          },
          "extractContactInfo": {
            "title": "Extract Contact Information",
            "type": "boolean",
            "description": "Extract email addresses and social media links from business websites. The scraper will visit each place's website to find contact information. Warning: This significantly increases scraping time.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for scraping. Proxies are essential for avoiding IP blocks and CAPTCHAs when scraping Google Maps at scale.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "captchaConfiguration": {
            "title": "CAPTCHA Configuration",
            "type": "object",
            "description": "CAPTCHA solving settings. Google Maps may show CAPTCHAs during scraping. Provide an Anti-Captcha API key to automatically solve them.",
            "properties": {
              "antiCaptchaApiKey": {
                "title": "Anti-Captcha API Key",
                "type": "string",
                "description": "Anti-Captcha API key for automatic CAPTCHA solving. Get your API key at https://anti-captcha.com. Leave empty to fail on CAPTCHA detection.",
                "editor": "textfield",
                "example": "abc123def456ghi789jkl012"
              },
              "maxRetries": {
                "title": "Max Retries",
                "type": "integer",
                "description": "Maximum number of retry attempts for CAPTCHA solving before giving up.",
                "default": 3,
                "minimum": 1,
                "maximum": 10,
                "prefill": 3
              }
            },
            "default": {
              "maxRetries": 3
            }
          },
          "maxConcurrency": {
            "title": "Maximum Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of pages to process simultaneously. Higher values = faster scraping but higher resource usage. Recommended: 1-2 for 1GB RAM, 3-5 for 4GB+ RAM.",
            "default": 2
          },
          "navigationTimeoutSecs": {
            "title": "Navigation Timeout (seconds)",
            "minimum": 30,
            "maximum": 300,
            "type": "integer",
            "description": "Maximum time to wait for page navigation before timing out. Increase if you experience frequent timeout errors.",
            "default": 120
          },
          "requestHandlerTimeoutSecs": {
            "title": "Request Handler Timeout (seconds)",
            "minimum": 60,
            "maximum": 600,
            "type": "integer",
            "description": "Maximum time to process each page before timing out. Increase if extracting many reviews or photos.",
            "default": 300
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}