Skip to content

Google Images Image API

Returns the full record of one image from a query's results: title, full-size URL and dimensions, thumbnail, the page it appears on, its site and file size. With no id, returns the query's top image.

GEThttps://api.maviapi.com/v1/sites/images-google/image25 credits per call

Parameters

NameRequiredExampleDescription
idstring in queryOptionalNonethe image "id" from search_images results
qstring in queryOptionalred foxthe search text the id was found under
max_pagesinteger in queryOptional3how many result pages to look through for the id (1-5)

Response fields

idstringe.g."ELtbArEhSxawjM"
titlestringe.g."Species Spotlight - Red Fox (U.S. National Park Service)"
image_urlstringe.g."https://www.nps.gov/articles/images/red-fox_Ed-Sharron-copy.jpg"
widthintegere.g.582
heightintegere.g.605
thumbnail_urlstringe.g."https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQBZuN_zTO6CR1z57yMEY69BA14kIfrWCH3qnrqAv_XSw&s=10"
thumbnail_widthintegere.g.438
thumbnail_heightintegere.g.456
page_urlstringe.g."https://www.nps.gov/articles/species-spotlight-red-fox.htm"
domainstringe.g."www.nps.gov"
site_namestringe.g."National Park Service"
file_sizestringe.g."212KB"
dominant_colorstringe.g."rgb(144,80,29)"
querystringe.g."red fox"
pageintegere.g.1

Example request

Set MAVI_KEY to your API key. A successful call costs 25 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/images-google/image' \
  -H "Authorization: Bearer $MAVI_KEY"

Google Images Image API questions

What you get, what it costs and how to call it.

What does the Google Images Image API return?

Returns the full record of one image from a query's results: title, full-size URL and dimensions, thumbnail, the page it appears on, its site and file size. With no id, returns the query's top image. The response has id, title, image_url, width, height, thumbnail_url, thumbnail_width, thumbnail_height and 7 more.

Which parameters does the Google Images Image API take?

Every parameter of GET /image is optional. You can pass id, q and max_pages.

How much does one Google Images Image API call cost?

One successful call costs 25 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $4.90. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Google Images Image API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/images-google/image with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the Google Images Image API official?

No. It is an independent, hosted API from maviapi for the public data on images.google.com, and it is not made, endorsed or supported by Google Images. Its parameters and response fields are documented on this page.