{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Photos Scraper - Videos, Uploaders & Dates",
    "description": "Scrape every photo and video of Google Maps places from links, Place IDs or a search: full-size image URL, width/height, upload date, uploader name and profile, owner or visitor, caption, GPS, MP4 links. Filter by videos, owner, 360°, date. No login. $0.12 per 1,000 photos.",
    "version": "0.1",
    "x-build-id": "yglWwEEFj93IOEG0d"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/topapi~google-maps-photos-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-topapi-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/topapi~google-maps-photos-scraper/runs": {
      "post": {
        "operationId": "runs-sync-topapi-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/topapi~google-maps-photos-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-topapi-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": {
          "startUrls": {
            "title": "📍 Place links",
            "type": "array",
            "description": "Google Maps place links from your browser, maps.app.goo.gl share links, ?cid= links or place_id: links, e.g. https://maps.app.goo.gl/… . A CSV/TXT file of links works too.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "placeIds": {
            "title": "🆔 Place IDs, CIDs or feature ids",
            "type": "array",
            "description": "One per line, any of the three: ChIJCar0f49ZwokR6ozLV-dHNTE, 3545819340560108778 or 0x89c2598f7ff4aa09:0x313547e757cb8cea.",
            "items": {
              "type": "string"
            }
          },
          "searchStringsArray": {
            "title": "🔎 Search terms",
            "type": "array",
            "description": "What you would type in Google Maps, e.g. coffee shop, or a business name. Each place the search finds returns its photos.",
            "items": {
              "type": "string"
            }
          },
          "locationQuery": {
            "title": "🌍 Location",
            "type": "string",
            "description": "City, area, ZIP or country the search terms are looked up in, e.g. Seattle, WA. Empty = Google's own choice."
          },
          "maxCrawledPlacesPerSearch": {
            "title": "Places per search term",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many places each search term returns at most (Google Maps' own order). Use 1 to look up one business by name.",
            "default": 10
          },
          "photoCategories": {
            "title": "Photo categories",
            "type": "array",
            "description": "All = every photo Google lists. Latest = uploaded in the past 30 days, newest first. Videos, By owner and Street View & 360° work like the tabs on Google Maps. Pick several to combine.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "latest",
                "videos",
                "by_owner",
                "street_and_360"
              ],
              "enumTitles": [
                "All",
                "Latest (past 30 days)",
                "Videos",
                "By owner",
                "Street View & 360°"
              ]
            },
            "default": [
              "all"
            ]
          },
          "mediaTypes": {
            "title": "Media types",
            "type": "array",
            "description": "Keep only these kinds of media. Empty = all four.",
            "items": {
              "type": "string",
              "enum": [
                "photo",
                "video",
                "photo360",
                "streetView"
              ],
              "enumTitles": [
                "Photos",
                "Videos",
                "360° photos",
                "Street View"
              ]
            }
          },
          "uploadedBy": {
            "title": "Uploaded by",
            "enum": [
              "any",
              "owner",
              "visitor"
            ],
            "type": "string",
            "description": "Only the business's own photos, only visitors' photos, or both.",
            "default": "any"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt-BR",
              "pt-PT",
              "nl",
              "pl",
              "cs",
              "sk",
              "hu",
              "ro",
              "bg",
              "el",
              "tr",
              "ru",
              "uk",
              "sv",
              "da",
              "no",
              "fi",
              "et",
              "lv",
              "lt",
              "hr",
              "sl",
              "sr",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW",
              "th",
              "vi",
              "id",
              "ms",
              "fil",
              "hi",
              "ar",
              "he",
              "fa"
            ],
            "type": "string",
            "description": "Language of place names, categories and Google's caption translations.",
            "default": "en"
          },
          "photosNewerThan": {
            "title": "Uploaded after",
            "type": "string",
            "description": "Keep photos uploaded on or after this date: 2026-01-31, or relative like 30 days, 6 months, 1 year. Empty = no limit."
          },
          "photosOlderThan": {
            "title": "Uploaded before",
            "type": "string",
            "description": "Keep photos uploaded on or before this date (same formats). Empty = no limit."
          },
          "withCaptionOnly": {
            "title": "Only photos with a caption",
            "type": "boolean",
            "description": "Skip photos whose uploader wrote no caption.",
            "default": false
          },
          "includeContributor": {
            "title": "Uploader name and profile",
            "type": "boolean",
            "description": "Add the uploader's name, Google Maps profile link, id and avatar to every row (one extra call per 20 photos; videos always get their links). Included in the price.",
            "default": true
          },
          "monitorMode": {
            "title": "Only new photos (monitor)",
            "type": "boolean",
            "description": "Deliver only photos no earlier run with the same store name has seen. The first run is the baseline; a place whose Google photo count did not change is not read again.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Named key-value store that remembers the photos seen. Use one name per list of places you track.",
            "default": "google-maps-photos-monitor"
          },
          "maxPhotosPerPlace": {
            "title": "Photos per place",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Rows each place returns at most (photos, videos and 360° captures together). 0 = every one Google lists to a signed-out visitor (2,873 for a very popular place).",
            "default": 100
          },
          "maxResults": {
            "title": "Max photos in total",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many rows across all places. 0 = no limit.",
            "default": 0
          },
          "imageSize": {
            "title": "Image size",
            "enum": [
              "original",
              "large",
              "medium",
              "thumbnail"
            ],
            "type": "string",
            "description": "Size of imageUrl. Every row also carries a 200 px thumbnailUrl.",
            "default": "original"
          },
          "compact": {
            "title": "Compact rows",
            "type": "boolean",
            "description": "Core fields only (photo, size, date, uploader, caption, video, place ids) - trimmed for AI / MCP pipelines.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Places at once",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many places are read in parallel.",
            "default": 3
          },
          "maxPhotosScannedPerPlace": {
            "title": "Photos read per place (filters)",
            "minimum": 100,
            "maximum": 20000,
            "type": "integer",
            "description": "When filters or Latest are on, how many of a place's photos are read at most to find matches.",
            "default": 5000
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave as is: the Apify datacenter proxy reads Google Maps; if Google shows its unusual-traffic page the run moves to the container's own IP, then to a residential IP.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}