Google Lens Visual Search

Find pages and products that visually match an image.

by ApifyReady to run$0.0147 per search

Example

You ask your agent

“Find web pages that show this photo of the Eiffel Tower: upload.wikimedia.org/wikipedia/commons/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg”

You get

Title
File:Tour Eiffel Wikimedia Commons.jpg - Wikipedia
URL
https://en.wikipedia.org/wiki/File:Tour_Eiffel_Wikimedia_Commons.jpg
Image
https://thumb.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/1280px-Tour_Eiffel_Wikimedia…
Position
1
Thumbnail
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQVwXiBZr-UqtfjFulOvh2z5KpRHqDnH-XUyA&s
Image width
2369
Query image
https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/960px-Tour_Eiffel_Wikimedia…
Result type
match
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "apify.johnvc-google-lens",
  "input": {
    "input": {
      "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/960px-Tour_Eiffel_Wikimedia_Commons.jpg"
    },
    "maxItems": 50
  }
}

Response

{
  "items": [
    {
      "url": "https://en.wikipedia.org/wiki/File:Tour_Eiffel_Wikimedia_Commons.jpg",
      "image": "https://thumb.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/1280px-Tour_Eiffel_Wikimedia_Commons.jpg?utm_source=en.wikipedia.org&utm_campaign=index&utm_content=thumbnail",
      "title": "File:Tour Eiffel Wikimedia Commons.jpg - Wikipedia",
      "source": "Wikipedia",
      "position": 1,
      "thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQVwXiBZr-UqtfjFulOvh2z5KpRHqDnH-XUyA&s",
      "imageWidth": 2369,
      "queryImage": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/960px-Tour_Eiffel_Wikimedia_Commons.jpg",
      "resultType": "match",
      "searchType": "visual_matches",
      "imageHeight": 1280
    }
  ],
  "item_count": 50
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Google Lens Visual Search (tool ID: apify.johnvc-google-lens). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 3 →

Questions

Is Google Lens Visual Search by Apify free?

Scrollport has no free tier: it costs $0.0147 per search, paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Apify?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

Details

About this tool

Look up one public image URL with Google Lens and get 50 visual matches, each with title, source site, page link and image and thumbnail links, plus price and stock where a match is a product. An optional query narrows the matches. Use it for products, places and finding where an image appears online, not for identifying people. You're charged per lookup. The worked example shows selected fields: long text is shortened, nested lists keep one item and expiring media links are left out.

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Maximum number of records to return.

minimum: 50 · maximum: 50

Output

item_countnumber
itemsarray

Result records.

Errors and limits
  • upstream_error: The scraper could not return usable results; the wallet was not charged.Check the input and limits, or retry later.