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.
[
{
"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
}
]Sample data
What one call returns
A recorded run of images: the fields and shapes you will get, shortened to 3 items.
| # | positioninteger | thumbnailurl | sourcestring | titlestring | linkurl | originalurl | original_widthinteger | original_heightinteger | is_productboolean |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtHO98ebb559chzTw8eP9ZaeLZwr3h70NaxQ66SUO4_A&s | Wikipedia | Coffee - Wikipedia | https://en.wikipedia.org/wiki/Coffee | https://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg?utm_source=en.wikipedia.org&utm_campaign=index&utm_content=original | 3200 | 2000 | false |
| 2 | 2 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRTbofgg06NzQ_-yqXxj-f-EV0DPV9PmWL-dK83RUlOtw&s=10 | InstaCuppa Store | Easy Coffee Recipe at Home: Simple Cafe-Style Coffee in 2 Minutes | https://instacuppastore.com/blogs/recipes/easy-coffee-recipe-at-home?srsltid=AYCX9vLhBKdOEzRi87WapOUSLlmWhGn_QkP8FH2n_CMGxfGnoS2GuJtT | https://instacuppastore.com/cdn/shop/articles/blog-easy-coffee-recipe-at-home-cover_ce3809b1-35ce-4721-b2df-d8fc77e8ce20.jpg?v=1775497186&width=1100 | 1100 | 738 | true |
| 3 | 3 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfXgscfmAgVZdy6_OveIpriTuCUZfCEEs0CaKy5Ixl4Q&s=10 | Allrecipes | Top Tips for Making a Perfect Cappuccino at Home Every Time | https://www.allrecipes.com/how-to-make-a-cappuccino-recipe-8624835 | 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 | 1500 | 1125 | true |
[
{
"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
}
]position,thumbnail,source,title,link,original,original_width,original_height,is_product 1,https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQtHO98ebb559chzTw8eP9ZaeLZwr3h70NaxQ66SUO4_A&s,Wikipedia,Coffee - Wikipedia,https://en.wikipedia.org/wiki/Coffee,https://upload.wikimedia.org/wikipedia/commons/e/e4/Latte_and_dark_coffee.jpg?utm_source=en.wikipedia.org&utm_campaign=index&utm_content=original,3200,2000,false 2,https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRTbofgg06NzQ_-yqXxj-f-EV0DPV9PmWL-dK83RUlOtw&s=10,InstaCuppa Store,Easy Coffee Recipe at Home: Simple Cafe-Style Coffee in 2 Minutes,https://instacuppastore.com/blogs/recipes/easy-coffee-recipe-at-home?srsltid=AYCX9vLhBKdOEzRi87WapOUSLlmWhGn_QkP8FH2n_CMGxfGnoS2GuJtT,https://instacuppastore.com/cdn/shop/articles/blog-easy-coffee-recipe-at-home-cover_ce3809b1-35ce-4721-b2df-d8fc77e8ce20.jpg?v=1775497186&width=1100,1100,738,true 3,https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfXgscfmAgVZdy6_OveIpriTuCUZfCEEs0CaKy5Ixl4Q&s=10,Allrecipes,Top Tips for Making a Perfect Cappuccino at Home Every Time,https://www.allrecipes.com/how-to-make-a-cappuccino-recipe-8624835,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,1500,1125,true
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
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
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 iconimgtype: photo, clipart, lineart, gif or faceimgcolor: color, gray, trans or a named colour such as red, orange, yellow, green or tealimgar: tall, square or widetbsfor 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.
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 webCollect 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 typeCheck which images rank for a keyword
Use the Google Images API to check which images rank for a keywordPull image results into a research or AI tool
Use the Google Images API to pull image results into a research or AI toolFAQ
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.