APIs / Google Images / Images
Google Images: Images
Images from Google Images as JSON. 1 credit per successful call.
GET /v1/google-images/images
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
q | string | Required | Any |
hl | string | Optional | Up to 2 characters |
gl | string | Optional | Up to 2 characters |
imgsz | string | Optional | large, medium, icon |
imgtype | string | Optional | photo, clipart, lineart, gif, face |
imgcolor | string | Optional | color, gray, trans, red, orange, yellow, green, teal, blue, purple, pink, white, black, brown |
imgar | string | Optional | tall, square, wide |
tbs | string | Optional | Up to 500 characters |
safe | string | Optional | active, off |
page | integer | Optional | Any |
Example request
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.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in the response has these 9 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
position | integer |
thumbnail | url |
source | string |
title | string |
link | url |
original | url |
original_width | integer |
original_height | integer |
is_product | boolean |