Go to example tasks

Get Google Images results in Python

Get Google Images results in Python by API for any keyword. Each row returns the image URL, title, source site, page link, position, and dimensions.

Try for free
Google Images API - $0.10 per 1,000 - Fast Image API
Google Images API - $0.10 per 1,000 - Fast Image APIjohnvc/google-images-api
Query
Position
Title
Image URL
+4 fields
Text
Number
Boolean
List
Object

Input

Search Queries(required):mount fuji
Maximum Results Per Query:50

Output fields

Query
Position
Title
Image URL
Image Width
Image Height
Source
Page Link

How it works

Sign up on Apify or log in

The Google Images API - $0.10 per 1,000 - Fast Image API Actor is ready to run with the inputs already set for "Get Google Images results in Python". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Get Google Images results in Python" task

The Google Images API - $0.10 per 1,000 - Fast Image API Actor will start running based on the input automatically. You can also change all the input fields, like search queries and maximum results per query, to match your specific use case.

Receive the "Get Google Images results in Python" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as query, position, title, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Get Google Images results in Python" task via API.

Image

Integrate "Get Google Images results in Python" into your workflow

Connect "Get Google Images results in Python" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Each item from the dataset is a dict with query, position, title, imageUrl, imageWidth, imageHeight, source and link, ready for a pandas DataFrame. Pull it with apify-client's iterate_items, or download JSON or CSV from the run in the Console.

A run_input dict with queries, for example ["mount fuji"], and maxResultsPerQuery, 50 in the example. Optional gl and hl pick country and language, and reuseOlderResults set to true accepts cached searches up to 30 days old.

pip install apify-client, then ApifyClient(token).actor("johnvc/google-images-api").call(run_input={...}) and read run["defaultDatasetId"] with iterate_items. Node has the same client, and a plain POST to the run endpoint works from any language.

Save the task in the Apify Console, open Actions, then Schedule, and set 0 7 * * * for a daily run; the platform runs it, so your machine needs no cron job. Your Python code then reads the newest dataset, or a webhook calls your endpoint afterwards.

The same Actor is reachable at https://mcp.apify.com/?tools=actors,docs,johnvc/google-images-api from Claude, Cursor or any other MCP client, so an agent can fetch the rows without a script. The Python path is for pipelines; MCP is for conversations.

Pricing is per image returned however you call it: a Python script, the Console and an MCP client pay the same flat per-image rate, with no per-run fee, no setup fee and no monthly minimum. Current pricing is on the Google Images API Actor page.

Get Google Images results in Python is for code: apify-client, a dict in, a list of dicts out. Pull Google Images into n8n by API gives the same rows to a no-code workflow through the n8n community node, with a Filter or Slack step instead of Python.