{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper — Leads, Contacts, Emails & Social Profiles",
    "description": "Google Maps scraper for lead generation: search any category and city, get places with phone, website, verified emails, social profiles and newest reviews in one run. Layered add-ons, batch input, pay per event.",
    "version": "1.0",
    "x-build-id": "CfZKhL7iaX5Rojmug"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ntriqpro~google-maps-scraper-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ntriqpro-google-maps-scraper-leads",
        "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/ntriqpro~google-maps-scraper-leads/runs": {
      "post": {
        "operationId": "runs-sync-ntriqpro-google-maps-scraper-leads",
        "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/ntriqpro~google-maps-scraper-leads/run-sync": {
      "post": {
        "operationId": "run-sync-ntriqpro-google-maps-scraper-leads",
        "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": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Search queries / Maps URLs / place IDs",
            "type": "array",
            "description": "One or more Google Maps search queries, Google Maps URLs, place IDs, or \"business name, city\" strings. At least one is required.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "Apify-standard list of Google Maps URLs to start from, as an alternative or addition to queries.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxPlacesPerQuery": {
            "title": "Max places per query",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of Google Maps businesses to collect for each query."
          },
          "minRating": {
            "title": "Filter: minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Keep only places rated at least this (0 = no filter). Any active filter charges `filter-applied` once per place kept."
          },
          "requireWebsite": {
            "title": "Filter: must have website",
            "type": "boolean",
            "description": "Keep only places that list a website (best for email leads)."
          },
          "requirePhone": {
            "title": "Filter: must have phone",
            "type": "boolean",
            "description": "Keep only places that list a phone number."
          },
          "includeContactDetails": {
            "title": "Scrape contact details (add-on)",
            "type": "boolean",
            "description": "Read each business's own website for publicly listed emails, phones and social links. Paid add-on `contact-details-scraped` per place with a website."
          },
          "verifyEmails": {
            "title": "Verify emails (add-on)",
            "type": "boolean",
            "description": "Syntax, MX record and disposable-domain check for every email found. Paid add-on `lead-email-verified` per email."
          },
          "scrapeSocialProfiles": {
            "title": "Scrape social profiles (add-on)",
            "type": "boolean",
            "description": "Open each social link found on the website (Facebook, Instagram, LinkedIn, X, YouTube, TikTok) and return one row per profile with handle and page title. Paid add-on `social-profile-scraped` per profile."
          },
          "maxReviewsPerPlace": {
            "title": "Max Google reviews per place",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Newest Google reviews per place (0 = skip reviews; Google shows at most 5 per place to a logged-out client). Each review row is a paid `review-scraped` event."
          },
          "reviewsSort": {
            "title": "Google reviews sort order",
            "enum": [
              "newest",
              "relevant",
              "highest",
              "lowest"
            ],
            "type": "string",
            "description": "Order in which Google Maps reviews are fetched. Use Newest together with sinceTimestamp for incremental runs."
          },
          "sinceTimestamp": {
            "title": "Only reviews newer than (incremental mode)",
            "type": "string",
            "description": "ISO-8601 timestamp (for example 2026-08-01T00:00:00Z) or a Unix epoch. Only reviews published after this point are returned and charged, so a daily or weekly re-run costs a fraction of a full run. Google Maps publishes a relative age (\"3 months ago\"), so the cutoff is applied to an approximate date."
          },
          "negativeReviewAlert": {
            "title": "Only reviews at or below this rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Set to 2, for example, to return only 1- and 2-star reviews. Combine with sinceTimestamp and a webhook to get an alert whenever a new bad review appears. Leave empty to return every review."
          },
          "crossPlatforms": {
            "title": "Cross-platform review sources",
            "type": "array",
            "description": "Additional review sources to check for the same business, matched by business name. Trustpilot and Tripadvisor sit behind bot-challenge walls (403) and return a notice row instead of reviews; they are off by default.",
            "items": {
              "type": "string",
              "enum": [
                "appstore",
                "googleplay",
                "trustpilot",
                "tripadvisor"
              ],
              "enumTitles": [
                "App Store",
                "Google Play",
                "Trustpilot (blocked, off by default)",
                "Tripadvisor (blocked, off by default)"
              ]
            }
          },
          "maxReviewsPerPlatform": {
            "title": "Max reviews per cross-platform source",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum number of reviews to collect per business on each enabled cross-platform source."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language code used to request results (for example en, ko, es)."
          },
          "countryCode": {
            "title": "Country code",
            "type": "string",
            "description": "Two-letter country code used to bias search results (for example us, kr, gb)."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy settings. Datacenter proxy is the default and is what we recommend; residential proxy costs far more per gigabyte and is rarely needed for Google Maps."
          },
          "browserConcurrency": {
            "title": "Parallel business pages",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many business pages the single browser opens at once. Higher is faster but uses more memory."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}