
Google Lens Reverse Image Search
3 days trial then $15.00/month - No credit card required now
This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?
See alternative Actors
Google Lens Reverse Image Search
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 ],
17 "count": 10,
18 "concurrency": 2,
19 "extra_outputs": [
20 "description",
21 "time",
22 "resolution",
23 "icon",
24 "site"
25 ],
26 "proxy": {
27 "useApifyProxy": true,
28 "apifyProxyGroups": [
29 "RESIDENTIAL"
30 ]
31 }
32};
33
34// Run the Actor and wait for it to finish
35const run = await client.actor("newyear/google-reverse-image-search").call(input);
36
37// Fetch and print Actor results from the run's dataset (if any)
38console.log('Results from dataset');
39console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
40const { items } = await client.dataset(run.defaultDatasetId).listItems();
41items.forEach((item) => {
42 console.dir(item);
43});
44
45// 📚 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:
Actor Metrics
12 monthly users
-
1 bookmark
>99% runs succeeded
1.3 days response time
Created in Feb 2025
Modified 25 days ago