Google Lens Reverse Image Search avatar

Google Lens Reverse Image Search

Try for free

3 days trial then $15.00/month - No credit card required now

Go to Store
Google Lens Reverse Image Search

Google Lens Reverse Image Search

newyear/google-reverse-image-search
Try for free

3 days trial then $15.00/month - No credit card required now

Scrape image sources from Google Lens with image urls, including 'Exact matches' and 'About this image' tabs. It's fast and low cost(as low as 128MB memory). Output in json format including source page url, title, description, time, image resolution, site icon and title.

You can access the Google Lens Reverse Image Search programmatically from your own JavaScript applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6    token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11    "images": [
12        "https://upload.wikimedia.org/wikipedia/commons/c/cb/Elon_Musk_Royal_Society_crop.jpg"
13    ],
14    "types": [
15        "exact",
16        "about"
17    ],
18    "count": 10,
19    "concurrency": 2,
20    "extra_outputs": [
21        "description",
22        "time",
23        "resolution",
24        "icon",
25        "site"
26    ],
27    "proxy": {
28        "useApifyProxy": true,
29        "apifyProxyGroups": [
30            "RESIDENTIAL"
31        ]
32    }
33};
34
35// Run the Actor and wait for it to finish
36const run = await client.actor("newyear/google-reverse-image-search").call(input);
37
38// Fetch and print Actor results from the run's dataset (if any)
39console.log('Results from dataset');
40console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
41const { items } = await client.dataset(run.defaultDatasetId).listItems();
42items.forEach((item) => {
43    console.dir(item);
44});
45
46// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Google Lens Reverse Image Search API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Google Lens Reverse Image Search API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

npm install apify-client

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 4 monthly users

  • 0 No bookmarks yet

  • 86% runs succeeded

  • Created in Feb 2025

  • Modified 3 days ago