{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Maps Photos Scraper - Menu, Food, Vibe & Owner",
    "description": "Extract every Google Maps photo for any place, tagged by the same categories Maps shows: Menu, Food & drink, Vibe, By owner, Street View & 360. Full resolution, dates, GPS.",
    "version": "1.0",
    "x-build-id": "sKboa2Jvh6dUhyy5j"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~google-maps-photos-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-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/sian.agency~google-maps-photos-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-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/sian.agency~google-maps-photos-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-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": {
          "operation": {
            "title": "🎬 Operation",
            "enum": [
              "photos"
            ],
            "type": "string",
            "description": "📸 **PLACE PHOTOS:** collects a place's photo library and tags every photo with the Google Maps category tab it came from.\n\nThis Actor has one job and this is it, so leave it as it is.",
            "default": "photos"
          },
          "places": {
            "title": "📍 Places",
            "uniqueItems": true,
            "type": "array",
            "description": "📍 **ONE PLACE PER LINE**, in whatever form you already have.\n\n✅ **Accepted:**\n- A Google Maps place URL from your browser's address bar\n- A place name with its city, e.g. `Katz's Delicatessen New York`\n- A hex place ID, e.g. `0x89c2598f7ff4aa09:0x313547e757cb8cea`\n\n🔎 Plain text is resolved through Google Maps itself, and the place name, address, category and GPS come back on every row.\n\n🚫 Short `maps.app.goo.gl` links are not supported. Open one in a browser and copy the full URL.",
            "default": [
              "Katz's Delicatessen New York"
            ],
            "items": {
              "type": "string"
            }
          },
          "photoCategories": {
            "title": "🏷️ Photo categories",
            "uniqueItems": true,
            "type": "array",
            "description": "🏷️ **THE CATEGORY TABS MAPS ITSELF SHOWS.** Pick 🖼️ All photos for the whole library, or narrow it to cut cost.\n\n🍽️ Restaurants carry Menu, Food & drink and Vibe.\n🏨 Hotels carry Rooms, Exterior and Amenities.\n🏢 By owner is the business's own photos; 👥 From visitors is what customers posted.\n\n✅ Tabs a place does not offer are skipped, never guessed at.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "latest",
                "menu",
                "food_and_drink",
                "vibe",
                "rooms",
                "exterior",
                "amenities",
                "from_visitors",
                "by_owner",
                "street_view_360",
                "videos"
              ],
              "enumTitles": [
                "🖼️ All photos",
                "🆕 Latest",
                "📋 Menu",
                "🍽️ Food & drink",
                "✨ Vibe",
                "🛏️ Rooms",
                "🏠 Exterior",
                "🏊 Amenities",
                "👥 From visitors",
                "🏢 By owner",
                "🗺️ Street View & 360°",
                "🎬 Videos"
              ]
            },
            "default": [
              "all"
            ]
          },
          "maxPhotosPerPlace": {
            "title": "🔢 Max photos per place",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "🔢 **YOUR MAIN COST CONTROL.** Stops after this many photos for each place.\n\n📸 Popular restaurants and landmarks hold thousands of photos, so leaving this high on a long list of places gets expensive fast. One request returns up to 200 photos, so the run stops at the first request that crosses your number.",
            "default": 100
          },
          "imageSize": {
            "title": "🖼️ Image resolution",
            "enum": [
              "thumbnail",
              "medium",
              "large",
              "original"
            ],
            "type": "string",
            "description": "🖼️ **HOW BIG THE IMAGE URLS COME BACK.** Google serves any size from a single photo.\n\n⭐ **Original** uses each photo's own native dimensions, which the data carries per photo. That is the largest size Google holds, not a grid thumbnail.\n\n💡 Every row also carries a separate thumbnail URL whatever you pick here, so you can preview cheaply and fetch full size only when you need it.",
            "default": "original"
          },
          "language": {
            "title": "🌐 Language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "pt",
              "nl",
              "pl",
              "tr",
              "ru",
              "ja",
              "ko",
              "zh-CN",
              "ar",
              "hi",
              "id",
              "th",
              "vi"
            ],
            "type": "string",
            "description": "🌐 **THE LANGUAGE OF THE CATEGORY LABELS.** Set it to French and the owner tab comes back as `Photos du propriétaire`; Portuguese gives `Do proprietário`.\n\n📸 The photos themselves are identical either way; only the labels change. Leave it on English if you want one stable set of labels to filter on.",
            "default": "en"
          },
          "includeVideos": {
            "title": "🎬 Include videos",
            "type": "boolean",
            "description": "🎬 **KEEP THE VIDEO CLIPS** visitors post alongside photos. Video rows carry a playable video URL and a length in milliseconds on top of the usual fields.\n\n📷 Turn this off for stills only.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}