![Google Reverse Image Search API ✅ Free avatar](https://images.apifyusercontent.com/h2AvkKoDRlwcVUqZeFFU1psrBqiGUxgwTd3nN2bGL9Y/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NN0g5bW83VTk1ZjBlanhlVy84a2RQZkFHRndnQ1lBelN4RC1TY3JlZW5zaG90XzIwMjMtMDktMDhfYXRfMTIuNTEuNTdfUE0ucG5n.webp)
Google Reverse Image Search API ✅ Free
Try for free
No credit card required
View all Actors![Google Reverse Image Search API ✅ Free](https://images.apifyusercontent.com/h2AvkKoDRlwcVUqZeFFU1psrBqiGUxgwTd3nN2bGL9Y/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NN0g5bW83VTk1ZjBlanhlVy84a2RQZkFHRndnQ1lBelN4RC1TY3JlZW5zaG90XzIwMjMtMDktMDhfYXRfMTIuNTEuNTdfUE0ucG5n.webp)
![Google Reverse Image Search API ✅ Free](https://images.apifyusercontent.com/h2AvkKoDRlwcVUqZeFFU1psrBqiGUxgwTd3nN2bGL9Y/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9NN0g5bW83VTk1ZjBlanhlVy84a2RQZkFHRndnQ1lBelN4RC1TY3JlZW5zaG90XzIwMjMtMDktMDhfYXRfMTIuNTEuNTdfUE0ucG5n.webp)
Google Reverse Image Search API ✅ Free
curious_coder/google-lens-scraper
Try for free
No credit card required
Features: ▶ API to search by image on Google ▶ Search and scrape similar images and source websites ▶ Extract text from given image using google lens
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 more
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "urls": [
9 "https://imageio.forbes.com/specials-images/imageserve/62d700cd6094d2c180f269b9/0x0.jpg?format=jpg&crop=959,959,x0,y0,safe&height=416&width=416&fit=bounds",
10 "https://upload.wikimedia.org/wikipedia/commons/1/18/Mark_Zuckerberg_F8_2019_Keynote_%2832830578717%29_%28cropped%29.jpg",
11 ],
12 "searchType": "findImageSources",
13 "proxy": {
14 "useApifyProxy": True,
15 "apifyProxyGroups": ["RESIDENTIAL"],
16 "apifyProxyCountry": "US",
17 },
18}
19
20# Run the Actor and wait for it to finish
21run = client.actor("curious_coder/google-lens-scraper").call(run_input=run_input)
22
23# Fetch and print Actor results from the run's dataset (if there are any)
24print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
25for item in client.dataset(run["defaultDatasetId"]).iterate_items():
26 print(item)
27
28# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
- 18 monthly users
- 1 star
- 96.8% runs succeeded
- 0.8 hours response time
- Created in Sep 2023
- Modified 3 days ago