# Google Images Scraper (`tagadanar/google-images-scraper`) Actor

Scrape Google Images results: full-size image URL, width and height, thumbnail, title, source page and domain, plus license and creator where Google shows them. Size, color, type, time, usage-rights, country and language filters. $1 per 1,000 images + $0.01 per results page.

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

## Pricing

from $0.70 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

Type a search query, get back the Google Images results as rows: the **full-size image URL** with its width and height, the thumbnail, the image title, and the page and website it comes from, in the order Google shows them. Where Google has it, each row also carries the license page, creator and copyright notice of the image. Filter by size, color, type, time and usage rights, and search the Google of any country.

**$1.00 per 1,000 images on Free ($0.70 on Gold), plus $0.01 per Google results page and $0.001 per run. Platform usage is included.** No API key, no login, no proxy needed.

### What you get

One flat row per image per query. Fields Google does not show for an image are null.

| Field | What it is |
| --- | --- |
| `query` | The query that found this image |
| `position` | Rank in Google Images for this query (1 = first image) |
| `title` | Title of the page the image is on, as Google shows it |
| `imageUrl` | Direct URL of the full-size image on the source site |
| `imageWidth`, `imageHeight` | Size of the full-size image, in pixels |
| `thumbnailUrl` | Google's thumbnail of the image |
| `thumbnailWidth`, `thumbnailHeight` | Size of the thumbnail, in pixels |
| `sourcePageUrl` | The web page the image appears on |
| `sourceDomain` | That page's domain (`britannica.com`) |
| `sourceName` | The site name Google shows (`Britannica`) |
| `fileSize` | File size as Google shows it (`135KB`), when shown |
| `dominantColor` | The image's main color, as `rgb(r,g,b)` |
| `licenseUrl` | The image's license page, when the publisher declares one |
| `creator` | Photographer or creator, when declared |
| `copyrightNotice` | Copyright text, when declared |
| `id` | Google's ID for the image |
| `page` | Google results page the image was on |
| `country` | Country of the Google searched |
| `retrievedAt` | When the row was fetched (ISO 8601) |

Example row:

```
{
  "query": "red fox",
  "position": 2,
  "title": "Red fox | Diet, Behavior, & Adaptations | Britannica",
  "imageUrl": "https://cdn.britannica.com/95/206395-050-02B81B30/Red-fox-Vulpes-vulpes.jpg",
  "imageWidth": 1600,
  "imageHeight": 1024,
  "sourcePageUrl": "https://www.britannica.com/animal/red-fox-mammal",
  "sourceDomain": "britannica.com",
  "sourceName": "Britannica",
  "fileSize": "135KB"
}
```

### Who uses it

- **Machine-learning and computer-vision teams** collecting labelled image sets: one query per class, the full-size URLs and dimensions ready for a downloader.
- **SEO and brand teams** checking which sites rank in Google Images for their keywords, and where their own images (or copies of them) show up.
- **Designers, marketers and researchers** gathering reference images with the license and creator next to each one.

### Examples

Prefill: the first 100 images for one query.

```json
{"queries":["red fox"],"maxResults":100}
```

Large photos under Creative Commons licenses, from the UK Google:

```json
{"queries":["london skyline","tower bridge"],"maxResults":50,"country":"gb","size":"large","type":"photo","license":"creativeCommons"}
```

Transparent-background clip art from the past year:

```json
{"queries":["coffee cup icon"],"color":"transparent","type":"clipart","time":"year"}
```

Images from French-language pages:

```json
{"queries":["tour eiffel"],"country":"fr","language":"fr"}
```

Inputs: `queries` (one per line, up to 100 per run), `maxResults` per query (default 100, up to 100), `country` (two-letter code, default `us`), `language` (only pages in that language), and Google's own filters `size`, `color`, `type`, `time` and `license`.

### Results, zeros and errors

- Each query returns the images from Google's first results page, about 100 images, in Google's order. For more images on a topic, add query variations ("red fox cub", "red fox winter"); each one is a separate results page.
- A query Google answers with "no match" is reported as "no match" in the run status. It costs one results page and no image charges.
- A query Google did not answer, or that the run clock stopped, is named in the status and is never reported as "no match". Pages Google did not answer are not charged.
- Invalid input (an empty query list, an unknown filter value, a bad country code) ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $0.01 per Google results page read (one page holds up to about 100 images).
- $1.00 per 1,000 images on Free, with lower prices on higher Apify plans ($0.70 per 1,000 on Gold). Platform usage is included.

So 100 images for one query cost about $0.11 on Free. Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status.

### FAQ

**Do I get the real image or only Google's thumbnail?** Both: `imageUrl` is the original file on the publisher's site, with its width and height; `thumbnailUrl` is Google's small copy.

**Can I download the images?** This actor returns URLs, not files. Feed `imageUrl` to any downloader. Some sites block hot-linking or remove images over time, so a small share of URLs may no longer load.

**Are the filters the same as on Google?** Yes: size, color, type, time and usage rights are Google Images' own filters, passed to Google as-is.

**Can I reuse the images?** Not automatically. Images belong to their owners. The usage-rights filter and the `licenseUrl` / `creator` / `copyrightNotice` fields help you find reusable ones, but check the license on the source page first.

### Data use

The data is what Google Images shows publicly to anyone who searches. The actor does not log in and does not collect personal accounts. Images and pages belong to their publishers; you are responsible for how you use them, including copyright and any personal data an image may show.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/google-images-scraper/changelog.md

# Actor input Schema

## `queries` (type: `array`):

What you would type into Google Images, one query per line. Up to 100 queries per run.

## `maxResults` (type: `integer`):

How many images to return for each query, from Google's first results page (about 100 images). Default 100, max 100.

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

Two-letter country code of the Google you search from (us, gb, de, fr, in, br...). Default us.

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

Optional. Only return images from pages written in this language (en, fr, de, es, zh-CN...). Leave empty for any language.

## `size` (type: `string`):

Google's image size filter.

## `color` (type: `string`):

Google's color filter: full color, black and white, transparent background, or one dominant color.

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

Google's image type filter.

## `time` (type: `string`):

Only images Google found in this period.

## `license` (type: `string`):

Google's usage-rights filter. Always check the license on the source page before reusing an image.

## Actor input object example

```json
{
  "queries": [
    "red fox"
  ],
  "maxResults": 100,
  "country": "us",
  "size": "any",
  "color": "any",
  "type": "any",
  "time": "any",
  "license": "any"
}
```

# Actor output Schema

## `dataset` (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 = {
    "queries": [
        "red fox"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/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 = {
    "queries": ["red fox"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/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 '{
  "queries": [
    "red fox"
  ],
  "maxResults": 100
}' |
apify call tagadanar/google-images-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tagadanar/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/q9AYhAWlcsljrBCNV/builds/dcjz6gHbKWuEryGyT/openapi.json
