Search APIs
Loading…
← API Store
Search & SEO

Google

Google

Google Lens

GET /google/v1/lens
Test this endpoint

Google 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

NameTypeDescription
urlrequiredstringPublic URL of the image (jpg, png, webp, gif). Example: https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?w=640
typeall | visual_matches | exact_matches | productsWhat to return: all (default), visual_matches, exact_matches or products.
exactstring1: also return exact matches (costs one more page).
countrystringResults country (gl), e.g. us, gb, de.
languagestringInterface 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.