{
  "openapi": "3.0.1",
  "info": {
    "title": "Local Business Leads from Google Maps: Phone, Email",
    "description": "Business lead lists from the public Google Maps search: phrases x locations in, one row per place out (name, category, address, coordinates, phone, website, rating, hours, place ID); optional role e-mails and company links from the website; optional split area for more places. USD 2 / 1,000 places.",
    "version": "0.1",
    "x-build-id": "SBcnd9RBnJ4JFD8cc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bardach_technologies~google-maps-places-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bardach_technologies-google-maps-places-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/bardach_technologies~google-maps-places-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bardach_technologies-google-maps-places-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/bardach_technologies~google-maps-places-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bardach_technologies-google-maps-places-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",
        "properties": {
          "searchStrings": {
            "title": "Search phrases",
            "type": "array",
            "description": "What to look for, one per entry, for example dentist or vegan restaurant (1 to 200 characters each, up to 200 entries; repeated phrases count once). With locations, every phrase is searched in every location. A phrase can hold its own place too: pizza in Rome. Empty together with start URLs: the run ends at once and charges nothing.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Areas to search in, one per entry, for example Austin, Texas or 10115 Berlin (up to 200). Each phrase x location pair is one search; at most 1,000 searches per run. Empty: the phrases are searched as written. Places whose address does not name the location are free wrongLocation rows, so use the name local addresses use.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Map search links",
            "type": "array",
            "description": "Optional map search links (https://www.google.com/maps/search/..., other country domains such as google.de work too), up to 200. Each link is one search. Single place links (/maps/place/...) are not supported.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxPlacesPerSearch": {
            "title": "Max places per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most places delivered (and charged, USD 0.002 each) per search, default 20. One search returns about 185 to 220 places (measured 18.11.2026: restaurants in Berlin 218, hairdressers in London 185). Up to 500 without split area; up to 5,000 with split area on.",
            "default": 20
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of category names, opening hours and status texts, as a code such as en, de, fr or pt-BR. Default en.",
            "default": "en"
          },
          "countryCode": {
            "title": "Country",
            "type": "string",
            "description": "Optional two-letter country code (us, de, gb ...) that biases the search toward that country. Empty: no bias."
          },
          "visitWebsite": {
            "title": "Visit website for contact details",
            "type": "boolean",
            "description": "Open each place's own website (home page plus up to 3 contact, imprint or about pages) and add role e-mail addresses on its own domain and its company social links. Website phone numbers, personal e-mails and personal profiles are not returned. Costs USD 0.001 more per place only when the visit found something the place row does not already have. robots.txt is respected, requests to one site are at least 1 second apart, and a refusal by that site ends its visit.",
            "default": false
          },
          "maxWebsitePages": {
            "title": "Website pages per place",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Pages read per website when visiting is on: 1 = home page only, up to 4 (home page + 3 contact pages). Default 2. Pages are free; only found contact details are charged.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy for the map search requests. Default: none (direct; 9 of 10 searches read on Apify, 18.11.2026). Only Apify's datacentre group or your own proxy URLs are accepted, with one session for the whole run. If the chosen proxy cannot be set up nothing is sent; it never becomes a direct request. Nothing is retried on another route after a refusal, a check page or a rate limit (the search ends and the run asks for nothing more, also after a restart). Website visits go directly, without proxy.",
            "default": {
              "useApifyProxy": false
            }
          },
          "splitArea": {
            "title": "Split area (more places per search)",
            "type": "boolean",
            "description": "Default off. On: after the normal search the phrase is searched again in a grid of map cells over the area of the first results and places are merged once per place ID (each charged once). Measured 18.11.2026: restaurant in Berlin, 2 x 2 grid, 539 places instead of 199. Each cell is one more map search, so the run takes longer and costs more (more places); set Max places per search and your maximum charge. Start URLs are not split.",
            "default": false
          },
          "splitGridSize": {
            "title": "Split area grid size",
            "minimum": 2,
            "maximum": 5,
            "type": "integer",
            "description": "Cells per side with split area on: 2 = 4 cells ... 5 = 25 cells (hard cap). Default 3 (9 cells).",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}