{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Leads | 47M+ Global Places",
    "description": "Extract verified B2B leads from 47M+ local businesses across 150 countries. Get phone numbers, emails, websites, ratings, and social profiles. Fast database export without proxies.",
    "version": "0.0",
    "x-build-id": "whFB1EVor7OCb2983"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/saregaa~apify-google-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-saregaa-apify-google-data",
        "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/saregaa~apify-google-data/runs": {
      "post": {
        "operationId": "runs-sync-saregaa-apify-google-data",
        "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/saregaa~apify-google-data/run-sync": {
      "post": {
        "operationId": "run-sync-saregaa-apify-google-data",
        "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": [
          "countryCode"
        ],
        "properties": {
          "countryCode": {
            "title": "Country",
            "enum": [
              "CN",
              "US",
              "IN",
              "BR",
              "ID",
              "FR",
              "MX",
              "DE",
              "IT",
              "GB",
              "JP",
              "TR",
              "ES",
              "RU",
              "PL",
              "TH",
              "PH",
              "CA",
              "KR",
              "AR",
              "MY",
              "AU",
              "CO",
              "PK",
              "NL",
              "NG",
              "UA",
              "BD",
              "PT",
              "DZ",
              "BE",
              "SA",
              "ZA",
              "CZ",
              "CH",
              "GR",
              "PE",
              "RO",
              "VN",
              "AT",
              "CL",
              "MA",
              "VE",
              "KE",
              "HU",
              "EG",
              "EC",
              "DK",
              "TW",
              "NO",
              "SE",
              "IE",
              "HR",
              "SK",
              "GT",
              "NZ",
              "FI",
              "BG",
              "RS",
              "PY",
              "DO",
              "IL",
              "TN",
              "GH",
              "BO",
              "ET",
              "TZ",
              "CR",
              "HN",
              "AE",
              "BA",
              "SV",
              "OM",
              "SI",
              "NI",
              "BY",
              "LT",
              "UY",
              "GE",
              "PA",
              "LV",
              "CU",
              "AL",
              "CY",
              "EE",
              "NP",
              "UK",
              "JM",
              "HK",
              "MK",
              "LU",
              "HT",
              "MD",
              "QA",
              "XK",
              "ME",
              "BH",
              "KW",
              "SY",
              "SG",
              "MT",
              "BZ",
              "MM",
              "PS",
              "IS",
              "JO",
              "GY",
              "BN",
              "LA",
              "BS",
              "TL",
              "IQ",
              "AM",
              "IR",
              "KH",
              "UG",
              "TG",
              "AZ",
              "AD",
              "MO",
              "SO",
              "EH",
              "SR",
              "BT",
              "LB",
              "BW",
              "BJ",
              "YE",
              "KZ",
              "NE",
              "LS",
              "LI",
              "CM",
              "SM",
              "TT",
              "MC",
              "RW",
              "CI",
              "AX",
              "GI",
              "JE",
              "BI",
              "GL",
              "SZ",
              "AW",
              "MW",
              "MZ",
              "MR",
              "MN",
              "ZM"
            ],
            "type": "string",
            "description": "Select target country (Required)",
            "default": "US"
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "Food & Dining",
              "Healthcare & Medical",
              "Retail & Shopping",
              "Real Estate & Housing",
              "Beauty, Spa & Personal Care",
              "Grocery & Food Retail",
              "Automotive & Vehicles",
              "Hotels, Lodging & Travel",
              "Finance, Legal & Insurance",
              "Education & Childcare",
              "Sports, Fitness & Recreation",
              "Industry, Construction & Logistics",
              "Home, Garden & Maintenance",
              "Bars, Pubs & Nightlife",
              "Transportation & Public Transit",
              "Business & Professional Services",
              "Government, Civic & Religion",
              "Parks, Nature & Attractions",
              "Pets & Veterinary",
              "Entertainment, Culture & Arts",
              "other"
            ],
            "type": "string",
            "description": "Select business category (Leave empty to extract all categories)",
            "default": ""
          },
          "googleCategory": {
            "title": "Google Category",
            "type": "string",
            "description": "Exact Google place category (Optional, e.g. 'Coffee shop', 'Dentist', 'Bakery')"
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Filter by city name (Optional, e.g. 'Berlin', 'New York', 'London')"
          },
          "hasPhone": {
            "title": "Must have phone",
            "type": "boolean",
            "description": "Return only places that have a phone number",
            "default": false
          },
          "hasEmail": {
            "title": "Must have email",
            "type": "boolean",
            "description": "Return only places that have an email address",
            "default": false
          },
          "hasWebsite": {
            "title": "Must have website",
            "type": "boolean",
            "description": "Return only places that have an active website URL",
            "default": false
          },
          "socialNetwork": {
            "title": "Must have social network",
            "enum": [
              "any",
              "instagram",
              "facebook",
              "linkedin",
              "twitter",
              "tiktok",
              "youtube",
              "telegram",
              "whatsapp"
            ],
            "type": "string",
            "description": "Return places with an active profile in the chosen social platform",
            "default": "any"
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum records to return (0 for unlimited)",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}