Web research5 min readBy Purrkey team

How to collect Google Images results for a keyword with DataForSEO

Pull up to 100 live Google Images results for one keyword with title, alt text, hosting page and original image address in a single call

On this page

You have 25 article briefs and need to see which sites Google surfaces for each brief's image search before you shortlist a single picture. One call to dataforseo.serp.google_images returns up to 100 live Google Images results for one keyword, each with the page that shows the image and the original image address, so a candidate can be traced back to its host

The deliverable is a worksheet with one row per image and a shortlist column you fill in yourself. No call has been run for this guide, so the table below is a design rather than a result

Example keyword and the shortlist worksheet

The example input is the search phrase minimalist standing desk setup. It is invented for this guide, so replace it with a phrase lifted from your own brief. Values in the table are placeholders showing the shape

ranktitlesourcealturlimageUrlshortlist
(position Google gives)(title of the result)(site that hosts the image)(alt text, or empty)(page that shows the image)(original image address)yes or no

The shortlist column carries the decision the sweep exists for: which images to look at more closely and which domains are worth crediting or contacting about reuse. Fill it from source and url, because the conversation happens with a page, not with a file

What one call takes

The catalog entry is POST /v1/runs with toolId dataforseo.serp.google_images. The contract lists three input properties: keyword, which is required and takes 1 to 700 characters, language_code, optional with a default of en and accepting a code such as en or zh-TW, and location_code, optional with a default of 2840, which is the United States, and accepting any DataForSEO location code you already use

Two limits sit at this step. A single call returns at most 100 images, and each entry describes public image results only as Google surfaces them. Both matter for a 25 brief sweep: 25 calls is 25 separate ceilings of 100 rows, not one merged pool of 2,500 candidates

Reading the fields that drive the shortlist

The response holds an images array, and each item carries rank, title, source, alt, url and imageUrl. Around the array, the response repeats keyword, languageCode and locationCode, and carries checkedAt

rank sets the reading order, so sort on it before anything else and treat the first screen as the strongest candidates. source is the site name that hosts the image, which is the column you group by when you want one contact per domain instead of one per picture. url is the page that shows the image, so it is the address to open when you check context. imageUrl is the original image address, the field you keep once a row makes the shortlist. alt and title can come back empty for an individual row, so plan for blank cells rather than treating them as a broken row

If the images are heading to a mood board instead of an article brief, the companion guide on collecting Google Images for a mood board covers that flow

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to collect Google Images
results for the keywords below, one call per keyword. Check the current inputs
and price of dataforseo.serp.google_images before running a call. Pass each
keyword as given, and set language_code and location_code only where the list
names them. Return one table with rank, title, source, alt, url, imageUrl and an
empty shortlist column, keep rows in rank order, and do not open, download or
reuse any image.

1. minimalist standing desk setup
2. add the remaining 24 keywords from the brief sheet here

Replace the list with your own phrases. keyword accepts 1 to 700 characters, so a full search phrase fits without trimming. Keep the first run to one keyword and read the rows by hand before you commit to 25 calls

Estimated tool cost

Prices read from the Purrkey catalog on November 22, 2026. The unit is max_call, which the catalog explains as "Maximum per call. Successful runs settle at DataForSEO's actual charge, with no markup", so the totals below are ceilings rather than settled charges

StepFormulaUnit pricePlanned quantityTotal
One keyword lookupcalls x max priceup to $0.004 per call1$0.004
Sweep for 25 briefscalls x max priceup to $0.004 per call25$0.10

The sweep figure assumes one call per brief and no retries. Model fees for the agent are not counted, since they are billed by whichever model you run

Run the first keyword

Start with one keyword, read the 100 rows it can return, then decide whether the 25 call sweep is the right size. The tool page is dataforseo.serp.google_images, where the current price and input schema sit before you run anything

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with DataForSEO.
Explore DataForSEO tools and pricing

FAQ

How do I get Google Images results for a keyword through an API?

Send the keyword to dataforseo.serp.google_images as a POST /v1/runs call with that toolId. The response returns up to 100 images, each with rank, title, source, alt, url and imageUrl.

What inputs does dataforseo.serp.google_images take?

The contract lists keyword as required, with 1 to 700 characters, plus optional language_code with a default of en and optional location_code with a default of 2840, the United States.

How many images come back in one call?

A single call returns at most 100 images. Each entry describes public image results only as Google surfaces them.

What is the difference between url and imageUrl?

url is the page that shows the image. imageUrl is the original image address.

What does the source field contain?

source is the name of the site that hosts the image, which is the field to read when you decide which domains are worth crediting or contacting about reuse.

How much does an image sweep for 25 article briefs cost?

At most $0.10, calculated as 25 calls at up to $0.004 per call. The figure is a ceiling, since successful runs settle at DataForSEO's actual charge with no markup. Agent model fees are not counted.

Can I search images in another language or country?

language_code takes a code such as en or zh-TW and defaults to en. location_code takes any DataForSEO location code you already use and defaults to 2840, the United States.

Next step

Try this with DataForSEO

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See DataForSEO tools

Share this article