Get Google Images results in Python
John
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.
Input
Output fields
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.

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.