Submit any image URL and retrieve visually similar images, matching products, and related web results from Google Lens. Structured JSON. Start for FREE.
Also: Google Lens API Python ยท Google Lens Scraper
{
"image_url": "https://example.com/photo.jpg",
"lens_results": [{
"position": 1,
"title": "Vintage Mid-Century Lounge Chair",
"source": "etsy.com",
"source_favicon": "https://www.google.com/s2/favicons?domain=etsy.com",
"link": "https://www.etsy.com/listing/123456",
"thumbnail": "https://i.etsystatic.com/.../il_794xN.123456.jpg",
"tag": "$489.00",
"in_stock": "In stock"
}, {
"position": 2,
"title": "Walnut Accent Chair",
"source": "wayfair.com",
"source_favicon": "https://www.google.com/s2/favicons?domain=wayfair.com",
"link": "https://wayfair.com/p/789",
"thumbnail": "https://secure.img1.wfcdn.com/.../chair.jpg",
"tag": "$329.99"
}],
"related_searches": [
{ "title": "mid century lounge chair", "thumbnail": "...", "link": "..." }
]
}A Google Lens API submits an image URL and retrieves visually similar images, matching products, identified entities, and related web pages โ programmatically, at scale. Google Lens is Google's visual search engine: it analyses image content and returns contextually relevant results the same way a text search returns results for a keyword query.
Google does not offer an official Lens API for developers. The Cloud Vision API handles OCR and label detection โ it is not the same as Lens visual search and does not return visually similar images or product matches from Google's web index. For visual product search, reverse image lookup, counterfeit detection, or any google lens scraper workflow, developers use third-party APIs like ScrapeBadger.
ScrapeBadger's Google Lens API returns: visually similar images, matching product listings (with prices and merchant names), identified entities and labels, and related web pages โ for any publicly accessible image URL.
Submit an image URL. Structured visual results back. First request in under 5 minutes.
Drop-in REST endpoint with structured JSON response.
Visual image search โ lens_results + related_searches with price/favicon metadata
/v1/google/lens/searchFrom visual e-commerce search to brand protection โ the most valuable applications for image-based search.
Allow users to upload a photo of a product and find it โ or visually similar alternatives โ on the web. Build Pinterest-style search experiences that surface matching products with prices and merchant information from Google's index.
Identify where an image appears across the web. Track unauthorised use of proprietary photography, campaign creatives, or branded assets by submitting the image and reviewing all associated pages.
Submit authentic product images to detect visually similar items sold by unauthorised merchants. Identify counterfeit listings using the same or similar photography as genuine products.
Identify products, landmarks, plants, animals, and artworks in any image using Google Lens's recognition capabilities. Power accessibility tools, educational platforms, or visual content moderation systems.
Submit a clothing item or furniture piece image to find visually similar products for sale. Build "shop the look" features or design inspiration tools that link images to purchasable items.
Identify artworks, antiques, and collectibles by image. Surface information about the depicted item, similar pieces in the market, and where they can be acquired.
ScrapeBadger's hosted MCP server exposes 92 tools โ including all Google APIs โ to any AI agent that supports the Model Context Protocol. No code changes. Just add one config line and your agent can call google_lens_search natively.
Most Google data APIs charge monthly subscriptions whether you use them or not. ScrapeBadger's model is different.
Buy credits once and use them whenever you need โ no monthly reset, no "use it or lose it" pressure. ScrapeBadger's pay-as-you-go credits last forever, so projects with variable or seasonal query volumes never waste budget on unused allocation.
ScrapeBadger offers two models: pay-as-you-go credits that never expire, or a subscription plan at a lower per-credit rate for predictable, high-volume usage. On a subscription, unused credits roll over to the following month โ so you never lose what you paid for. No lock-in, cancel anytime.
ScrapeBadger covers the full Google product ecosystem from a single API key and credit balance: SERP, Maps, Reviews, News, Trends, Jobs, Shopping, Patents, Scholar, Images, Finance, Flights, Hotels, Lens, AI Mode, Autocomplete, Shorts, and more. One account, one integration, one billing relationship โ versus managing multiple subscriptions across separate data providers.
Failed requests โ timeouts, blocked responses, empty results โ are never charged. Credits are deducted only when the API returns a successful, data-containing response. At scale, where failure rates affect your effective cost per result, this matters significantly. You pay for data you received, not for infrastructure you used.
Start with pay-as-you-go credits that never expire, or save more with a monthly subscription. No hidden fees, no lock-in.
Custom credit volumes, dedicated infrastructure, SLA guarantees, invoiced billing, and a dedicated account manager. Built around your actual usage โ not a fixed tier.
Everything you need to know about the Google Lens API.
Sign up free and get 1,000 API credits โ enough for 142 lens requests. No credit card required.