Google Images Related Content API

The Google Images Related Content API allows you to scrape the "Related content" from a Google Images page.


The API endpoint is https://serpapi.com/search?engine=google_images_related_content

Head to the playground for a live and interactive demo.

API Parameters

Search Query

Advanced Filters

q

Optional

Parameter defines the search query. To get the most precise results it is recommended to use the same query you used in the original Google Images search.

Localization

hl

Optional

Parameter defines the language to use for the Google Images search. It's a two-letter language code. (e.g., en for English, es for Spanish, or fr for French) Head to the Google languages for a full list of supported Google languages.

gl

Optional

Parameter defines the country to use for the Google Images search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France). Head to the Google countries page for a full list of supported Google countries.

Serpapi Parameters

engine

Required

Set parameter to google_images_related_content to use the Google Images Related Content API engine.

no_cache

Optional

Parameter will force SerpApi to fetch the Google Images Related Content results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache. no_cache and async parameters should not be used together.

async

Optional

Parameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.

zero_trace

Optional

Enterprise only. Parameter enables ZeroTrace mode. It can be set to false (default) or true. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.

api_key

Required

Parameter defines the SerpApi private key to use.

output

Optional

Parameter defines the format of the result. It can be set to json (default) to get a structured JSON of the results, html to get the raw HTML retrieved, or md to get a markdown-formatted version optimized for LLMs and AI agents.

json_restrictor

Optional

Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

API Results

JSON Results

JSON output includes structured data for Related Content and Related Searches.

A search status is accessible through search_metadata.status. It flows this way: Processing -> Success || Error. If a search has failed, error will contain an error message. search_metadata.id is the search ID inside SerpApi.

HTML Results

This API does not have a full HTML response, only text. search_metadata.prettify_html_file contains a link to the prettified version of the result. It is displayed in the playground.

Markdown Results

Markdown output is optimized for LLMs and AI agents. It provides most of the same informational content as JSON in a token-efficient format using tables, markdown links, and YAML frontmatter.

To access, use the output=md parameter, the /search.md endpoint, or request header Accept: text/markdown.

API Examples

Results for: `flowers`

These results appear when you click an image on Google Images website. They contain related content of that image.

Results for: `flowers`

JSON Example

{
  "search_metadata": {
    "id": "6a7d8571fe1c6b1525514dd8",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/TY8KLCxXq6E7X_uzWAl-sg/6a7d8571fe1c6b1525514dd8.json",
    "created_at": "2026-08-13 08:50:57 UTC",
    "processed_at": "2026-08-13 08:50:57 UTC",
    "google_images_related_content_url": "https://www.google.com/async/imgv?udm=2&tbnid=jq2oFKP_vgE6RM&docid=-syeRTRhwbiQUM&q=flowers&hl=en&gl=us&async=_fmt:prog",
    "raw_html_file": "https://serpapi.com/searches/TY8KLCxXq6E7X_uzWAl-sg/6a7d8571fe1c6b1525514dd8.html",
    "prettify_html_file": "https://serpapi.com/searches/TY8KLCxXq6E7X_uzWAl-sg/6a7d8571fe1c6b1525514dd8.prettify",
    "total_time_taken": 1.37
  },
  "search_parameters": {
    "engine": "google_images_related_content",
    "hl": "en",
    "gl": "us",
    "q": "flowers",
    "related_content_id": "anEyb0ZLUF92Z0U2Uk1cIixcIi1zeWVSVFJod2JpUVVN"
  },
  "related_content": [
    {
      "position": 1,
      "title": "Balloon Purple Flower Garden Stock Photo 1938926476 | Shutterstock",
      "source": "Shutterstock",
      "source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.shutterstock.com&client=VFE&size=16&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
      "link": "https://www.shutterstock.com/image-photo/balloon-purple-flower-garden-1938926476",
      "original": "https://www.shutterstock.com/image-photo/balloon-purple-flower-garden-600w-1938926476.jpg",
      "original_width": 450,
      "original_height": 620,
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRAEdIBiyzavFyJNSetRUXvsURf8shHAdGYgQ&s",
      "thumbnail_width": 191,
      "thumbnail_height": 264,
      "is_product": true,
      "related_content_id": "b0VIQzdfV29fUFZxOE1cIixcInBwRWVDWUFBVldwczhN",
      "serpapi_related_content_link": "https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=flowers&related_content_id=b0VIQzdfV29fUFZxOE1cIixcInBwRWVDWUFBVldwczhN"
    },
    {
      "position": 2,
      "title": "Purple flower bells blooms in the garden. Delicate blue flowers in the  shape of a bell Stock Photo - Alamy",
      "source": "Alamy",
      "source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.alamy.com&client=VFE&size=16&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
      "link": "https://www.alamy.com/purple-flower-bells-blooms-in-the-garden-delicate-blue-flowers-in-the-shape-of-a-bell-image395718352.html",
      "original": "https://c8.alamy.com/comp/2DYPEP8/purple-flower-bells-blooms-in-the-garden-delicate-blue-flowers-in-the-shape-of-a-bell-2DYPEP8.jpg",
      "original_width": 1300,
      "original_height": 956,
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT3vAuVQykz_a4Q8YJ97L0gyFzhuK-xcllLTQ&s",
      "thumbnail_width": 262,
      "thumbnail_height": 192,
      "is_product": true,
      "related_content_id": "NklSeWZUYWlRSzd0OU1cIixcIlRERjVBWkxQUTZQbFhN",
      "serpapi_related_content_link": "https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=flowers&related_content_id=NklSeWZUYWlRSzd0OU1cIixcIlRERjVBWkxQUTZQbFhN"
    },
    {
      "position": 3,
      "title": "Purple Flower | teleportingweena",
      "source": "teleportingweena - WordPress.com",
      "source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://teleportingweena.wordpress.com&client=VFE&size=16&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
      "link": "https://teleportingweena.wordpress.com/tag/purple-flower/",
      "original": "https://teleportingweena.wordpress.com/wp-content/uploads/2018/04/img_5052.jpg?w=225&h=300",
      "original_width": 225,
      "original_height": 300,
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR_1-9Njo8kdTu6hFIRk7-xNkGIE1p1r5Ol_w&s",
      "thumbnail_width": 194,
      "thumbnail_height": 259,
      "related_content_id": "WWdyb1dGOWJhMmlfWU1cIixcIllZX1dDTFo3YjM5dmdN",
      "serpapi_related_content_link": "https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=flowers&related_content_id=WWdyb1dGOWJhMmlfWU1cIixcIllZX1dDTFo3YjM5dmdN"
    },
    ...
  ],
  "related_searches": [
    {
      "position": 1,
      "query": "flowers name",
      "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&q=flowers+name",
      "link": "https://www.google.com/search?tbnid=jq2oFKP_vgE6RM&tbnh=0&tbnw=0&sca_esv=29bc699f92e89c34&hl=en&gl=us&sxsrf=APpeQnvc9OP8kJY6Pv7C8oPk0VOoz1K7QA:1786611058000&udm=2&q=flowers+name&sa=X&ved=2ahUKEwjmwtnrnJ2WAxV-GVkFHXn4MoMQtI8BegQINBAB",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQGy0TzoNxux61XmANwK_GhfzTRZV4UthmwQnvR16VOG1FNRYhs0cjofJw&s",
      "serpapi_thumbnail": "https://serpapi.com/images/url/oIOtMXicu1mYUVJSUGylr5-al1xUWVCSmqJbkpRnoJdeXJJYkpmsl5yfq5-Zm5ieWmxfaAuUsXL0S7F0Tw50rzQIqcr3qyitMDOMyHX0K_eOd89IqwoJigozCS3JyC0PzCsLMjQL83c3dPMLiswoNkjOyk_zKlcrBgC0aimB"
    },
    {
      "position": 2,
      "query": "flowers types",
      "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&q=flowers+types",
      "link": "https://www.google.com/search?tbnid=jq2oFKP_vgE6RM&tbnh=0&tbnw=0&sca_esv=29bc699f92e89c34&hl=en&gl=us&sxsrf=APpeQnvc9OP8kJY6Pv7C8oPk0VOoz1K7QA:1786611058000&udm=2&q=flowers+types&sa=X&ved=2ahUKEwjmwtnrnJ2WAxV-GVkFHXn4MoMQtI8BegQINhAB",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRt9f2FQrI_Vq0tD6CmByQFJz4iNbyL_V_urJtQQWAGEeg965At8C6HTXM&s",
      "serpapi_thumbnail": "https://serpapi.com/images/url/PlHyRXicu1mYUVJSUGylr5-al1xUWVCSmqJbkpRnoJdeXJJYkpmsl5yfq5-Zm5ieWmxfaAuUsXL0S7F0Tw4qsUwzcgss8owPKzQocTFzznWqDHTzqjLJ9Euq9IkPiy8t8ioJDAx3dHdNTbc0M3UssXA28wiJ8FUrBgCTfCgp"
    },
    {
      "position": 3,
      "query": "single flowers",
      "serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&q=single+flowers",
      "link": "https://www.google.com/search?tbnid=jq2oFKP_vgE6RM&tbnh=0&tbnw=0&sca_esv=29bc699f92e89c34&hl=en&gl=us&sxsrf=APpeQnvc9OP8kJY6Pv7C8oPk0VOoz1K7QA:1786611058000&udm=2&q=single+flowers&sa=X&ved=2ahUKEwjmwtnrnJ2WAxV-GVkFHXn4MoMQtI8BegQINRAB",
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRpkOQrioyG1FzBDGG99Z_bkpundw1xHaYHOpY6ypC8ocMX0lcKPplKfro&s",
      "serpapi_thumbnail": "https://serpapi.com/images/url/fh3axXicu1mYUVJSUGylr5-al1xUWVCSmqJbkpRnoJdeXJJYkpmsl5yfq5-Zm5ieWmxfaAuUsXL0S7F0Tw4qyPYPLMrMr3Q3dKtycnF3t7SMik_KLijNSyk3rPBIjPTwL4g0qyxwtshP9o0wyEn2DijI8U4rylcrBgC0PCm0"
    },
  ],
  "see_more_link": "https://www.google.com/search?tbnid=jq2oFKP_vgE6RM&tbnh=0&tbnw=0&sca_esv=29bc699f92e89c34&hl=en&gl=us&sxsrf=APpeQnvc9OP8kJY6Pv7C8oPk0VOoz1K7QA:1786611058000&udm=2&tbs=rimg:CY6tqBSj_174BYfrMnkU0YcG44AIA&q=flowers&sa=X&ved=2ahUKEwjmwtnrnJ2WAxV-GVkFHXn4MoMQuIIBegQIOhAA",
  "serpapi_see_more_link": "https://serpapi.com/search.json?device=desktop&engine=google_images&gl=us&google_domain=google.com&hl=en&q=flowers&tbs=rimg%3ACY6tqBSj_174BYfrMnkU0YcG44AIA"
}

Results with products

Some images contain products. The API will return additional information about the product, such as `rating`, `reviews`, and `price`.

Results with products

JSON Example

{
  ...
  "related_content": [
    {
      "position": 1,
      "title": "Asics Novablast 6 | Drop July 1st 👀⏳ #running #asicsrunning",
      "source": "Instagram",
      "source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.instagram.com&client=VFE&size=16&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
      "link": "https://www.instagram.com/p/DZ4_WuMiCJ0/",
      "original": "https://lookaside.instagram.com/seo/google_widget/crawler/?media_id=3925165223981410172",
      "original_width": 1080,
      "original_height": 1350,
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSUzgX3JnCjXj4Hum6mWjWAhkZTrZSi05ttYCsIrl2PKg&s=10",
      "thumbnail_width": 399,
      "thumbnail_height": 501,
      "related_content_id": "TVVtanF0LWh5UG1FdU1cIixcIlhJOEs3ZkViRXlpMVVN",
      "serpapi_related_content_link": "https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Novablast&related_content_id=TVVtanF0LWh5UG1FdU1cIixcIlhJOEs3ZkViRXlpMVVN"
    },
    {
      "position": 2,
      "title": "ASICS Men's Novablast 6 - White/Energy AQUA 14",
      "source": "ASICS",
      "source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.asics.com&client=VFE&size=16&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
      "link": "https://www.asics.com/us/en-us/novablast-6/p/ANA_1011C243-101.html",
      "original": "https://images.asics.com/is/image/asics/1011C243_101_SL_LT_GLB?$sfcc-product$",
      "original_width": 683,
      "original_height": 512,
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQJymrv61IQTy9y96Dk6_hW6aDXakaaQ3GfqU4AsZGKiw&s",
      "thumbnail_width": 259,
      "thumbnail_height": 194,
      "is_product": true,
      "rating": 4.51,
      "reviews": 271,
      "related_content_id": "Mmw3M3FvNk9VeEh4YU1cIixcInJtUGtmUlBoVjQ4UGNN",
      "serpapi_related_content_link": "https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Novablast&related_content_id=Mmw3M3FvNk9VeEh4YU1cIixcInJtUGtmUlBoVjQ4UGNN"
    },
    {
      "position": 3,
      "title": "ASICS Novablast 6 now available for $155 in new colors - cleveland.com",
      "source": "Cleveland.com",
      "source_icon": "https://encrypted-tbn2.gstatic.com/faviconV2?url=https://www.cleveland.com&client=VFE&size=16&type=FAVICON&fallback_opts=TYPE,SIZE,URL&nfrp=2",
      "link": "https://www.cleveland.com/shopping/2026/07/asics-debuts-novablast-6-running-shoe-with-futuristic-look-epic-redesign.html",
      "original": "https://www.cleveland.com/resizer/v2/W2C5Q6IKXVFDZJCKXU23QLJ77E.png?auth=864455a16d43960f47ef09a1c90c376ae821c3be330a3307da92cf942f7f5805&width=300",
      "original_width": 300,
      "original_height": 225,
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-U9ZDnmeKCOD9cnniijvsQ7PqsDcW9qcB-amQKrdlPw&s=10",
      "thumbnail_width": 300,
      "thumbnail_height": 225,
      "related_content_id": "TF9lcmg5b3dvYVAtNE1cIixcIlF6eXJ4blZxUVRuZHFN",
      "serpapi_related_content_link": "https://serpapi.com/search.json?engine=google_images_related_content&gl=us&hl=en&q=Novablast&related_content_id=TF9lcmg5b3dvYVAtNE1cIixcIlF6eXJ4blZxUVRuZHFN"
    },
    ...
  ],
  ...
}

JSON structure overview

{
  ...
  "related_content": [
    {
      "position": "Integer - Image index",
      "title": "String - Short Image Description",
      "source": "String - Original Domain Name",
      "source_icon": "String - Icon URL of the source website containing the image",
      "link": "String - Link to the page providing the image",
      "original": "String - Original Image URL (full resolution)",
      "original_width": "Integer - Original Image width",
      "original_height": "Integer - Original Image height",
      "thumbnail": "String - URL to the image thumbnail",
      "thumbnail_width": "Integer - Thumbnail Image width",
      "thumbnail_height": "Integer - Thumbnail Image height",
      "is_product": "Boolean - Is the link to the page providing the image containing a product",
      "rating": "Float - Rating of the item in the image",
      "reviews": "Integer - Number of reviews of the item in the image",
      "price": "Numeric - Price of the item in the image",
      "currency": "String - Currency of the price of the item in the image",
      "in_stock": "Boolean - Is product in stock",
      "related_content_id": "String - Unique ID for retrieving the Related Content of an image",
      "serpapi_related_content_link": "String - Link to SerpApi to fetch the Related Content of an image",
    },
    ...
  ],
  "related_searches": [
    {
      "position": "Integer - Query index",
      "query": "String - Related searches query",
      "link": "String - Google Images search link original",
      "serpapi_link": "String - Link to SerpApi to fetch the related images searches",
      "thumbnail": "String - URL to the image thumbnail",
      "serpapi_thumbnail": "String - URL of the image thumbnail served by SerpApi"
    },
    ...
  ],
  "see_more_link": "String - Link to the Google Images search",
  "serpapi_see_more_link": "String - SerpApi link to the Google Images search"
}