# Reverse image search: find where a photo appears

**Use case:** 

Run a bulk reverse image search on any photo with Google Lens and get the web pages where that image, or a near-copy, appears online — each with its source site, the image URL, and its pixel size. Point it at image URLs, Apify uploads, or base64. It runs no browser, so images come back in seconds, and you pay only for images that return results.

## Input

```json
{
  "imageUrls": [
    {
      "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tour_Eiffel_Wikimedia_Commons.jpg/960px-Tour_Eiffel_Wikimedia_Commons.jpg"
    }
  ],
  "imageKvsRecords": [],
  "searchTypes": [
    "visual-match"
  ],
  "translateLanguage": "en"
}
```

## Output

```json
{
  "image": {
    "label": "Image",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "matchCount": {
    "label": "Matches",
    "format": "integer"
  },
  "topMatchTitle": {
    "label": "Top match",
    "format": "string"
  },
  "topMatchLink": {
    "label": "Top match link",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Lens API: Reverse Image Search & OCR Actor is ready to run with the inputs already set for "Reverse image search: find where a photo appears". [Sign up or log in](https://console.apify.com/create-task-from-example/HJmSyIG2MbGR0y8vJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Reverse image search: find where a photo appears" task

The Google Lens API: Reverse Image Search & OCR Actor will start running based on the input automatically. You can also change all the input fields, like image urls, key-value store records, and more, to match your specific use case.

### 3. Receive the "Reverse image search: find where a photo appears" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, status, matches, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Reverse image search: find where a photo appears" task via API](https://apify.com/mu0i/google-lens-api.md).

## FAQ

### What does the reverse image search return?

The web pages where your image or a near-copy appears, each with its source site, the image URL as hosted there, and the image's pixel size.

### Can I search many images at once?

Yes. Send hundreds of image URLs, Apify key-value store files, or base64 in one run, and get one row of matches per image.

### Am I charged for images with no matches?

No. You pay only when a search returns results. Images that find nothing, or that fail to download, are free.

### Do I need a proxy or a browser?

No. The actor runs no browser and uses no proxy, so the price shown is the whole cost.

### Can I use uploaded files instead of URLs?

Yes. Upload images to an Apify key-value store and name it, or send base64 from your code. No public URL is needed.

## About this Actor

This example demonstrates how to use [Google Lens API: Reverse Image Search & OCR](https://apify.com/mu0i/google-lens-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mu0i/google-lens-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/mu0i/google-lens-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
