# Google Images Scraper (reliable, bulk) (`steadydata/google-images`) Actor

Image search results from Google per query: full-size image URL with width and height, title, source page, domain and file size. Up to 200 queries per run. Only delivered images are charged.

- **URL**: https://apify.com/steadydata/google-images.md
- **Developed by:** [Steadydata Team](https://apify.com/steadydata) (community)
- **Categories:** AI, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.40 / 1,000 image listeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Images Scraper (reliable, bulk)

Image search results from Google for **up to 200 queries per run**: the full-size image
URL with its width and height, the title, the page the image lives on, the domain and
the file size. **You only pay for images that are actually delivered.**

### Why this scraper

- **Full-size image URLs, not thumbnails.** Every row carries the original image URL
  with its real dimensions, plus a thumbnail URL separately. That is the difference
  between a usable result and a preview.
- **The source page comes with it.** You get the page the image appears on and its
  domain, which is what you need for attribution, licensing checks or follow-up
  scraping.
- **No browser, no bot wall.** The results are fetched as server-rendered HTML through
  a country-matched search proxy. Browser-based scrapers get sent to a CAPTCHA; this
  route does not, and it is a fraction of the cost.
- **Only delivered images are charged.** A query without results, or a temporary block,
  comes back as a clear error record at no cost.
- **A hard cost ceiling you control.** `maxImagesPerQuery` is the cap: one delivered
  image is one charged event.

### Who this is for

Teams building image datasets, researchers sampling visual material for a topic,
e-commerce and brand teams checking which images rank for their terms, and pipelines
that need candidate images with their source pages attached.

### Who this is not for

If you want to look at pictures, Google Images does that better. This actor is for
getting the results out as data. It also does not download the images themselves; it
returns the URLs, so you stay in control of what you fetch and store.

**On rights:** search results point at images owned by other people. This actor reports
where an image sits and how large it is; whether you may use it is between you and the
rights holder, and the source page is returned so you can check.

### Input example

```json
{
    "queries": [
        "golden retriever",
        "modern office interior",
        "electric bike 2026"
    ],
    "maxImagesPerQuery": 100,
    "safeSearch": true,
    "country": "US",
    "language": "en"
}
```

### Output example

```json
{
    "query": "golden retriever",
    "country": "US",
    "position": 1,
    "imageId": "eYoKU9jW-eRT6M",
    "title": "Golden Retriever: Pros, Cons & Diet Guide | Ollie",
    "imageUrl": "https://blog.ollie.com/wp-content/uploads/250506_Livingroom_SHOT.jpg",
    "imageWidth": 2560,
    "imageHeight": 1707,
    "thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSe1mLcW",
    "sourcePageUrl": "https://blog.ollie.com/breed-deets-golden-retriever/",
    "sourceDomain": "blog.ollie.com",
    "fileSize": "522KB",
    "status": "ok"
}
```

A query that cannot be delivered produces an error record instead, and is **not**
charged:

```json
{
    "input": "asdkjhasdkjh",
    "status": "error",
    "errorCode": "NO_RESULTS",
    "error": "No images on the results page for 'asdkjhasdkjh'"
}
```

Error codes: `INVALID_QUERY`, `NO_RESULTS`, `BLOCKED`. `INPUT_TRUNCATED` appears once when your input is longer than this actor accepts.

### Related actors from steadydata

- [google-shopping](https://apify.com/steadydata/google-shopping): product listings with prices for the same query
- [google-autocomplete](https://apify.com/steadydata/google-autocomplete): what people actually type around this query

### Pricing

Pay per event: one `image-listed` event per delivered image. No charge for queries that
fail or return nothing, no separate platform-usage surcharge.

### FAQ

**Do I get the image file or the link?**
The link, with the dimensions and file size so you can decide what is worth fetching.
Downloading stays your choice, which keeps both the cost and the storage on your side.

**Are results different per country?**
Yes. `country` sets both the proxy exit country and the Google region, so a Dutch run
returns what a Dutch visitor sees.

**Can I turn SafeSearch off?**
The `safeSearch` option exists and defaults to on. Turning it off is your call and your
responsibility.

**Why is the source page missing on a few rows?**
Google does not always attach one, usually for images it serves from its own cache. The
field is left empty rather than filled with a guess.

**Is personal data collected?**
No. Public image and page metadata only. No face recognition, no people search.

**What happens when Google changes something?**
Google changes its markup constantly; that is the nature of this work. The actor is
monitored daily and fixed fast, and while it is broken you are not charged, because
only delivered images cost anything.

# Actor input Schema

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

Image searches, e.g. 'golden retriever' or 'modern office interior'. Up to 200 per run.

## `maxImagesPerQuery` (type: `integer`):

Stop after this many images per query. This is your cost ceiling: one delivered image is one charged event.

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

Keep Google's SafeSearch filter on. Leave this on unless you have a reason not to.

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

ISO country code, e.g. US, NL, DE. Sets both the proxy exit country and the Google region.

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

Interface language, e.g. en, nl, de.

## Actor input object example

```json
{
  "queries": [
    "golden retriever"
  ],
  "maxImagesPerQuery": 100,
  "safeSearch": true,
  "country": "US",
  "language": "en"
}
```

# Actor output Schema

## `results` (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": [
        "golden retriever"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadydata/google-images").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": ["golden retriever"] }

# Run the Actor and wait for it to finish
run = client.actor("steadydata/google-images").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": [
    "golden retriever"
  ]
}' |
apify call steadydata/google-images --silent --output-dataset

```

## MCP server setup

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

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/CaF7AIEUgWBuvdHyA/builds/XAGvAUfHLDwyG9vUr/openapi.json
