{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Photos Scraper (Places, Menus & Local Guides)",
    "description": "Download full-resolution (=s0) Google Maps photos & MP4 videos from any business place, restaurant menu, food, vibe, street view, or Google Maps Contributor & Local Guide profile. Filter by gallery tab (menu, food, by owner, videos), captions, photo views, Place IDs & GPS. MCP & AI Agent ready.",
    "version": "1.1",
    "x-build-id": "uE7Sj7QKfKWsfJfo4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unitbytes~google-maps-photos-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unitbytes-google-maps-photos-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/unitbytes~google-maps-photos-scraper/runs": {
      "post": {
        "operationId": "runs-sync-unitbytes-google-maps-photos-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/unitbytes~google-maps-photos-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unitbytes-google-maps-photos-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": {
          "placeUrls": {
            "title": "Google Maps Place URLs, Place IDs, or Search Queries",
            "type": "array",
            "description": "Paste Google Maps business/place URLs, `place_id:` links, share shortlinks, or location search queries to extract high-resolution photo galleries, food & menu photos, and customer review images.\n\n**Supported formats:**\n• Place URL: `https://www.google.com/maps/place/Katz's+Delicatessen/@40.722233,-73.987429,17z/`\n• Place ID URL: `https://www.google.com/maps/place/?q=place_id:ChIJCar0f49ZwokR6ozLV-dHNTE`\n• Search query: `Eiffel Tower Paris` or `Gordon Ramsay Hell's Kitchen Las Vegas`\n• Share shortlink: `https://maps.app.goo.gl/...`",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Photo Category, Gallery Tab, or Keyword Filter (Optional)",
            "type": "string",
            "description": "Optional upstream Google Maps filter to extract specific gallery tabs or dish/topic keywords:\n• **Gallery Tabs:** `menu`, `food_and_drink` (or `food`), `vibe` (or `interior`), `exterior`, `by_owner`, `videos`, `street_view`, `rooms`, `amenities`\n• **Custom Keywords:** Any dish or feature keyword (e.g., `pastrami`, `vegan`, `patio`, `rooftop`)\n• Leave empty (or `all`) to extract all gallery, menu, owner, video, and customer review photos.",
            "default": ""
          },
          "maxPhotos": {
            "title": "Max Photos per Target",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of photos to extract per place or contributor profile (0 to 1000). Default is 50.",
            "default": 50
          },
          "maxPlacesPerSearch": {
            "title": "Max Places per Search Query (Multi-Place Discovery)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "When entering a general text search query (e.g. `pizza in New York` or `boutique hotels in Miami`), how many matching places to discover and scrape from that search (1 to 20). Default is 1.",
            "default": 1
          },
          "highResOnly": {
            "title": "Full-Resolution Image Links (=s0)",
            "type": "boolean",
            "description": "Automatically upgrade Google Maps photo URLs to `=s0` to retrieve the original uncompressed, full-resolution image.",
            "default": true
          },
          "scrapePhotos": {
            "title": "Extract Individual Photos",
            "type": "boolean",
            "description": "If enabled, extracts individual photo items with full-resolution links, dimensions, captions, uploader details, and place metadata. If disabled, only extracts the target summary.",
            "default": true
          },
          "contributors": {
            "title": "Contributor URLs or Local Guide User IDs (Optional)",
            "type": "array",
            "description": "Optional: Paste Google Maps contributor profile URLs or numeric User IDs to extract all photos uploaded by a specific Local Guide or reviewer, along with their total photo views and badge level.\n\n**Supported formats:**\n• `https://www.google.com/maps/contrib/102520373756565203865`\n• `https://www.google.com/maps/contrib/102520373756565203865/photos`\n• Raw user ID: `102520373756565203865`",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxies to use. Apify Residential Proxies are recommended for reliable extraction.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of places or contributor profiles to scrape in parallel (1 to 10).",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}