Search by image
The pages Google Lens matches an image with, about 60, with their title, site, photo and price, as Lens lists them.
google_lens/matches/search1 credit a callv1.1.1When to use it
You have a photo (a piece of furniture, a garment, a product) and want the pages that show it or something like it: stores selling it, with their price and stock, and any page with a similar image. Pass the image's public address. type picks Lens's tab: visual matches (similar images, default) or exact matches (the same image elsewhere). Add words with query to narrow it ("velvet", "black"). country sets the stores and the currency.
Try it
The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "google_lens", "operation": "matches/search", "options": { "image_url": "https://www.example.com/sofa.jpg" } }'
An example answer. Run it on your own input.
{ "object": "run", "id": "run_owxe3bvgryms4hc4eeg2mk64hi", "livemode": true, "source": "google_lens", "operation": "matches/search", "version": "1.1.1", "schema_url": "https://api.lobstr.io/v2/catalog/google_lens/matches/search", "options": { "image_url": "https://www.example.com/sofa.jpg" }, "fields": null, "status": "succeeded", "count": 1, "has_more": false, "next": null, "cost": { "credits": 1 }, "results": [ { "object": "match", "id": "3l11OeqcfrA-SM", "position": 1, "type": "visual", "title": "Acme corner sofa in grey velvet", "url": "https://www.acme-furniture.example/products/corner-sofa", "source": { "name": "Acme Furniture", "domain": "www.acme-furniture.example", "icon_url": null }, "price": { "amount": 1175, "currency": "USD", "text": "$1,175*" }, "in_stock": true, "rating": { "value": 4.5, "scale": 5, "count": 12 }, "product": { "id": "4593364531341020711", "title": "Acme corner sofa in grey velvet, right-facing chaise, 4 seats", "brand": "Acme", "description": "A deep corner sofa in soft grey velvet, with a right-facing chaise and four seats ...", "price": { "amount": 1174.99, "currency": "USD" } }, "date_text": null, "thumbnail": { "url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:example", "width": 188, "height": 268 }, "image": { "url": "https://www.acme-furniture.example/images/corner-sofa.jpg", "width": 1400, "height": 2000 }, "ids": { "image_id": "_A58_Sfqj08pVM", "document_id": "3l11OeqcfrA-SM" }, "source_url": "https://lens.google.com/uploadbyurl?url=https%3A%2F%2Fwww.example.com%2Fsofa.jpg&hl=en&gl=us", "observed_at": "2026-11-24T17:21:00Z" } ] }
Options
image_urlstringrequiredtype"visual" | "exact"Default visualquerystringlanguagestringDefault enhl.countrystringDefault usgl (ISO 3166-1 alpha-2, lower case): with gb, British stores in pounds.Record
Each record of results, in the envelope every call returns (Run an operation).
objectstringidstringpositionintegertypestringtitlestringurlstringsource.namestringsource.domainstringsource.icon_urlstringprice.amountfloatprice.currencystringprice.textstringin_stockbooleanrating.valuefloatrating.scalefloatrating.countintegerproduct.idstringproduct.titlestringproduct.brandstringproduct.descriptionstringproduct.price.amountfloatproduct.price.currencystringdate_textstringlanguage ("13 Jan 2021"); null for a visual match.thumbnail.urlstringthumbnail.widthintegerthumbnail.heightintegerimage.urlstringimage.widthintegerimage.heightintegerids.image_idstringids.document_idstringsource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
invalid_image | 422 | image_url is not an image's address (http or https); not charged. |
invalid_type | 422 | type is visual or exact; not charged. |
image_unreadable | 422 | Google could not download the image at image_url (not public, or not an image); not charged. |
site_unavailable | 503 | Google did not answer in time or answered its check instead of the search; retry later (not charged). Retryable. |
unexpected_answer | 424 | Google answered in a shape we do not read yet; we are told and fix it, and it is not charged. Retrying now gives the same. |
Price
1 credit a call, whatever the tab holds. An image Google cannot read, a search with no match and a failed call are free. What a credit costs on each plan: Credits and pricing.
Changelog
1.1.12026-12-011.1.02026-12-01product when Google Shopping knows what the page sells: its id, its whole title, its brand, the store's description and its exact price (the card's is rounded). Null otherwise.1.0.22026-11-251.0.12026-11-251.0.02026-11-24