SerpApi Official icon

SerpApi Official

Get live Google Search data and more from SerpApi's official node

Search → Google Lens

AI-generated

Overview

This node performs a Google Lens search using an image URL. It allows users to input the URL of an image and optionally specify additional parameters such as language, country, page token, caching options, async search, output format, and JSON restrictor to customize the search results. This node is useful for extracting information or identifying objects from images via Google Lens.

Use Case Examples

  1. A user wants to identify objects or landmarks in an image by providing the image URL to the node and receiving structured search results.
  2. A user wants to perform a Google Lens search in a specific language or country by setting the respective parameters to tailor the search results.

Properties

Name Meaning
Image URL (url) The URL of the image to perform the Google Lens search on. This is a required parameter.
Additional Fields Optional parameters to customize the Google Lens search, including language, country, page token, caching behavior, async search, output format, and JSON restrictor.
Request Options Node-level request options such as batching, SSL certificate validation, proxy, and timeout settings.

Output

JSON

  • results - The structured JSON results returned from the Google Lens search.

Dependencies

  • An API key credential for SerpApi to authenticate requests.

Troubleshooting

  • Ensure the image URL is accessible and valid; otherwise, the search may fail or return no results.
  • If the API key credential is missing or invalid, the node will not authenticate and fail to retrieve data.
  • Using async and no_cache parameters together is not supported and may cause errors.
  • Timeout settings should be adjusted if the server response is slow to avoid premature request abortion.

Links

Discussion