Skip to main content
The Google Lens plugin runs a Google Lens search for an image and returns the results as structured JSON. Give it the public URL of an image - a product photo, a landmark, a logo - and it returns the visual matches Lens finds (usually around 60): the page each match is on, its site and domain, the matching image with its size and thumbnail, and, for product matches, the price and currency (plus the product name, brand and description when Google has them) and the price text, rating and review count as the tile shows them. The response also carries relatedSearches - what Lens recognised in the image, such as Eiffel Tower with its Knowledge Graph id - and aiOverview, Google’s own description of the image when it is ready in time (else null). Google fetches the image itself, so the URL must be publicly reachable. No Google account or API key is involved. To search images by keyword instead, use Google Images.
Google loads Lens matches for non-US visitors only, so every call is served from a non-US exit, a US request included (by default from a European country). proxyCountry in the response says which country served the call. Shopping matches and prices follow that country; gl and hl set the Google market and language.
Try it in the dashboard first: app.scrapeunblocker.com/dashboard/plugins. You get a live results view plus a copy-paste snippet.

Endpoint

In cURL the image URL goes in the query string, so URL-encode it; the SDKs do that for you. Each search is billed as one request. A 502 (no visual matches) is not billed.

Response

Errors

What you can build

  • Find where an image appears - list the pages and sites that use a product photo, a logo or artwork.
  • Visual product search - turn a product photo into shopping matches with prices for a market.
  • Counterfeit and reseller monitoring - spot shops reusing your product images.
  • Image recognition - get what Lens recognises in an image (landmarks, products, brands) with its Knowledge Graph id.

Next steps

Open the plugins

Run a Google Lens search and grab the JSON.

Get an API key

Free trial available on the pricing page.