Last updated
ChangelogGoogle Images API
HealthyRead-onlyStructured data from images.google.com. Generated from images.google.com.
/search_images25 credits per callSearch Images
Returns one page (about 100) of Google Images results for a query: each image's title, full-size URL and dimensions, thumbnail, the web page it appears on, its site and file size. Pages run out after about 4-5.
Authorization: Bearer <key> on every request.Parameters
the search text
1-based results page; an empty "results" list means there are no more
any, large, medium or icon
any, photo, clipart, lineart, animated or face
any, color, gray, transparent, or a single colour: red, orange, yellow, green, teal, blue, purple, pink, white, black, brown
how recently the image was published: any, day, week, month or year
any, or creative_commons for images under Creative Commons licences
active to filter explicit results, off to show everything
interface language code, e.g. en, fr, de
two-letter country code of the region to search from, e.g. us, gb, fr
Response fields
querye.g."red fox"pagee.g.1counte.g.100results
ide.g."w8_Z7HjHAIVjYM"titlee.g."Red Fox Stories | Insights & Photography by Roeselien Raimond"image_urle.g."https://www.roeselienraimond.com/wp-content/uploads/2025/07/happy-smiling-zen-fox-roeselien-raimond.webp"widthe.g.1000heighte.g.1238thumbnail_urle.g."https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTLQ2kP_i1EA_lkUIRQo7t2FbX5pFwOqbq_kZcQ4MqB1g&s=10"thumbnail_widthe.g.498thumbnail_heighte.g.615page_urle.g."https://www.roeselienraimond.com/species-red-fox/"domaine.g."www.roeselienraimond.com"site_namee.g."Roeselien Raimond"file_sizee.g."169KB"dominant_colore.g."rgb(104,88,85)"curl "https://api.maviapi.com/v1/sites/images-google/search_images?q=red%20fox&page=1&size=any&type=any&color=any&time=any&license=any&safe=active&hl=en&gl=us" \-H "Authorization: Bearer $MAVI_KEY"
{
"query": "red fox",
"page": 1,
"count": 100,
"results": [
{
"id": "w8_Z7HjHAIVjYM",
"title": "Red Fox Stories | Insights & Photography by Roeselien Raimond",
"image_url": "https://www.roeselienraimond.com/wp-content/uploads/2025/07/happy-smiling-zen-fox-roeselien-raimond.webp",
"width": 1000,
"height": 1238,
"thumbnail_url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTLQ2kP_i1EA_lkUIRQo7t2FbX5pFwOqbq_kZcQ4MqB1g&s=10",
"thumbnail_width": 498,
"thumbnail_height": 615,
"page_url": "https://www.roeselienraimond.com/species-red-fox/",
"domain": "www.roeselienraimond.com",
"site_name": "Roeselien Raimond",
"file_size": "169KB",
"dominant_color": "rgb(104,88,85)"
}
]
}Get all the data, no code
Collect every page of GET /search_images into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.
Use Google Images API from Claude, ChatGPT and your coding tools
Add this URL as a custom connector and sign in to maviapi. Nothing to install.
https://mcp.maviapi.com/mcpOr run it locally, with each endpoint of Google Images API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=images-google -- npx -y '@maviapi/mcp'Import Google Images API into Postman and other tools
How to importPaste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.
- OpenAPI 3.1
https://api.maviapi.com/v1/apis/images-google/openapi.json - Postman
https://api.maviapi.com/v1/apis/images-google/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
Build with the Google Images API
Choose a starting endpoint
- Search Images
GET /search_imagesReturns one page (about 100) of Google Images results for a query: each image's title, full-size URL and dimensions, thumbnail, the web page it appears on, its site and file size. Pages run out after about 4-5.
Parameters and response fields for GET /search_images
Request parameters Name Type / location Required Description q string / query No the search text page integer / query No 1-based results page; an empty "results" list means there are no more size string / query No any, large, medium or icon type string / query No any, photo, clipart, lineart, animated or face color string / query No any, color, gray, transparent, or a single colour: red, orange, yellow, green, teal, blue, purple, pink, white, black, brown time string / query No how recently the image was published: any, day, week, month or year license string / query No any, or creative_commons for images under Creative Commons licences safe string / query No active to filter explicit results, off to show everything hl string / query No interface language code, e.g. en, fr, de gl string / query No two-letter country code of the region to search from, e.g. us, gb, fr Response fields Field Type Description query string page integer count integer results object[] results[].id string results[].title string results[].image_url string results[].width integer results[].height integer results[].thumbnail_url string results[].thumbnail_width integer results[].thumbnail_height integer results[].page_url string results[].domain string results[].site_name string results[].file_size string results[].dominant_color string - Suggestions
GET /suggestionsReturns the autocomplete suggestions Google Images offers for a partial image-search query, most popular first.
Parameters and response fields for GET /suggestions
Request parameters Name Type / location Required Description q string / query No the partial search text to complete hl string / query No interface language code, e.g. en, fr, de gl string / query No two-letter country code that biases the suggestions, e.g. us, gb, fr Response fields Field Type Description query string suggestions string[] - Image
GET /imageReturns 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.
Parameters and response fields for GET /image
Request parameters Name Type / location Required Description id string / query No the image "id" from search_images results q string / query No the search text the id was found under max_pages integer / query No how many result pages to look through for the id (1-5) Response fields Field Type Description id string title string image_url string width integer height integer thumbnail_url string thumbnail_width integer thumbnail_height integer page_url string domain string site_name string file_size string dominant_color string query string page integer
Export Google Images data to CSV
Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.
| List | CSV columns |
|---|---|
Search ImagesGET /search_images | id, title, image_url, width, height, thumbnail_url, thumbnail_width, thumbnail_height, page_url, domain, site_name, file_size, dominant_color |
A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work
Google Images API questions
What you get, what it costs and how to call it.
Is there an official Google Images API?
Yes. Google's Custom Search JSON API returns Programmable Search Engine image results, but it is closed to new customers; existing ones have until January 1, 2027 to move. Source: Custom Search JSON API (checked 2026-11-25). This Google Images API is a separate, unofficial one: an independent, hosted API from maviapi for the public data on images.google.com. It is not made, endorsed or supported by Google Images.
What data can I get from the Google Images API?
The Google Images API has 3 endpoints. Each returns JSON with the parameters and fields documented above:
- GET
/search_images: Returns one page (about 100) of Google Images results for a query: each image's title, full-size URL and dimensions, thumbnail, the web page it appears on… - GET
/suggestions: Returns the autocomplete suggestions Google Images offers for a partial image-search query, most popular first. - GET
/image: 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.
How much does the Google Images API cost?
Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 25 credits per call. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $4.90. Failed calls are free. 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 API?
Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /search_images:
curl 'https://api.maviapi.com/v1/sites/images-google/search_images' \
-H "Authorization: Bearer $MAVI_KEY"Create a key on your API keys page, or try any endpoint first in the console above with the free test key.
What are the ways to get Google Images data as JSON?
Each way to get Google Images data as JSON fits a different need:
- Custom Search JSON API: Google's Custom Search JSON API returns Programmable Search Engine image results, but it is closed to new customers; existing ones have until January 1, 2027 to move. Better when you need write access, account data or an agreement with Google Images.
- Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on images.google.com are yours. Better for a one-off pull from a page that rarely changes.
- Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
- RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
- maviapi: The Google Images API on this page: 3 documented endpoints, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.
What happens when images.google.com changes its layout?
Your code does not change. maviapi keeps the Google Images API working when images.google.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.
Will an update break my Google Images API integration?
No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.
Related APIs
- Google Maps API
Structured data from maps.google.com.
- Google API
Google Search as JSON: ranked web results and news search for any query.
- Tripadvisor API
Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…