# Google Images Scraper — Image URLs, Sizes & Sources (`steadyscrape/google-images-scraper`) Actor

Google Images scraper and API: full-size image URLs with width and height, thumbnail, source page and title, site, domain, file size and colour for any search term or Google Images link. Size, colour, type, time, usage-rights and file-type filters. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/google-images-scraper.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (community)
- **Categories:** SEO tools, AI, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 images

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Images Scraper — image URLs, sizes and sources

This **Google Images scraper** turns any search term or Google Images link into a table of images: for every result,
its **full-size image URL with width and height**, Google's thumbnail and its size, the **source page and its title**,
the site name and domain, the file size Google prints (`522KB`) and the image's dominant colour. Google Images' own
filters — size, colour, type (clip art, line drawing, GIF), time, usage rights (Creative Commons) and file type — are
one setting each, and each term is paged past the first 100 results.

Nothing is downloaded: you get links, so a run of thousands of images is fast and cheap. Use it as a Google Images API
from your own code, or export to JSON, CSV or Excel.

**US$0.0005 per image + US$0.003 per results page.** 100 images of one term are US$0.053. Searches Google did not
answer, terms without images and links that are not Google searches cost nothing.

### What the Google Images scraper returns

One row per image, in Google's order:

| field | example |
|---|---|
| `position`, `page` | `1`, `1` (page 1 holds the first 100, page 2 the next) |
| `imageUrl`, `imageWidth`, `imageHeight` | `https://blog.ollie.com/…/250506_Livingroom_SHOT-10_0173_FR-scaled.jpg`, `2560`, `1707` |
| `thumbnailUrl`, `thumbnailWidth`, `thumbnailHeight` | `https://encrypted-tbn0.gstatic.com/images?q=tbn:…`, `678`, `452` |
| `sourceUrl`, `title` | `https://blog.ollie.com/breed-deets-golden-retriever/`, `Golden Retriever: Pros, Cons & Diet Guide \| Ollie` |
| `siteName`, `domain` | `Ollie Blog`, `blog.ollie.com` |
| `fileSize` | `522KB` (as Google prints it) |
| `dominantColor` | `#597c79` |
| `imageId` | Google's id of the image, stable between runs |
| `query`, `searchUrl`, `filters`, `country`, `language`, `input` | the search the row answers, and a link to open it in Google Images |
| `status`, `reason` | `ok` for an image; `no_results`, `blocked`, `invalid` or `unreadable` (free rows) say why a search gave none |
| `scrapedAt` | when the row was read, ISO 8601 UTC |

### Use cases

- **Datasets for machine learning**: hundreds of labelled images per class (`cat`, `dog`, `golden retriever puppy`),
  with sizes to filter out small ones before you download.
- **Reverse image research and brand monitoring**: which sites carry your product photos, logo or artwork, with the
  page and its title.
- **Image SEO**: where your pages rank in Google Images for your keywords, and who ranks above you.
- **Creative Commons and stock research**: `usageRights: creativeCommons` with `imageSize: large`.
- **Design and mood boards**: by dominant colour, transparent backgrounds (`imageColor: transparent`) or line art.

### Input

```json
{
    "searchTerms": ["golden retriever", "minimalist logo"],
    "maxImagesPerTerm": 150,
    "country": "us",
    "language": "en",
    "safeSearch": true,
    "imageSize": "large",
    "imageColor": "any",
    "imageType": "any",
    "timePeriod": "any",
    "usageRights": "creativeCommons",
    "fileType": "any"
}
```

- `searchTerms` — one search each, as typed into Google Images. A Google Images link pasted here is read as a link.
- `searchUrls` — Google Images links copied from your browser, with or without `https://` or inside the text a share
  button copies; their own words, filters (`tbs`), country (`gl`), language (`hl`, also `en_US` or `es-419`),
  SafeSearch (`safe`) and result restrictions (`lr`, `cr`) are kept. Short share links (`share.google/…`) are free
  rows: open one in a browser and copy the link from the address bar.
- `maxImagesPerTerm` — default 100. Google's results page holds up to 100 images and its "More results" page about
  100 more; on 2026-11-07 that second page was its last, so a term gives up to about 200 (a repeat between the two
  pages is skipped and not charged).
- `country` and `language` — codes in any case (`GB`, `pt_br`); empty means `us` and `en`.
- **Coming from another Google Images Actor?** Its field names work here too: `queries` or `query` for the terms,
  `startUrls` for links, `maxResultsPerQuery` for the images per term, `gl`/`hl` for country and language, and
  `maxItems` as a ceiling on the images of the whole run. A field this Actor does not read is named in the run's
  status message.
- Filters: `imageSize` (`large`, `medium`, `icon`), `imageColor` (`blackAndWhite`, `transparent`, or a colour such as
  `red` or `blue`), `imageType` (`clipart`, `lineart`, `gif`), `timePeriod` (`day`, `week`, `month`, `year`),
  `usageRights` (`creativeCommons`, `commercial`), `fileType` (`jpg`, `png`, `gif`, `bmp`, `svg`, `webp`, `ico`).

### Output example

```json
{
    "status": "ok",
    "reason": null,
    "input": "golden retriever",
    "query": "golden retriever",
    "searchUrl": "https://www.google.com/search?q=golden%20retriever&udm=2&hl=en&gl=us&safe=active",
    "filters": null,
    "country": "us",
    "language": "en",
    "position": 1,
    "page": 1,
    "imageId": "eYoKU9jW-eRT6M",
    "imageUrl": "https://blog.ollie.com/wp-content/uploads/250506_Livingroom_SHOT-10_0173_FR-scaled.jpg",
    "imageWidth": 2560,
    "imageHeight": 1707,
    "thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSe1mLcW_M8xRI0J5UcnG6soPw9kd8XQOgz7Y4sOLFZoA&s=10",
    "thumbnailWidth": 678,
    "thumbnailHeight": 452,
    "sourceUrl": "https://blog.ollie.com/breed-deets-golden-retriever/",
    "title": "Golden Retriever: Pros, Cons & Diet Guide | Ollie",
    "siteName": "Ollie Blog",
    "domain": "blog.ollie.com",
    "fileSize": "522KB",
    "dominantColor": "#597c79",
    "scrapedAt": "2026-11-07T12:00:00.000Z"
}
```

### Cost

| event | price | when |
|---|---|---|
| `image` | US$0.0005 | one image row |
| `search` | US$0.003 | one results page Google answered with images (up to 100) |

100 images of one term: 1 page + 100 images = **US$0.053**. 200 images: 2 pages + about 196 images ≈ **US$0.10**.
Blocked pages, terms without images (the page is not charged either), repeats and invalid links are free rows. Set a spending limit on the run and it
stops there: no page is asked that the limit cannot pay for.

### Limits

- **About 200 images per term**: that is as far as Google's own "More results" goes for a client without a browser
  session. For more, split the term (`golden retriever puppy`, `golden retriever running`…) or vary the filters.
- **Links, not files**: the Actor downloads nothing. A full-size link points at the publishing site, which may have
  moved or removed the image since Google indexed it; the thumbnail is Google's own copy. Some sites are indexed with
  `http://` links: the row gives the link as Google has it.
- **Images inside PDFs** and other documents have no address of their own (Google writes `x-raw-image:///…`):
  `imageUrl` is `null`, `sourceUrl` is the document and `thumbnailUrl` the image.
- **Aspect ratio** is not offered: Google drops it from its own links (measured 2026-11-07), so it would filter nothing.
- **Verification**: when Google asks an IP to prove it is human, that page is never answered; the page is asked again
  from another IP of Apify's search proxy, and after three in a row the rest of the run gives free `blocked` rows.

### Is it legal?

The Actor reads public search results, the ones any visitor sees without an account, through Apify's own Google
search proxy, and returns links only. Images belong to their owners: Google's usage-rights filter reads the licence a
page declares, so check the source page before you reuse an image. You are responsible for how you use the data and
for the terms and laws that apply to you. This Actor is not affiliated with or endorsed by Google.

# Actor input Schema

## `searchTerms` (type: `array`):

One per line, exactly as you would type them into Google Images: <code>golden retriever</code>, <code>minimalist logo</code>, <code>red sneakers white background</code>. Each term is one search. A Google Images link pasted here is read as a link.

## `searchUrls` (type: `array`):

Links copied from your browser, such as <code>https://www.google.com/search?q=golden+retriever\&udm=2\&tbs=ic:gray</code>, with or without <code>https://</code>, or inside the text a share button copies. The link's own words, filters, country (<code>gl</code>), language (<code>hl</code>), SafeSearch (<code>safe</code>) and result restrictions (<code>lr</code>, <code>cr</code>) are kept; the filters below apply to search terms only. Words without a link are searched as a term.

## `maxImagesPerTerm` (type: `integer`):

Google shows up to 100 images on a results page and its own "More results" page holds about 100 more: on 2026-11-07 its second page was its last, so a term gives up to about 200. Each results page Google answers with images is one <b>search</b> charge; a page without images is free.

## `country` (type: `string`):

Two-letter code of the country whose Google answers (<code>us</code>, <code>gb</code>, <code>de</code>, <code>br</code>, <code>in</code>…).

## `language` (type: `string`):

Google's interface language (<code>en</code>, <code>de</code>, <code>es</code>, <code>pt-BR</code>, <code>es-419</code>…), which also steers results towards pages in that language.

## `safeSearch` (type: `boolean`):

On, Google filters explicit images out (<code>safe=active</code>). Off, it shows everything it has (<code>safe=off</code>).

## `imageSize` (type: `string`):

Google Images' size tool.

## `imageColor` (type: `string`):

Google Images' colour tool: black and white, transparent background, or a dominant colour.

## `imageType` (type: `string`):

Google Images' type tool.

## `timePeriod` (type: `string`):

Only images Google found in this period.

## `usageRights` (type: `string`):

Google's licence filter. It reads the licence the publishing page declares; check the source page before you reuse an image.

## `fileType` (type: `string`):

Google's file-type filter, no longer shown in its tools but still honoured (for PNG on 2026-11-07, 41 of 50 links ended in .png and the rest had no extension).

## Actor input object example

```json
{
  "searchTerms": [
    "golden retriever"
  ],
  "maxImagesPerTerm": 50,
  "country": "us",
  "language": "en",
  "safeSearch": true,
  "imageSize": "any",
  "imageColor": "any",
  "imageType": "any",
  "timePeriod": "any",
  "usageRights": "any",
  "fileType": "any"
}
```

# Actor output Schema

## `images` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchTerms": [
        "golden retriever"
    ],
    "maxImagesPerTerm": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/google-images-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchTerms": ["golden retriever"],
    "maxImagesPerTerm": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/google-images-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "golden retriever"
  ],
  "maxImagesPerTerm": 50
}' |
apify call steadyscrape/google-images-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/google-images-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4UDl1wZLE2wH3G889/builds/m5pR3RKNF1u6SkVgD/openapi.json
