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.
https://api.maviapi.com/v1/sites/images-google/image25 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
idstring in query | Optional | None | the image "id" from search_images results |
qstring in query | Optional | red fox | the search text the id was found under |
max_pagesinteger in query | Optional | 3 | how many result pages to look through for the id (1-5) |
Response fields
ide.g."ELtbArEhSxawjM"titlee.g."Species Spotlight - Red Fox (U.S. National Park Service)"image_urle.g."https://www.nps.gov/articles/images/red-fox_Ed-Sharron-copy.jpg"widthe.g.582heighte.g.605thumbnail_urle.g."https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQBZuN_zTO6CR1z57yMEY69BA14kIfrWCH3qnrqAv_XSw&s=10"thumbnail_widthe.g.438thumbnail_heighte.g.456page_urle.g."https://www.nps.gov/articles/species-spotlight-red-fox.htm"domaine.g."www.nps.gov"site_namee.g."National Park Service"file_sizee.g."212KB"dominant_colore.g."rgb(144,80,29)"querye.g."red fox"pagee.g.1Example request
Set MAVI_KEY to your API key. A successful call costs 25 credits per call, and a failed call costs nothing.
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.