{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Images Scraper | 400+ per Query | All Filters",
    "description": "Scrape Google Images: full-size image URLs with width and height, thumbnails, titles, source pages and domains. About 400 images per query and more with expansion, every Google filter, optional image download. Never a silent empty run.",
    "version": "0.1",
    "x-build-id": "xVdS2u1nZbfybeOru"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidrows~google-images-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidrows-google-images-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/solidrows~google-images-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidrows-google-images-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/solidrows~google-images-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidrows-google-images-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": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "What to search on Google Images, one query per line. Google operators work: \"exact phrase\", -word, OR.",
            "items": {
              "type": "string"
            }
          },
          "maxImagesPerQuery": {
            "title": "Max images per query",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "How many unique images to save per query. Google has about 100 images per results page and up to 4 pages (about 400 images) per query; the scraper opens only as many pages as needed. To go beyond about 400, choose a mode in \"More than 400 images\" below.",
            "default": 100
          },
          "expansion": {
            "title": "More than 400 images",
            "enum": [
              "none",
              "filters",
              "filters_and_related"
            ],
            "type": "string",
            "description": "Where to get more unique images once Google's own result pages for the query run out (about 400). \"Google filters\" repeats the same query with Google's size, aspect ratio, type, time and color filters, so results stay on topic. \"Filters + related searches\" then also follows the related searches Google suggests for the query (broader topic). Duplicates are removed; every row says which variation it came from.",
            "default": "none"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code of the Google results (the gl parameter): us, gb, de, fr, in, br, jp...",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language code (the hl parameter): en, de, es, fr, pt, ru, ja...",
            "default": "en"
          },
          "safeSearch": {
            "title": "SafeSearch",
            "enum": [
              "default",
              "strict",
              "off"
            ],
            "type": "string",
            "description": "Google's SafeSearch setting, sent as the safe parameter. Default leaves Google's own default for the country.",
            "default": "default"
          },
          "size": {
            "title": "Size",
            "enum": [
              "any",
              "large",
              "medium",
              "icon"
            ],
            "type": "string",
            "description": "Google's size filter. Ignored when \"Larger than\" is set.",
            "default": "any"
          },
          "minSize": {
            "title": "Larger than",
            "enum": [
              "any",
              "qsvga",
              "vga",
              "svga",
              "xga",
              "2mp",
              "4mp",
              "6mp",
              "8mp",
              "10mp",
              "12mp",
              "15mp",
              "20mp",
              "40mp",
              "70mp"
            ],
            "type": "string",
            "description": "Google's \"larger than\" filter: only images above this resolution. Good for print, wallpapers and training data.",
            "default": "any"
          },
          "aspect": {
            "title": "Aspect ratio",
            "enum": [
              "any",
              "tall",
              "square",
              "wide",
              "panoramic"
            ],
            "type": "string",
            "description": "Google's aspect ratio filter.",
            "default": "any"
          },
          "color": {
            "title": "Color",
            "enum": [
              "any",
              "color",
              "bw",
              "transparent",
              "red",
              "orange",
              "yellow",
              "green",
              "teal",
              "blue",
              "purple",
              "pink",
              "white",
              "gray",
              "black",
              "brown"
            ],
            "type": "string",
            "description": "Google's color filter: full color, black and white, transparent background or a dominant color.",
            "default": "any"
          },
          "type": {
            "title": "Type",
            "enum": [
              "any",
              "photo",
              "clipart",
              "lineart",
              "animated",
              "face"
            ],
            "type": "string",
            "description": "Google's image type filter.",
            "default": "any"
          },
          "fileType": {
            "title": "File type",
            "enum": [
              "any",
              "jpg",
              "png",
              "gif",
              "webp",
              "svg",
              "bmp",
              "ico",
              "raw"
            ],
            "type": "string",
            "description": "Only images in this file format, as Google identifies it.",
            "default": "any"
          },
          "license": {
            "title": "Usage rights",
            "enum": [
              "any",
              "creative_commons",
              "commercial"
            ],
            "type": "string",
            "description": "Google's license filter. It is Google's label, not a legal guarantee: check the license on the source page before reuse.",
            "default": "any"
          },
          "time": {
            "title": "Time",
            "enum": [
              "any",
              "day",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Only images Google found within this period.",
            "default": "any"
          },
          "site": {
            "title": "Only from this site",
            "type": "string",
            "description": "Optional. A domain such as nasa.gov or unsplash.com: only images found on that site (adds Google's site: operator to every query)."
          },
          "excludeSites": {
            "title": "Exclude sites",
            "type": "array",
            "description": "Optional. Domains to leave out, for example pinterest.com (adds Google's -site: operator; up to 15 domains).",
            "items": {
              "type": "string"
            }
          },
          "maxImagesPerDomain": {
            "title": "Max images per source domain",
            "minimum": 0,
            "type": "integer",
            "description": "Keep at most this many images from one website per query, for a more varied set. 0 = no cap. Skipped images are not charged.",
            "default": 0
          },
          "minWidth": {
            "title": "Min width, px",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only images at least this wide. Checked on the exact dimensions Google reports, before saving. Skipped images are not charged. 0 = no limit.",
            "default": 0
          },
          "minHeight": {
            "title": "Min height, px",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only images at least this tall. Skipped images are not charged. 0 = no limit.",
            "default": 0
          },
          "includeRelatedSearches": {
            "title": "Save related searches (free)",
            "type": "boolean",
            "description": "Also save the related searches Google shows above the images for each query, as separate rows with type = related_search. Free.",
            "default": false
          },
          "downloadImages": {
            "title": "Download image files",
            "type": "boolean",
            "description": "Download every full-size image file from its source website and store it in the run's key-value store. Each row gets downloadKey, downloadUrl, content type and size, or downloadError when the site refuses or the file is over 15 MB. Slower; files that fail are not charged for the download.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}