Google Images Search — API reference
/google/image/searchGoogle Images Search
Search Google Images by query for image results and source links. Returned links do not grant image usage rights.
Search Google Images by query for image results and source links. Returned links do not grant image usage rights.
qstringrequired
Search query string.
hlstringoptional
Language code. Defaults to en.
glstringoptional
Country code. Defaults to us.
pagenumberoptional
1-based page number. Defaults to 1.
querystringCatalog sample; the API validates required fields.
sample: "red pandas"
{
"query": "red pandas"
}querystringrequired
Normalized query from the request.
pagenumberrequired
Current 1-based page number.
imagesImageResult[]When image results are parsed.
Google Images results.
ranknumberrequired
1-based ranking position in this response.
positionnumberAlias for rank when available.
Normalized rank alias for clients that expect position.
titlestringWhen image title or alt text is parsed.
Result title.
linkstringrequired
Primary link returned by the parser.
urlstringPresent for normalized result links.
Canonical target URL, usually the same value as link.
source_urlstringOnly when Google redirect/source URL is observed.
Original Google URL kept for debugging and provenance.
display_urlstringWhen Google display text or a domain can be derived.
Display URL or source domain.
image_urlstringrequired
Full image URL.
thumbnail_urlstringWhen Google exposes a thumbnail.
Thumbnail URL.
thumbnailstringAlias for thumbnail_url when available.
Normalized thumbnail alias.
sourcestringWhen source text is parsed.
Image source label.
domainstringWhen source page domain can be derived.
Source page domain.
curl -X POST 'https://api.serpbase.dev/google/image/search' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"query":"red pandas"}'Existing Google request example
curl -X POST https://api.serpbase.dev/google/image/search \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d '{
"q": "iphone 15 pro blue",
"hl": "en",
"gl": "us",
"page": 1
}'Visual search, product monitoring, image source discovery.
Some Google Images payload shapes expose rank/link but not every normalized alias. Treat url, display_url, source_url, position, and thumbnail as optional.