The Google Lens Search API is a fast and simple image search tool that enables you to search the web using images. With this API, you can get visual matches, knowledge graph data, text results, and other information available through Google Lens. This API provides an easy way to extract information from images, making it more accessible and searchable.
For developers, the API provides a way to add image-based search functionality to their applications. For marketers, it can help uncover new insights and information about their products and target audience. Researchers can also use the API to quickly find and analyze images related to their field of study.
The API is designed to be easy to use and integrate into existing applications. Simply submit an image to the API, and it will return relevant information, including a list of visually similar images, associated knowledge graph data, and text results. This makes the Google Lens Search API a powerful tool for extracting information from images and making it easily accessible and searchable.
Pass the image URL and receive its relevant information provided by Google Lens.
Image recognition: Use the API to recognize and extract information from images, such as objects, landmarks, and text.
Object recognition: Use the API to recognize and classify objects within an image, such as identifying a product or a piece of artwork.
Visual search: Use the API to search for visually similar images, such as finding more images of a particular product or landmark.
Text extraction: Use the API to extract and analyze text from images, such as reading and translating text from foreign language signs and menus.
Product recognition: Use the API to recognize and retrieve information about products, such as prices, specifications, and availability. This can be useful for e-commerce applications, price comparison websites, and more.
Besides the number of API calls, there are no other limitations
Search Google Lens by URL and get knowledge graph entities, visual matches, products, text and other data available in Google Lens.
You can also indicate the country code, according to ISO 3166. For more details, please refer to the list of country codes at: https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes
You can also indicate the country code, according to ISO 3166. For more details, please refer to the list of country codes at: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Search - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] URL of an image to perform Google Lens search. |
country |
Optional |
{"status":"OK","request_id":"e16060b7-ec2a-4a8d-8615-b2f1218adbf1","parameters":{"url":"https://i.imgur.com/HBrB8p0.png","language":"en","country":"us"},"data":{"visual_matches":[{"position":1,"title":"Danny DeVito - Simple English Wikipedia, the free encyclopedia","link":"https://simple.wikipedia.org/wiki/Danny_DeVito","source":"Wikipedia","source_icon":"https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcRUUbshUnin7ULaNODrg-lVcNBBMXFVfEUVbn_C-R6DJs51ANOoaJ90cg3hAt9FlHNrsWSlR0ODkNyjM15te9yLoYt4MoTFuNUPBNA33tYYl8mAb1r6uwwt4A","thumbnail":"https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSCmF_Lnulfr0YI39HaDhPLcxBqs2e_E4CCx6u9sQJz0N5m7JE7"},{"position":2,"title":"Cameo critic: Danny DeVito digs 'The Bridge,' 'Homeland' and 'The Killing'","link":"https://www.startribune.com/cameo-critic-danny-devito-digs-the-bridge-homeland-and-the-killing/287245891","source":"Star Tribune","source_icon":"https://encrypted-tbn3.gstatic.com/favicon-tbn?q=tbn:ANd9GcQozWY2m3SDmxyWP43nTEV-qF_s0O4tpZzJ6E-TSSE2pvy4o02Dv_z-MdMUxDKSLJmax5EfZ154vPtpv5vwr4Nq6IHitvEItIItSPCO9dVWk1c6QIS04buR","thumbnail":"https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRYFpNUrIJjSYxqsu37sy4LOvybl-VovvkVhSwdSLLdNRMaR3Iz"},{"position":3,"title":"Danny Devito desktop wallpapers - danny devito post - Imgur","link":"https://imgur.com/gallery/danny-devito-desktop-wallpapers-TgOHW","source":"Imgur","source_icon":"https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcT7l5l1tfiEpr6UVyH-PVZSaPFCkKU03ycf9YZSxdoW7sxql8fvC57lqgVvAPEg9aiGXYz73QoCx7OalpbCnSt7UFSJuk_cxEoaACRJscI","thumbnail":"https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTHm0S1W59C5ZfUvbxzqDjsdCHkxYx37Vb4tTGKi1jYT0C6N9Zb"},{"position":4,"title":"Yuta Katsumi, PhD on X: \"First ever R21 submission as a PI. https://t.co/Ay2p5wpeFT\" / X","link":"https://twitter.com/yutakatsumi/status/1501635010507395080","source":"X","source_icon":"https://encrypted-tbn0.gstatic.com/favicon-tbn?q=tbn:ANd9GcTobhbt0ZKwS5VFQSzydvQt8vjhhiwervtw9rdJdbWu12RMXaoRjkTltT0aoTWQ6_jjnhnlkM8mMaX4wNSw065V_4Iu62Ljd402sY56ddVX_w","thumbnail":"https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcR-wNW1Gip5tdQ3ki_NBm_Mwk-T08Nvzs65QEJhp7n4PozkoGpu"},{"position":5,"title":"É de espantar: Ator teve quase 90 anos de vida ativa no cinema; entenda","link":"https://www.em.com.br/webstories/flipar/2024/09/6949188-e-de-espantar-ator-teve-quase-90-anos-de-vida-ativa-no-cinema-entenda.html","source":"Estado de Minas","source_icon":"https://encrypted-tbn1.gstatic.com/favicon-tbn?q=tbn:ANd9GcQmo-aDr8FAJlqZSVAyaoNMmP2h-We1BWPcB1JOb_PgD-fJyniAKaXFfZxSEHXaJj12Omp9txvB6jxHQu4mZEbDiOsIqyNzh4PMaJSQkiynCLhj","thumbnail":"https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTlPTFvVp7EnCOVio5yU9pHEZospxHlWYfSrPed5ThtzX33M1Kz"},{"position":6,"title":"Danny Devito Tank Top Man's Summer Round Neck Vest Classic Sport Sleeveless Tops","link":"https://www.amazon.com/Danny-Devito-Summer-Classic-Sleeveless/dp/B0D6Y1M9FS","source":"Amazon.com","source_icon":"https://encrypted-tbn1.gstatic.com/favicon-tbn?q=tbn:ANd9GcRm4oMDPHDSWBDQhB5-csYIdmVde_ZfnfUYnfzlJJ9w7zjXG34H4SL9TXI2H8XWInsqPagyhBQjtImrHgLv9Bwvw_d2JvfjMfz3ox9yR82MKQ7yrQ","thumbnail":"https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcR7p_Q3dn-myy3ls0X4IAXdyS5eI-DM87Ac79ISwxEvIPekhrn4","price":"$13.96","availability":"In stock"}],"knowledge_graph":[{"title":"Danny DeVito","link":"https://www.google.com/search?q=Danny+DeVito&kgmid=/m/0q9kd&hl=en&gl=US","images":[{"link":"https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSEiibZoRKl9DXnou6b4ns6TlFP-v995UfEm0XpQZ2My4tWowpu","width":1200,"height":1427}]}],"detected_objects":[{"box":{"left":0.4964328,"top":0.533,"width":0.9904875,"height":0.934},"detections":[{"label":null,"type":"UNKNOWN","confidence":null},{"label":null,"type":"UNKNOWN","confidence":null}]},{"box":{"left":0.49821642,"top":0.742,"width":0.98692036,"height":0.5},"detections":[{"label":null,"type":"UNKNOWN","confidence":null}]},{"box":{"left":0.4411415,"top":0.305,"width":0.55410224,"height":0.16},"detections":[{"label":null,"type":"UNKNOWN","confidence":null}]}],"searched_object":{"box":{"left":0.4964328,"top":0.533,"width":0.9904875,"height":0.934},"detections":[{"label":null,"type":"UNKNOWN","confidence":null},{"label":null,"type":"UNKNOWN","confidence":null}]},"reverse_image_search_link":null}}
curl --location --request GET 'https://zylalabs.com/api/1338/google+lens+search+api/1119/search?url=https://i.imgur.com/HBrB8p0.png' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API returns various types of data, including visual matches, knowledge graph entities, product information, and extracted text from images. This allows users to gain insights and context about the submitted images.
Key fields in the response include "status," "request_id," "parameters," and "data." Within "data," you can find "visual_matches," which contains details like "title," "link," and "thumbnail" for each match.
The response data is structured in a JSON format. It includes a top-level object with status and request details, followed by a "data" object that contains arrays of visual matches and associated information.
The endpoint accepts parameters such as "url" (the image URL), "language" (for text results), and "country" (to tailor results based on regional data). Users can customize their requests by specifying these parameters.
The endpoint provides information on visually similar images, knowledge graph entities, product details, and extracted text. This diverse data helps users understand and analyze the content of the submitted images.
Data accuracy is maintained through Google's extensive knowledge graph and image recognition algorithms. Continuous updates and machine learning techniques ensure that the information returned is relevant and reliable.
Typical use cases include image recognition for identifying objects or landmarks, visual search for finding similar products, and text extraction for translating or analyzing text from images, enhancing user experience in various applications.
Users can utilize the returned data by integrating it into applications for enhanced search functionality, creating visual catalogs, or providing contextual information about products and landmarks, thereby enriching user engagement.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
7,207ms
Service Level:
100%
Response Time:
3,519ms
Service Level:
100%
Response Time:
3,519ms
Service Level:
81%
Response Time:
1,855ms
Service Level:
100%
Response Time:
2,053ms
Service Level:
100%
Response Time:
7,208ms
Service Level:
100%
Response Time:
11,443ms
Service Level:
100%
Response Time:
4,685ms
Service Level:
100%
Response Time:
194ms
Service Level:
100%
Response Time:
3,519ms
Service Level:
100%
Response Time:
1,717ms
Service Level:
100%
Response Time:
5,202ms
Service Level:
100%
Response Time:
15,677ms
Service Level:
100%
Response Time:
34ms
Service Level:
100%
Response Time:
1,654ms
Service Level:
100%
Response Time:
1,701ms
Service Level:
100%
Response Time:
504ms
Service Level:
100%
Response Time:
4,352ms
Service Level:
100%
Response Time:
22ms
Service Level:
100%
Response Time:
3,826ms