Google Images Related Content API
The Google Images Related Content API returns what Google Images shows when you open an image: related images with their title, source, original size and thumbnail, price, rating and reviews for the ones Google lists as products, and related searches.
Take an image's related_content_id from a Google Images API or Google Images Light API response and pass it with the same q.
Every related image has its own related_content_id, so you can follow one image to the next.
API Parameters
Search Query
-
- Name
-
q - Required
- Optional
- Description
-
The query of the Google Images search that returned the image. Pass the same
qto keep the related content in the context of that search.
Localization
-
- Name
-
gl - Required
- Optional
- Description
-
The default parameter
usdefines the country of the search. Check the full list of supported Googleglcountries.
-
- Name
-
hl - Required
- Optional
- Description
-
The default parameter
endefines the interface language of the search. Check the full list of supported Googlehllanguages.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google_images_related_content.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?engine=google_images_related_content&q=golden+retriever&related_content_id=WyJId1JnMDlZSnpYUmxxTSIsImtWdkhzbElSNUV2aHNNIl0
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_images_related_content",
"related_content_id": "WyJId1JnMDlZSnpYUmxxTSIsImtWdkhzbElSNUV2aHNNIl0",
"q": "golden retriever"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_dHJH9z7NqIi8VBIByJPMfK2G",
"status": "Success",
"created_at": "2026-10-28T21:55:40Z",
"request_time_taken": 0.69,
"parsing_time_taken": 0.0,
"total_time_taken": 0.7,
"request_url": "https://www.google.com/search?q=golden+retriever&udm=2&hl=en&gl=us#vhid=HwRg09YJzXRlqM&vssid=mosaic",
"html_url": "https://www.searchapi.io/api/v1/searches/search_dHJH9z7NqIi8VBIByJPMfK2G.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_dHJH9z7NqIi8VBIByJPMfK2G"
},
"search_parameters": {
"engine": "google_images_related_content",
"related_content_id": "WyJId1JnMDlZSnpYUmxxTSIsImtWdkhzbElSNUV2aHNNIl0",
"q": "golden retriever",
"hl": "en",
"gl": "us"
},
"related_content": [
{
"position": 1,
"title": "River - As Good As Gold - Golden Retriever Rescue of Illinois",
"source": {
"name": "As Good as Gold - Golden Retriever Rescue of Illinois",
"link": "https://www.asgoodasgold.org/portfolio/river-2/",
"favicon": "data:image/png;base64,iVBORw0KG..."
},
"original": {
"link": "https://www.asgoodasgold.org/wp-content/uploads/2026/09/Flower.jpg",
"width": 750,
"height": 750
},
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS79HeETKUA1t3e4sy9WAW4OvIiBSl_vPkCbfgidkYcRw&s=10",
"related_content_id": "WyJoRkc5MXdEMnQtLVBuTSIsInBodlhvSTVIX3RvQUpNIl0"
},
...
],
"related_searches": [
{
"position": 1,
"query": "labrador golden retriever",
"link": "https://www.google.com/search?tbnid=HwRg09YJzXRlqM&tbnh=0&tbnw=0&sca_esv=e83922fc96a9dd8b&hl=en&gl=us&sxsrf=AKL5yDhWvHSAn9iP0YXiRzdJqojASRvh1w:1793224540886&udm=2&q=labrador+golden+retriever&sa=X&ved=2ahUKEwjlwIn-2d2XAxWxS_EDHU04H-8QtI8BegQINBAB",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQE2c4ubE-B5YLcYVnbAjdtfWDj5Sj_FASCwljYeLlZb5YRa4avMx3mWSI&s"
},
...
],
"see_more_link": "https://www.google.com/search?tbnid=HwRg09YJzXRlqM&tbnh=0&tbnw=0&sca_esv=e83922fc96a9dd8b&hl=en&gl=us&sxsrf=AKL5yDhWvHSAn9iP0YXiRzdJqojASRvh1w:1793224540886&udm=2&tbs=rimg:CR8EYNPWCc10YZFbx7JSEeRL4AIA&q=golden+retriever&sa=X&ved=2ahUKEwjlwIn-2d2XAxWxS_EDHU04H-8QuIIBegQIOBAA"
}
Product Results
https://www.searchapi.io/api/v1/search?engine=google_images_related_content&q=red+sneakers&related_content_id=WyJ0ZlFpMmtsYjR1ZzluTSIsInN3SDlXTUliYWhUblZNIl0
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_images_related_content",
"related_content_id": "WyJ0ZlFpMmtsYjR1ZzluTSIsInN3SDlXTUliYWhUblZNIl0",
"q": "red sneakers"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_gFvWJdVdbXfyQznpmb30GVrB",
"status": "Success",
"created_at": "2026-10-28T21:55:41Z",
"request_time_taken": 1.4,
"parsing_time_taken": 0.0,
"total_time_taken": 1.4,
"request_url": "https://www.google.com/search?q=red+sneakers&udm=2&hl=en&gl=us#vhid=tfQi2klb4ug9nM&vssid=mosaic",
"html_url": "https://www.searchapi.io/api/v1/searches/search_gFvWJdVdbXfyQznpmb30GVrB.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_gFvWJdVdbXfyQznpmb30GVrB"
},
"search_parameters": {
"engine": "google_images_related_content",
"related_content_id": "WyJ0ZlFpMmtsYjR1ZzluTSIsInN3SDlXTUliYWhUblZNIl0",
"q": "red sneakers",
"hl": "en",
"gl": "us"
},
"related_content": [
{
"position": 1,
"title": "Red Low-top 14 Men / 15 Women | 48 EU | 13.5 UK",
"source": {
"name": "Fuego",
"link": "https://fuegodance.com/products/low-top-red?srsltid=AYCX9vId25G1VinnVXoT5ghbERlvpgD1NKzRzKImndvLlAGQK9jarmnU",
"favicon": "data:image/png;base64,iVBORw0KG..."
},
"original": {
"link": "https://fuegodance.com/cdn/shop/files/low-top-red-sneakers-red-dancing-sneakers-1258752404.jpg?v=1789417514&width=1946",
"width": 1440,
"height": 1440
},
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSAJW0JfCRUKWE9WrysJz86NQQqdeOGoqX18bQxqsRpcg&s",
"related_content_id": "WyJadzR2dDFubnhkX1ZnTSIsInN3SDlXTUliYWhUblZNIl0",
"is_product": true,
"price": "$150.00",
"extracted_price": 150.0,
"currency": "USD",
"rating": 4.68,
"reviews": 29
},
...
]
}