Google Lens API turns a public image into structured JSON. Send it an image URL plus a search type (visual matches, products, or exact matches) and it returns match rows you can parse: title, source page, link, thumbnail, the full image, its width and height, the date the source was seen, and for shopping results the price, currency, and stock status. It is Google Lens visual search delivered as a clean API, so you get reverse image search and visual product lookup without running a browser or fighting captchas.
It is built for developers who need image-to-data at scale: e-commerce teams matching product photos to live listings, brand and content teams checking where an image is being reused online, and AI builders who want an image lookup tool their agent can call. Every run returns JSON with CSV export, and pricing is pay per result, so a quick check costs cents and a bulk job scales in a straight line.
What each match row returns
title and source: the page that hosts the match
url and thumbnail, plus the full image with its width and height
date the source was last seen
price, currency, and inStock for shopping results
Honest limits: the full image field is null on exact-match searches, and product rating and review counts are rarely published by the source, so treat those as unavailable rather than guaranteed.
Example Tasks & Use Cases
Google Lens Visual Search From Claude via MCP - run a visual search straight from Claude and read the matches back as JSON, no code.
Reverse Image Search in Python via API - a copy-paste Python snippet that posts an image URL and parses the results.
Reverse Image Search API With a Free Tier - test the API on a handful of images before you scale a job.
Check If Your Photos Are Stolen, in Bulk - feed a list of your own images and see every page reusing them.
Bulk Reverse Image Search From a URL List - process hundreds of image URLs in one run and export to CSV.
图片盗用检测:查找使用您图片的网页 - the stolen-image check, documented for Chinese-language users.
以图搜图API:谷歌智能镜头风格识图 - the visual recognition API, documented in Chinese.
Works with MCP
The Actor runs over MCP, so AI clients like Claude, Cursor, and ChatGPT can call it as a tool. Point your agent at the Apify MCP server and ask something like "find where this product photo appears online and list any shopping results with prices," and it returns structured rows with no scraping code. See the full example gallery or the Google Lens API on Apify.
Keywords & Topics
google lens api, reverse image search api, visual product search, image attribution, google lens scraper, image to data, visual search api, e-commerce image matching, MCP image tool.
Built with