Google Lens
GET /google/v1/lensGoogle Lens results for an image URL: visual matches (title, link, source, domain, thumbnail, full-size image with its size, price and stock when Google shows them), products (the matches with a price), web results, related searches and the AI overview of the image. type=exact_matches (or exact=1 with the other types) adds exact matches: pages that use the same image, with date and image size. The image must be publicly reachable; an image Google cannot read answers 400. One page of results (next_page is null). Every response includes credits_used: the credits this call cost.
Each call costs 4 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
urlrequired | string | Public URL of the image (jpg, png, webp, gif). Example: https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?w=640 |
type | all | visual_matches | exact_matches | products | What to return: all (default), visual_matches, exact_matches or products. |
exact | string | 1: also return exact matches (costs one more page). |
country | string | Results country (gl), e.g. us, gb, de. |
language | string | Interface language (hl), e.g. en, de. |
Every endpoint also takes: raw、fields、fresh、output、records
No sample yet
This endpoint has no published sample. Use “Test this endpoint” to run it in the console playground.