{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Scraper Made Easy",
    "description": "Effortlessly extract location data with Google Maps Scraper Made Easy. Boost your business and marketing by quickly gathering contacts, reviews, and addresses. Perfect for lead generation, research, and local SEO success. Simple, fast, and reliable!",
    "version": "0.1",
    "x-build-id": "phIIXyA9P4ZzsBuVh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datacach~google-maps-scraper-made-easy/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datacach-google-maps-scraper-made-easy",
        "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/datacach~google-maps-scraper-made-easy/runs": {
      "post": {
        "operationId": "runs-sync-datacach-google-maps-scraper-made-easy",
        "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/datacach~google-maps-scraper-made-easy/run-sync": {
      "post": {
        "operationId": "run-sync-datacach-google-maps-scraper-made-easy",
        "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": [
          "search_terms",
          "central_latitude",
          "central_longitude",
          "zoom",
          "search_radius_in_km",
          "number_of_points",
          "max_results",
          "extract_social_links",
          "extract_related_services",
          "country_code"
        ],
        "properties": {
          "search_terms": {
            "title": "🔢 Search Terms",
            "type": "array",
            "description": "Enter the search terms to search for people. If the search term has fewer matches, fewer results will be returned.",
            "items": {
              "type": "string"
            }
          },
          "central_latitude": {
            "title": "🔢 Central Latitude",
            "type": "string",
            "description": "Enter the central latitude to search for places. If the central latitude has fewer matches, fewer results will be returned.",
            "default": "40.66382229790527"
          },
          "central_longitude": {
            "title": "🔢 Central Longitude",
            "type": "string",
            "description": "Enter the central longitude to search for places.",
            "default": "-73.93410730374993"
          },
          "country_code": {
            "title": "Country",
            "enum": [
              "us",
              "ad",
              "al",
              "am",
              "ar",
              "at",
              "au",
              "az",
              "ba",
              "be",
              "bg",
              "bo",
              "br",
              "by",
              "ch",
              "cl",
              "co",
              "cr",
              "cu",
              "cy",
              "cz",
              "de",
              "dk",
              "do",
              "ec",
              "ee",
              "es",
              "fi",
              "fr",
              "gb",
              "ge",
              "gr",
              "gt",
              "hn",
              "hr",
              "hu",
              "ie",
              "is",
              "it",
              "jp",
              "kr",
              "kz",
              "lt",
              "lu",
              "lv",
              "mc",
              "md",
              "me",
              "mt",
              "mx",
              "ni",
              "nl",
              "no",
              "nz",
              "pa",
              "pe",
              "pl",
              "pt",
              "py",
              "ro",
              "rs",
              "ru",
              "se",
              "si",
              "sk",
              "sm",
              "sv",
              "tr",
              "ua",
              "uy",
              "va",
              "ve"
            ],
            "type": "string",
            "description": "Select your country. Please ensure that the latitude and longitude belong to the selected country.",
            "default": "us"
          },
          "zoom": {
            "title": "🔎 Zoom",
            "minimum": 10,
            "maximum": 20,
            "type": "integer",
            "description": "Enter the zoom to search for places.",
            "default": 15
          },
          "search_radius_in_km": {
            "title": "🌐 Search Radius",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Enter the search radius to search for places.",
            "default": 1
          },
          "number_of_points": {
            "title": "🔢 Number of Points",
            "minimum": 10,
            "maximum": 1000,
            "type": "integer",
            "description": "Enter the number of points to search for places.",
            "default": 10
          },
          "dispersion_factor": {
            "title": "📊 Dispersion Factor",
            "type": "string",
            "description": "Enter the dispersion factor to search for places. A value of 0.1 means the points will be tightly clustered, while 1.0 means they’ll be widely spread.",
            "default": "0.1"
          },
          "max_results": {
            "title": "📊 Max Results",
            "minimum": 10,
            "maximum": 1000,
            "type": "integer",
            "description": "Enter the maximum number of results to search for places.",
            "default": 100
          },
          "extract_social_links": {
            "title": "Extract Social Links",
            "type": "boolean",
            "description": "Extract social links from the places.",
            "default": false
          },
          "extract_related_services": {
            "title": "Extract Related Services",
            "type": "boolean",
            "description": "Extract related services from the places. Example: Ubereats link, Grubhub link, etc."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}