APIs / Search engines / Google Images

1 credit per call1 endpoint9 datapointsChecked working 6 Dec 2026

Google Images API

Google Images API for image search results with titles, sources, thumbnails and original image sizes as JSON. 1 credit per call.

Google Images
GET/v1/google-images/images?q=coffee
[
  {
    "position": 1,
    "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtHO98ebb559chzTw8eP9ZaeLZwr3h70NaxQ66SUO4_A&s",
    "source": "Wikipedia",
    "title": "Coffee - Wikipedia",
    "link": "https://en.wikipedia.org/wiki/Coffee",
    "original": "https://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg?utm_source=en.wikipedia.org&utm_campaign=index&utm_content=original",
    "original_width": 3200,
    "original_height": 2000,
    "is_product": false
  },
  {
    "position": 2,
    "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRTbofgg06NzQ_-yqXxj-f-EV0DPV9PmWL-dK83RUlOtw&s=10",
    "source": "InstaCuppa Store",
    "title": "Easy Coffee Recipe at Home: Simple Cafe-Style Coffee in 2 Minutes",
    "link": "https://instacuppastore.com/blogs/recipes/easy-coffee-recipe-at-home?srsltid=AYCX9vLhBKdOEzRi87WapOUSLlmWhGn_QkP8FH2n_CMGxfGnoS2GuJtT",
    "original": "https://instacuppastore.com/cdn/shop/articles/blog-easy-coffee-recipe-at-home-cover_ce3809b1-35ce-4721-b2df-d8fc77e8ce20.jpg?v=1775497186&width=1100",
    "original_width": 1100,
    "original_height": 738,
    "is_product": true
  },
  {
    "position": 3,
    "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfXgscfmAgVZdy6_OveIpriTuCUZfCEEs0CaKy5Ixl4Q&s=10",
    "source": "Allrecipes",
    "title": "Top Tips for Making a Perfect Cappuccino at Home Every Time",
    "link": "https://www.allrecipes.com/how-to-make-a-cappuccino-recipe-8624835",
    "original": "https://www.allrecipes.com/thmb/chsZz0jqIHWYz39ViZR-9k_BkkE=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/8624835-how-to-make-a-cappuccino-beauty-4x3-0301-13d55eaad60b42058f24369c292d4ccb.jpg",
    "original_width": 1500,
    "original_height": 1125,
    "is_product": true
  }
]
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of images: the fields and shapes you will get, shortened to 3 items.

#positionintegerthumbnailurlsourcestringtitlestringlinkurloriginalurloriginal_widthintegeroriginal_heightintegeris_productboolean
11https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtHO98ebb559chzTw8eP9ZaeLZwr3h70NaxQ66SUO4_A&sWikipediaCoffee - Wikipediahttps://en.wikipedia.org/wiki/Coffeehttps://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg?utm_source=en.wikipedia.org&utm_campaign=index&utm_content=original32002000false
22https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRTbofgg06NzQ_-yqXxj-f-EV0DPV9PmWL-dK83RUlOtw&s=10InstaCuppa StoreEasy Coffee Recipe at Home: Simple Cafe-Style Coffee in 2 Minuteshttps://instacuppastore.com/blogs/recipes/easy-coffee-recipe-at-home?srsltid=AYCX9vLhBKdOEzRi87WapOUSLlmWhGn_QkP8FH2n_CMGxfGnoS2GuJtThttps://instacuppastore.com/cdn/shop/articles/blog-easy-coffee-recipe-at-home-cover_ce3809b1-35ce-4721-b2df-d8fc77e8ce20.jpg?v=1775497186&width=11001100738true
33https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfXgscfmAgVZdy6_OveIpriTuCUZfCEEs0CaKy5Ixl4Q&s=10AllrecipesTop Tips for Making a Perfect Cappuccino at Home Every Timehttps://www.allrecipes.com/how-to-make-a-cappuccino-recipe-8624835https://www.allrecipes.com/thmb/chsZz0jqIHWYz39ViZR-9k_BkkE=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/8624835-how-to-make-a-cappuccino-beauty-4x3-0301-13d55eaad60b42058f24369c292d4ccb.jpg15001125true

Recorded from our API · 3 items shown · 9 datapoints per itemGET /v1/google-images/images?q=coffee

9 datapoints

Identity

  • titlestring

Contact

  • linkurl

Other

  • positioninteger
  • thumbnailurl
  • sourcestring
  • originalurl
  • original_widthinteger
  • original_heightinteger
  • is_productboolean

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/google-images/images?q=coffee" \
  -H "X-API-Key: $API_KEY"

Google Images · 1 endpoint

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/google-images/images
q+9 optional
positionthumbnailsourcetitlelinkoriginal+3 more
1 credit

Overview

About the Google Images API

What you can get

The Google Images API returns Google image search results as JSON through one endpoint, images. It takes a query in q, with hl, gl, page and safe (active or off), and these filters:

  • imgsz: large, medium or icon
  • imgtype: photo, clipart, lineart, gif or face
  • imgcolor: color, gray, trans or a named colour such as red, orange, yellow, green or teal
  • imgar: tall, square or wide
  • tbs for a raw filter string

The recorded call for "coffee" returns a list of results, each with position, title, source, link (the page the image is on), thumbnail, original, original_width, original_height and is_product.

How a call works

One call per query: GET /v1/google-images/images?q=coffee&imgsz=large with your key in the X-API-Key header. Use page for later pages. Every successful call costs 1 credit; failed calls cost nothing.

Search enginesJSONRESTMCP

More search engines APIs

Use cases

Find where an image or product photo appears on the web

Use the Google Images API to find where an image or product photo appears on the web

Collect image candidates for a dataset, filtered by size and type

Use the Google Images API to collect image candidates for a dataset, filtered by size and type

Check which images rank for a keyword

Use the Google Images API to check which images rank for a keyword

Pull image results into a research or AI tool

Use the Google Images API to pull image results into a research or AI tool

FAQ

Questions

Do I need a Google API key?

No. You call this Google Images API with your Perceptlayer key in the `X-API-Key` header, with no Google account or project to set up.

How much does the Google Images API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Is this the official Google Images API?

No. Perceptlayer is an independent service and is not affiliated with Google Images. It returns Google Images data as JSON with a Perceptlayer key, so there is no Google Images developer account, app review or partner approval to get first. It only reads data: if Google Images has an official API and you need to act on your own Google Images account, such as posting, managing orders or reading private data, use that one.

Should I build a Google Images scraper instead?

You can, but a Google Images scraper is code you maintain: page changes break it, requests get blocked, and Google Images's terms govern how you collect data. The Google Images API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Google Images API with 100 free credits

No credit card. Failed calls are never billed.