Before a product launches, someone on the team usually opens Google Images and types in the category — "wireless earbuds," "standing desk," whatever the product is — just to see what's already out there. It's a fast way to check what visual style already owns a search term before you commit to your own product photography. The problem is that checking by hand means scrolling a grid and eyeballing it, which doesn't scale past a handful of queries and leaves nothing you can actually compare or store.
If you're an agent (or building one) reading this rather than a human, the full machine-readable schema for every endpoint below lives at mindcase.co/skills.md.
What does the Google Images API actually return?
Google Images API takes a text query and returns up
to 10 fields per image: title, imageUrl, sourcePageUrl,
sourceDomain, imageWidth, imageHeight, orientation, megapixels,
imageType, and thumbnailUrl. That's enough to answer questions a
screenshot can't: which domains keep showing up for a query, whether the
dominant images are landscape product shots or square lifestyle photos,
and whether they're photographs or illustrations (imageType).
It's a text-in, structured-data-out endpoint — one query string goes in, a list of images comes back. There's no way to hand it a photo and ask "where else does this appear"; that's a different kind of lookup entirely, and Google Images doesn't expose it this way.
Why pull image data instead of just using Google Search data?
Google Search API is built for text results — organic links, snippets, titles. It'll tell you which pages rank for a query, but nothing about what those pages look like. A page can rank well with a generic stock photo or a carefully art-directed hero shot, and that difference matters if you're deciding how your own product page should look.
Pulling both for the same query gives you two layers: who's winning the text result, and what visual language is winning the image grid next to it. They don't always agree — a listicle can rank first in text while a single retailer's product photo dominates the image results for the same term.
How do you pull image results for a query?
Say you're planning product photography for a new pair of wireless earbuds and want to see what's already saturating that search term before your shoot.
curl -X POST "https://api.mindcase.co/v1/data/google/images/run?wait=true" \
-H "Authorization: Bearer $MINDCASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"params": {
"queries": "wireless earbuds",
"maxResults": 50
}
}'
# $0.001 per resultEach row comes back with sourceDomain and sourcePageUrl — where the
image actually lives — plus imageWidth, imageHeight, and orientation,
so you can tell in bulk whether the field is dominated by square lifestyle
shots or landscape product-on-white photography. imageType separates
real photographs from renders and illustrations, which matters if you're
trying to see how much of the category still uses stock-style CGI product
shots versus photographed ones.
How do you see the whole first page instead of a sample?
Set maxResults to 0 instead of a fixed number:
curl -X POST "https://api.mindcase.co/v1/data/google/images/run?wait=true" \
-H "Authorization: Bearer $MINDCASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"params": {
"queries": "wireless earbuds",
"maxResults": 0
}
}'
# $0.001 per result0 pulls the full first page — roughly 300 results — instead of stopping
at a fixed count. That's the difference between a quick gut-check and a
dataset big enough to actually tally: what fraction of results are square
versus landscape, how many distinct sourceDomains show up more than
once, that kind of thing.
What can you tell from the returned fields alone?
A few fields are worth grouping by rather than reading row by row:
sourceDomain, counted. If the same handful of domains keeps showing up across a query, that's the retailers and publishers currently owning the visual conversation for that term.orientationandimageWidth/imageHeight, grouped. This tells you the dominant crop and aspect ratio for the category, which is directly useful if you're briefing a photoshoot.imageType, grouped. Photograph versus illustration versus render splits tell you whether a category still leans on stock-style CGI or has moved to photographed product shots.
None of this needs a person scrolling a grid — it's a GROUP BY on data
you already pulled.
What can't you get from Mindcase?
Two cases.
You can't search by image. The endpoint takes a text queries string,
not an uploaded photo — there's no way to hand it an image and ask where
else it appears online. If that's the workflow you need — verifying
whether a specific photo has been reused elsewhere — this isn't the right
tool for it.
There's no ranking position field. Unlike Google Search
API, which returns an explicit rank per result,
the Images response has no equivalent field. The order results come back
in reflects Google's own ordering, but it isn't a documented, stable rank
you can cite the way you can for search results — treat it as a set of
matching images, not a scored leaderboard.
Which endpoint should you use for which job?
| Endpoint | Input | Price | Best for |
|---|---|---|---|
| Google Images | Text query | $0.001 / result | Auditing what visual style already dominates a search term |
| Google Search | Text query or URL | $0.001 / page | Text rankings, snippets, and organic link data for the same query |
FAQ
No. The endpoint takes a text query only — there's no reverse image search or upload-based lookup available through this API.
Set maxResults to a fixed number, or 0 to pull the full first page, which is roughly 300 results.
No. There's no rank field on Images results the way there is on Google Search results. The order reflects Google's own return order, but it isn't a documented stable ranking.
$0.001 per image result returned. Pulling 50 results for one query costs $0.05.
Yes. The imageType field classifies each result, which is useful for seeing how much of a category still relies on renders or stock-style illustrations versus photographed product shots.