{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps List Scraper — Shared Lists to CSV, Phones, Emails",
    "description": "Google Maps shared list scraper (maps.app.goo.gl): export saved places to CSV with name, note, phone, website, rating, hours, photos, and filters. Optional newest reviews and website emails. Accepts short links, full list URLs, or a place CID. No API key. JSON or CSV out.",
    "version": "0.0",
    "x-build-id": "5pNt842AmOLynuzsY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~google-maps-list-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-google-maps-list-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/memo23~google-maps-list-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-google-maps-list-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/memo23~google-maps-list-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-google-maps-list-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",
        "required": [
          "listUrls"
        ],
        "properties": {
          "listUrls": {
            "title": "Shared list or place URLs",
            "type": "array",
            "description": "Public Google Maps shared-list links (short or full) and/or direct place links. Mix both in the same array if useful.",
            "items": {
              "type": "string"
            }
          },
          "topListQueries": {
            "title": "Top-list queries",
            "type": "array",
            "description": "Google curated lists by query or /maps/search/ URL, e.g. Top hotels in Paris or Best coffee in Brooklyn. One viewport per query (not an exhaustive city crawl — use the Leads actor for that). Can run with or without shared-list URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxPlacesPerList": {
            "title": "Places per list",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum saved places to export from each shared list.",
            "default": 100
          },
          "maxResults": {
            "title": "Total places",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap across all lists and direct places in this run. Use this to limit billing.",
            "default": 1000
          },
          "includeReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "When enabled (default), each place row gets a `reviews` array with the newest Google reviews. Costs one extra HTTP call per 10 reviews per place. Turn off to skip the extra fetch.",
            "default": true
          },
          "maxReviewsPerPlace": {
            "title": "Reviews per place",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum reviews to keep for each place when reviews are enabled.",
            "default": 10
          },
          "includeWebsiteEmails": {
            "title": "Website emails",
            "type": "boolean",
            "description": "Visit discovered business websites (homepage + contact/about pages) and add public contact emails when found. Best-effort — places without a website, or websites without a public email, yield an empty `emails` array.",
            "default": false
          },
          "maxEmailsPerPlace": {
            "title": "Emails per place",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum public emails to keep for each place website when the email lookup is on.",
            "default": 3
          },
          "enrichPlaces": {
            "title": "Fetch full place details",
            "type": "boolean",
            "description": "When on (default), each place is fetched for phone, website, rating, review count, hours, photos, claimed/closed flags, and description. Turn off for a cheaper list-only export (name, note, address, coordinates from the list itself). Filters that need ratings, phones, websites, or closed status will turn details back on automatically.",
            "default": true
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only keep places with this star rating or higher. 0 = no rating filter. Needs full place details.",
            "default": 0
          },
          "minReviewCount": {
            "title": "Minimum review count",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep places with at least this many Google reviews. 0 = no review-count filter. Needs full place details.",
            "default": 0
          },
          "filterByCountry": {
            "title": "Country filter",
            "type": "string",
            "description": "Only keep places in this country. Accepts an ISO code (JP, US) or a full name (Japan, United States). Leave empty for every country.",
            "default": ""
          },
          "filterByCategories": {
            "title": "Category filter",
            "type": "array",
            "description": "Only keep places whose Google category matches at least one of these strings (case-insensitive substring, e.g. Restaurant or coffee). Leave empty for every category.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyWithWebsite": {
            "title": "Only places with a website",
            "type": "boolean",
            "description": "Skip places that have no website on Google Maps. Needs full place details.",
            "default": false
          },
          "onlyWithPhone": {
            "title": "Only places with a phone number",
            "type": "boolean",
            "description": "Skip places that have no phone number on Google Maps. Useful for lead-gen runs.",
            "default": false
          },
          "excludePermanentlyClosed": {
            "title": "Exclude permanently closed places",
            "type": "boolean",
            "description": "Skip places Google marks as permanently closed. On by default for lead-gen and trip lists.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of place-detail requests processed in parallel.",
            "default": 10
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Google rate-limits heavy anonymous traffic — a residential proxy is recommended for larger runs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}