APIs / Search engines / Google Lens
1 credit per call1 endpoint
Google Lens API
Get Google Lens data as structured JSON with one API key: lens. Free credits every month.
Google Lens
GET/v1/google-lens/lens?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F4%2F45%2FA_small_cup_of_coffee.JPG&type=visual_matches
curl "https://api.perceptlayer.com/v1/google-lens/lens?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F4%2F45%2FA_small_cup_of_coffee.JPG&type=visual_matches" \
-H "X-API-Key: $API_KEY"cURL1 credit per successful call
Run this call below or from your dashboard to see a live response.
Playground
Run this API
curl "https://api.perceptlayer.com/v1/google-lens/lens?url=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F4%2F45%2FA_small_cup_of_coffee.JPG&type=visual_matches" \
-H "X-API-Key: $API_KEY"Google Lens · 1 endpoint
Endpoints
Every endpoint takes the same key. Open one for its parameters and an example request.
| Endpoint | Required parameters | Cost |
|---|---|---|
GET/v1/google-lens/lens | url+2 optional | 1 credit |
Overview
About the Google Lens API
What you can get
The Google Lens API returns lens as clean JSON. Each successful call costs one credit, and calls that fail are free.
Search enginesJSONRESTMCP
More search engines APIs
Use cases
Find where an image appears across the web
Use the Google Lens API to find where an image appears across the webIdentify products from a photo
Use the Google Lens API to identify products from a photoSpot copies of your images and logos
Use the Google Lens API to spot copies of your images and logosFAQ
Questions
How much does the Google Lens API cost?
Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Do I need a separate key for Google Lens?
No. One key works for every API in the catalogue.
Try the Google Lens API with 1,000 free credits
No credit card. Failed calls are never billed.