Skip to content

Last updated

Changelog

Google Images API

HealthyRead-only

Structured data from images.google.com. Generated from images.google.com.

Base URL
https://api.maviapi.com/v1/sites/images-google
3
Endpoints
1 h ago
Last verified
14490ms
p50 latency
1
Self-repairs / all time
GET/search_images25 credits per call

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, its site and file size. Pages run out after about 4-5.

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

the search text

integerOptionalin query

1-based results page; an empty "results" list means there are no more

stringOptionalin query

any, large, medium or icon

stringOptionalin query

any, photo, clipart, lineart, animated or face

stringOptionalin query

any, color, gray, transparent, or a single colour: red, orange, yellow, green, teal, blue, purple, pink, white, black, brown

stringOptionalin query

how recently the image was published: any, day, week, month or year

stringOptionalin query

any, or creative_commons for images under Creative Commons licences

stringOptionalin query

active to filter explicit results, off to show everything

stringOptionalin query

interface language code, e.g. en, fr, de

stringOptionalin query

two-letter country code of the region to search from, e.g. us, gb, fr

querystringe.g."red fox"
pageintegere.g.1
countintegere.g.100
resultsobject[]13 fields
idstringe.g."w8_Z7HjHAIVjYM"
titlestringe.g."Red Fox Stories | Insights & Photography by Roeselien Raimond"
image_urlstringe.g."https://www.roeselienraimond.com/wp-content/uploads/2025/07/happy-smiling-zen-fox-roeselien-raimond.webp"
widthintegere.g.1000
heightintegere.g.1238
thumbnail_urlstringe.g."https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTLQ2kP_i1EA_lkUIRQo7t2FbX5pFwOqbq_kZcQ4MqB1g&s=10"
thumbnail_widthintegere.g.498
thumbnail_heightintegere.g.615
page_urlstringe.g."https://www.roeselienraimond.com/species-red-fox/"
domainstringe.g."www.roeselienraimond.com"
site_namestringe.g."Roeselien Raimond"
file_sizestringe.g."169KB"
dominant_colorstringe.g."rgb(104,88,85)"
Try itLive
GET
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
Request
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"
Example780 B
{
  "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.

How to connect
https://mcp.maviapi.com/mcp

Or 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 import

Paste 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_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.

    Parameters and response fields for GET /search_images
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNothe search text
    pageinteger / queryNo1-based results page; an empty "results" list means there are no more
    sizestring / queryNoany, large, medium or icon
    typestring / queryNoany, photo, clipart, lineart, animated or face
    colorstring / queryNoany, color, gray, transparent, or a single colour: red, orange, yellow, green, teal, blue, purple, pink, white, black, brown
    timestring / queryNohow recently the image was published: any, day, week, month or year
    licensestring / queryNoany, or creative_commons for images under Creative Commons licences
    safestring / queryNoactive to filter explicit results, off to show everything
    hlstring / queryNointerface language code, e.g. en, fr, de
    glstring / queryNotwo-letter country code of the region to search from, e.g. us, gb, fr
    Response fields
    FieldTypeDescription
    querystring
    pageinteger
    countinteger
    resultsobject[]
    results[].idstring
    results[].titlestring
    results[].image_urlstring
    results[].widthinteger
    results[].heightinteger
    results[].thumbnail_urlstring
    results[].thumbnail_widthinteger
    results[].thumbnail_heightinteger
    results[].page_urlstring
    results[].domainstring
    results[].site_namestring
    results[].file_sizestring
    results[].dominant_colorstring
  • Suggestions GET /suggestions

    Returns the autocomplete suggestions Google Images offers for a partial image-search query, most popular first.

    Parameters and response fields for GET /suggestions
    Request parameters
    NameType / locationRequiredDescription
    qstring / queryNothe partial search text to complete
    hlstring / queryNointerface language code, e.g. en, fr, de
    glstring / queryNotwo-letter country code that biases the suggestions, e.g. us, gb, fr
    Response fields
    FieldTypeDescription
    querystring
    suggestionsstring[]
  • Image 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. With no id, returns the query's top image.

    Parameters and response fields for GET /image
    Request parameters
    NameType / locationRequiredDescription
    idstring / queryNothe image "id" from search_images results
    qstring / queryNothe search text the id was found under
    max_pagesinteger / queryNohow many result pages to look through for the id (1-5)
    Response fields
    FieldTypeDescription
    idstring
    titlestring
    image_urlstring
    widthinteger
    heightinteger
    thumbnail_urlstring
    thumbnail_widthinteger
    thumbnail_heightinteger
    page_urlstring
    domainstring
    site_namestring
    file_sizestring
    dominant_colorstring
    querystring
    pageinteger

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.

ListCSV columns
Search ImagesGET /search_imagesid, 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
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.

  • 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…