{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Email, Phone, Meta Pixel & Leads Scraper [$2/1K]",
    "description": "[$2.00/1K, $0 add-ons] Fast, pure-HTTP Google Maps B2B lead scraper & website enricher. Extract up to 5,000+ leads/query via neighborhood grid sweep + verified emails (Cloudflare decoded), phones, socials, CMS & ad pixels.",
    "version": "1.4",
    "x-build-id": "HaMhtNs2NsYtulMb7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/appropriate_ideal_ksi~google-maps-leads-email-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-appropriate_ideal_ksi-google-maps-leads-email-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/appropriate_ideal_ksi~google-maps-leads-email-pro/runs": {
      "post": {
        "operationId": "runs-sync-appropriate_ideal_ksi-google-maps-leads-email-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/appropriate_ideal_ksi~google-maps-leads-email-pro/run-sync": {
      "post": {
        "operationId": "run-sync-appropriate_ideal_ksi-google-maps-leads-email-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",
        "properties": {
          "searchQueries": {
            "title": "Search Queries (Category + City/ZIP)",
            "type": "array",
            "description": "Google Maps search queries (e.g. 'dentists in Austin TX', 'roofing contractors Miami FL', 'med spas in Scottsdale AZ').",
            "items": {
              "type": "string"
            }
          },
          "bulkQueriesText": {
            "title": "Bulk Queries Paste (One Query Per Line — Optional)",
            "type": "string",
            "description": "Paste 50–500 city + category search queries (one per line) directly from Google Sheets, Clay, or CSV."
          },
          "categories": {
            "title": "Categories Cross-Product Helper (Optional)",
            "type": "array",
            "description": "Combine with 'Locations' to automatically generate every 'category in location' combination (e.g. ['plumber', 'hvac contractor']).",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations Cross-Product Helper (Optional)",
            "type": "array",
            "description": "Cities, ZIP codes, or neighborhoods combined with 'Categories' (e.g. ['Austin, TX', 'Houston, TX', 'Dallas, TX']).",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country Code (gl)",
            "type": "string",
            "description": "2-letter ISO country code for Google Maps localization (e.g. 'us', 'gb', 'ca', 'au', 'de', 'ae', 'in').",
            "default": "us"
          },
          "language": {
            "title": "Language Code (hl)",
            "type": "string",
            "description": "Language code for Google Maps results (e.g. 'en', 'es', 'de', 'fr', 'pt').",
            "default": "en"
          },
          "maxLeadsPerQuery": {
            "title": "Max Qualified Leads per Query",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of qualified business leads to output per search query (Free Apify plan preview: up to 25/run; Paid Apify plans: up to 5,000/query via Auto Neighborhood Grid Sweep).",
            "default": 25
          },
          "maxTotalLeads": {
            "title": "Global Max Leads Cap (Entire Run — Optional)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard ceiling on total leads emitted across all queries for strict budget predictability. Leave empty for no global cap."
          },
          "autoGridSweep": {
            "title": "Auto Neighborhood Grid Sweep (1,000+ Leads / Query)",
            "type": "boolean",
            "description": "Automatically subdivides the city or region into zoomed-in concentric neighborhood coordinate tiles when 'Max Qualified Leads per Query' exceeds single-viewport capacity (~120–240 pins), so a single query can extract 1,000–5,000+ unique deduplicated leads.",
            "default": true
          },
          "enrichWebsiteContacts": {
            "title": "Enrich Website Emails, Socials, CMS & Ad Pixels",
            "type": "boolean",
            "description": "Crawls business homepage and up to 2 internal contact/about pages via pure HTTP/2 to extract verified emails (including Cloudflare-protected emails), social links, CMS, Meta/Google/TikTok pixels, and booking/CRM tools at no extra add-on charge.",
            "default": true
          },
          "onlyWithEmail": {
            "title": "Pre-Charge Filter: Only Leads With Valid Email",
            "type": "boolean",
            "description": "Only output (and charge for) businesses where at least 1 valid, non-junk business email address was found.",
            "default": false
          },
          "onlyWithWebsite": {
            "title": "Pre-Charge Filter: Only Businesses With Website",
            "type": "boolean",
            "description": "Skip businesses that do not list a website URL on Google Maps.",
            "default": false
          },
          "onlyWithoutWebsite": {
            "title": "Pre-Charge Filter: Only Businesses WITHOUT Website (Web Agency Goldmine)",
            "type": "boolean",
            "description": "Only output active local businesses that have NO website on Google Maps — ideal for web design & GoHighLevel agencies pitching website builds.",
            "default": false
          },
          "cmsPlatforms": {
            "title": "Pre-Charge Filter: Only Specific Website CMS Platforms (Optional)",
            "type": "array",
            "description": "Only output (and charge for) businesses running specific web platforms — e.g. ['WordPress', 'Shopify', 'Wix', 'Squarespace', 'Webflow', 'GoHighLevel']. Included at zero add-on fee.",
            "items": {
              "type": "string"
            }
          },
          "missingMetaPixel": {
            "title": "Pre-Charge Filter: Website Missing Meta/FB Pixel (SMMA Agency Goldmine)",
            "type": "boolean",
            "description": "Only output businesses with an active, reachable website that do NOT have a Meta/Facebook Pixel installed — prime prospects for paid-social / SMMA agencies.",
            "default": false
          },
          "requireMetaPixel": {
            "title": "Pre-Charge Filter: Must Have Meta/FB Pixel Installed",
            "type": "boolean",
            "description": "Only output businesses actively running a Meta/Facebook Pixel on their website.",
            "default": false
          },
          "requireGoogleAdsTag": {
            "title": "Pre-Charge Filter: Must Have Google Ads Tag (AW-) Installed",
            "type": "boolean",
            "description": "Only output businesses actively running Google Ads conversion/remarketing tags on their website.",
            "default": false
          },
          "minRating": {
            "title": "Minimum Star Rating (0.0 – 5.0, Optional)",
            "type": "string",
            "description": "Minimum Google Maps rating required (e.g. '4.0' or '4.5'). Leave empty for any rating."
          },
          "maxRating": {
            "title": "Maximum Star Rating (0.0 – 5.0, Optional — Reputation Agency Filter)",
            "type": "string",
            "description": "Maximum Google Maps rating allowed (e.g. '4.2' to find businesses needing review/reputation management). Leave empty for no upper bound."
          },
          "minReviews": {
            "title": "Minimum Reviews Count (Optional)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only include established businesses with at least this many Google reviews (e.g. 10)."
          },
          "skipClosedBusinesses": {
            "title": "Skip Permanently / Temporarily Closed Businesses",
            "type": "boolean",
            "description": "Automatically exclude permanently closed and temporarily closed listings.",
            "default": true
          },
          "onlyNewLeads": {
            "title": "Deduplicate Across Runs: Only New Leads",
            "type": "boolean",
            "description": "Remembers seen Google place_ids in a named Key-Value Store across runs and skips previously exported businesses free of charge.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Seen Leads Key-Value Store Name",
            "type": "string",
            "description": "Named Apify Key-Value Store used when 'Only New Leads' is enabled.",
            "default": "google-maps-seen-places"
          },
          "concurrency": {
            "title": "Website Enrichment Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of business websites enriched in parallel via HTTP/2.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional)",
            "type": "object",
            "description": "Optional proxy settings. Direct HTTP/2 Chrome-150 TLS works out-of-the-box with zero residential proxy cost.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}