Google Lens Visual Matches API

Our Google Lens Visual Matches API allows you to scrape results from the Visual Matches section. The results contain title, link, source, rating, reviews, price, in_stock, and other data.

API Parameters

Search Type

type

Required

Parameter defines the type of search to perform. By default, the search type is all.

Available options:
all - All
products - Products
exact_matches - Exact Matches
visual_matches - Visual Matches.

API Examples

Example with Nike Vaporfly 3type: visual_matches

Example with Nike Vaporfly 3, type: visual_matches

JSON Example

{
  ...
  "visual_matches": [
    {
      "position": 1,
      "title": "Nike Vaporfly 3 Men's Road Racing Shoes. Nike.com",
      "link": "https://www.nike.com/t/vaporfly-3-mens-road-racing-shoes-8DD182",
      "source": "Nike",
      "source_icon": "https://serpapi.com/searches/67dc0eeffe1c6b15eae613bf/images/60ade75505f762f6ba0cdef28e73a3c6ed481fee28a84fad12a9f05bfad3439f.png",
      "price": {
        "value": "$260*",
        "extracted_value": 260,
        "currency": "$"
      },
      "in_stock": true,
      "thumbnail": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRtPBO_kvDa5NrTMdu5m5vdiGcWxEJlzGV4J0nTA8LTuJsH-r9H",
      "thumbnail_width": 251,
      "thumbnail_height": 201,
      "image": "https://static.nike.com/a/images/t_PDP_936_v1/f_auto,q_auto:eco/1dab2f7a-bbee-4c23-b899-8e24a356763d/NIKE+ZOOMX+VAPORFLY+NEXT%+3.png",
      "image_width": 1170,
      "image_height": 936
    },
    {
      "position": 2,
      "title": "Endoto 2 Pairs Shoelaces for Nike AlphaFly 3 Sneakers, 6MM Flat Shoe Laces Strings Replacement for Vaporfly 3 Running Walking Shoes(Color:Green,Size:36Inch) : Clothing, Shoes & Jewelry - Amazon.com",
      "link": "https://www.amazon.com/Endoto-AlphaFly-Sneakers-Shoelaces-Replacement/dp/B0D83SD2YN",
      "source": "Amazon.com",
      "source_icon": "https://serpapi.com/searches/67dc0eeffe1c6b15eae613bf/images/60ade75505f762f68ceeb900c7ff165c106f3730c8ebdb0f09c98c8269ee4932.png",
      "price": {
        "value": "$9*",
        "extracted_value": 9,
        "currency": "$"
      },
      "in_stock": true,
      "thumbnail": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQ0xVTc1exgmFDepr8EGVT3y0-MEnmzB-vVMMetPuoY2GTu7QbT",
      "thumbnail_width": 187,
      "thumbnail_height": 269,
      "image": "https://m.media-amazon.com/images/I/717J4+89sCL._AC_SY695_.jpg",
      "image_width": 695,
      "image_height": 1000
    },
    ...
    {
      "position": 22,
      "title": "Nike ZoomX Vaporfly NEXT% 3 Volt Scream Green Barely DV4129-700 sz 13 Men's | eBay",
      "link": "https://www.ebay.com/itm/116423292928",
      "source": "eBay",
      "source_icon": "https://encrypted-tbn0.gstatic.com/favicon-tbn?q=tbn:ANd9GcT5NXsW5qpQoNKtvnEC0sNL88H54opWmBBYIh2gQ3U_SGUU-yc8xV_BfeECVq4HYfwroQsx3k4lpMvjDByZM4KvONyK63j7aI6RPQrDFwRa9lo",
      "rating": 4.5,
      "reviews": 777,
      "price": {
        "value": "$175*",
        "extracted_value": 175,
        "currency": "$"
      },
      "in_stock": true,
      "thumbnail": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTS8KlL5YvLrPpmXdn8TWQ_GLXv7WQg24txvitlO-wYHRk2F4XE",
      "thumbnail_width": 259,
      "thumbnail_height": 194,
      "image": "https://i.ebayimg.com/images/g/E8gAAOSweptnYxZg/s-l1200.jpg",
      "image_width": 1200,
      "image_height": 900
    },
    ...
  ],
  ...
}

JSON structure overview

{
  "visual_matches": [
    {
      "position": "Integer - Position of the match result",
      "title": "String - Title of the match result",
      "source": "String - Source name of the match result",
      "source_icon": "String - URL of the source's logo",
      "link": "String - Link to the match result",
      "rating": "Float - Rating of the item in the image",
      "reviews": "Integer - Number of reviews of the item in the image",
      "price": {
        "value": "String - Price of the item in the image",
        "extracted_value": "Float - Extracted price of the item in the image",
        "currency": "String - Price currency of the item in the image"
      },
      "in_stock": "Boolean - The item is currently in stock",
      "condition": "String - Condition of the item in the image",
      "thumbnail": "String - Thumbnail version of image that is present in the match result's content",
      "thumbnail_width": "Integer - width of the image thumbnail",
      "thumbnail_height": "Integer - height of the image thumbnail",
      "image": "String - URL to the full image",
      "image_width": "Integer - width of the full image",
      "image_height": "Integer - height of the full image",
    }
  ]
}