
Google Lens API
Google Lens Image Search
Results as Structured JSON
Google Lens Image Search Results as Structured JSON
Send a public image URL and get visual matches, pages that contain the exact image, product prices, ratings, and related searches from Google Lens. 10 credits per search.
Start scraping today with 1000 free credits. No Credit Card Required

Visual, Exact, and Product Data
Each search returns about 60 visual matches with page title, link, source, domain, thumbnail, and the full-size image with width and height.
Use `type=exact` to get up to 400 pages that contain the same image. The first 50 links come back as resolved page URLs. Product rows add price, a numeric `extracted_price`, currency, rating, review count, and stock status.
Localized Results and Text Refinement
Set the interface language with hl and the market with gl (a two-letter ISO 3166-1 code such as `us`, `gb`, `de`, or `jp`) to get local prices and currencies.
Add `q` to refine visual matches by color, model, or another product detail. Add `include_html=true` to also receive the Google Lens results page at no extra cost.
How It Works
Select a Target

Send API Request
import requests
import json
token = "<SDO-token>"
image_url = "https://m.media-amazon.com/images/I/61bK6PMOC3L._AC_SL1500_.jpg"
response = requests.get(
"https://api.scrape.do/plugin/google/lens",
params={"token": token, "url": image_url},
)
print(json.dumps(response.json(), indent=2))Get Structured JSON
{
"search_parameters": {
"image_url": "https://m.media-amazon.com/images/I/61bK6PMOC3L._AC_SL1500_.jpg",
"type": "all",
"hl": "en",
"gl": "us"
},
"visual_results": [
{
"position": 1,
"title": "Amazon.com: Apple iPhone 14, 128GB, Blue for T-Mobile ...",
"link": "https://www.amazon.com/Apple-iPhone-128GB-T-Mobile-Renewed/dp/B0BN746959",
"source": "Amazon.com",
"domain": "www.amazon.com",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:...",
"image": {
"link": "https://m.media-amazon.com/images/I/61aEBeER-+L._AC_UF894,1000_QL80_.jpg",
"width": 755,
"height": 1000
}
},
{
"position": 2,
"title": "Pre-Owned Apple iPhone 14 Plus - Carrier Unlocked - 128GB ...",
"link": "https://www.walmart.com/ip/Apple-iPhone-14-Plus-128GB-Blue/1603165541?conditionGroupCode=3",
"source": "Walmart",
"domain": "www.walmart.com",
"price": "$339*",
"extracted_price": 339,
"currency": "$",
"in_stock": true,
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:...",
"image": {
"link": "https://i5.walmartimages.com/asr/6e450140-8237-4084-8996-4cb6ebc53694.c116087ed2ce71e7315765d9e264e6a8.jpeg",
"width": 1448,
"height": 1448
}
}
],
"related_searches": [
{ "query": "Apple iPhone 14 Plus", "link": "https://www.google.com/search?q=Apple+iPhone+14+Plus&..." },
{ "query": "iPhone 14", "link": "https://www.google.com/search?q=iPhone+14&..." }
]
}
How many Google Lens API calls per plan?
Every Google Lens API call costs 10 credits. Here's what each plan buys you.
All plans include automatic anti-bot bypass, residential proxies, and a 99.98% success rate. See full plan details.
Scrape.do has been a game-changer with powerful scraping tools, but what truly sets them apart is their excellent customer support.

CTO
Average Response Time
No tickets connect with expert engineers.
Success rate
Ethically sourced proxies
Faster gateway than the closest competitor.
Reliable, Scalable,Unstoppable Web Scraping
Frequently Asked Questions
A public http or https image URL in the url parameter, plus your token. Google must be able to fetch the image. Hosts that block Google can return a successful response with no result array.
The default type=all returns about 60 visual_results and, when q is not sent, related_searches. Each visual result has title, link, source, domain, thumbnail, and the full-size image. Product rows add price, extracted_price, currency, rating, reviews, and in_stock when Google shows them. type=visual returns visual results only, and type=exact returns exact_results.
Up to 400 per search. The first 50 links are resolved page URLs. Later links are Google redirect links, which you can resolve with the Google Redirect (Goto) Link Resolver at 1 credit per link.
10 credits per successful request, for any type, with or without include_html. A search that finds no matches still costs 10 credits. Validation errors (400) and failed requests that return 502 are not charged.
type=all and type=visual usually complete in about 5 seconds. type=exact takes longer, up to about 35 seconds, because page links are resolved before the response is returned.
Yes. Set hl for the interface language and gl for the market, prices, and currencies. gl takes a two-letter ISO 3166-1 code, so use gb for the United Kingdom, not uk.
See the Google Lens API documentation for every parameter, the full response schema, and the error table.


