Google Image Search
Base URL:https://drain.lat/api/v1/imagesearch
Powered by Google Custom Search API. Results are cached for 10 minutes per unique query to reduce API quota usage.
GET /search
GET /search
Search Google Images and retrieve structured image results with metadata.
string
required
Search query/keywords. Can also use
query parameter.number
Number of results to return. Range:
1-10. Default 10.number
Starting index for pagination. Default
1.string
Safe search level. Options:
off, active. Default off.string
Image size filter. Options:
huge, icon, large, medium, small, xlarge, xxlarge.string
Image type filter. Options:
clipart, face, lineart, stock, photo, animated.string
Color type filter. Options:
color, gray, mono, trans.string
Dominant color filter. Options:
black, blue, brown, gray, green, orange, pink, purple, red, teal, white, yellow.string
File format filter. Options:
jpg, png, gif, bmp, svg, webp, ico, raw.string
The search query used.
array
number
Number of results returned in this response.
number
Estimated total results available.
number
Search execution time in seconds.
number
Starting index for next page of results.
null if no more pages.Response
Pagination
To get the next page of results, use thenextPage value from the response as the start parameter: