Google Lens Scraper avatar
Google Lens Scraper
Try for free

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

View all Actors
Google Lens Scraper

Google Lens Scraper

curious_coder/google-lens-scraper
Try for free

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

Scrape google lens and get matching images, website having given image, and extract text from given images in bulk

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "urls": [
11        "https://imageio.forbes.com/specials-images/imageserve/62d700cd6094d2c180f269b9/0x0.jpg?format=jpg&crop=959,959,x0,y0,safe&height=416&width=416&fit=bounds",
12        "https://upload.wikimedia.org/wikipedia/commons/1/18/Mark_Zuckerberg_F8_2019_Keynote_%2832830578717%29_%28cropped%29.jpg"
13    ],
14    "searchType": "findImageSources",
15    "proxy": {
16        "useApifyProxy": true,
17        "apifyProxyGroups": [
18            "RESIDENTIAL"
19        ],
20        "apifyProxyCountry": "US"
21    }
22};
23
24(async () => {
25    // Run the Actor and wait for it to finish
26    const run = await client.actor("curious_coder/google-lens-scraper").call(input);
27
28    // Fetch and print Actor results from the run's dataset (if any)
29    console.log('Results from dataset');
30    const { items } = await client.dataset(run.defaultDatasetId).listItems();
31    items.forEach((item) => {
32        console.dir(item);
33    });
34})();
Developer
Community logoMaintained by Community
Actor metrics
  • 7 monthly users
  • 91.7% runs succeeded
  • 0.7 days response time
  • Created in Sep 2023
  • Modified about 1 month ago

You might also like these Actors