Google Photos API

The Google Photos API enables easy retrieval of images based on search queries, providing a streamlined solution for accessing visual content.

About the API:  

The Google Photos API is a powerful and versatile tool that allows you to integrate the vast Google Images repository into your applications. This API provides a simple method for retrieving images based on specific search queries, allowing users to seamlessly access relevant visual content. By leveraging the capabilities of the Google Photos API, users can enhance their applications with rich media content, improving user engagement and the overall experience.

In essence, the API accepts a query string and returns a collection of images that match the query. This process is optimized to deliver accurate, high-quality results, drawing from Google's vast database of indexed images. The data returned includes not only the images themselves, but also the width and height.

One of the main advantages of using the Google Photos API is its ease of integration. Designed with developers in mind, the API offers an easy-to-use interface and comprehensive documentation. This ensures that even those with minimal experience can quickly get up to speed and start incorporating image search functionality into their applications. The API supports multiple programming languages and frameworks, giving it flexibility and making it compatible with a wide range of development environments.

In conclusion, the Google Photos API is an indispensable tool for developers looking to enrich their applications with visual content. Its ease of integration, robust security, fast performance and scalability make it an ideal choice for a wide range of applications.

 

What this API receives and what your API provides (input/output)?

It will receive a parameter and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Photo gallery integration: Integrates Google Photos into applications to display user photos based on queries such as date, location or tags, providing a seamless gallery experience.

    Automatic album creation: Automatically create albums based on query criteria such as events, locations or specific photo attributes such as people's faces or objects detected in the images.

    Custom slideshows: Generate customized slideshows or presentations by querying and displaying photos based on specific topics, dates or events.

    Search and discovery features: Enhances in-app search capabilities by allowing users to search their Google Photos library based on text queries, such as keywords.

     

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.

API Documentation

Endpoints


To use this endpoint you must indicate a keyword in the parameter.



                                                                            
GET https://zylalabs.com/api/4470/google+photos+api/5487/search+images
                                                                            
                                                                        

Search Images - Endpoint Features

Object Description
query [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"status":"success","query":"iphone","results":100,"images":[{"url":"https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-16-pro-model-unselect-gallery-1-202409_FMT_WHH?wid\\u003d1200\\u0026hei\\u003d630\\u0026fmt\\u003djpeg\\u0026qlt\\u003d95\\u0026.v\\u003d1723539316444","width":1200,"height":630},{"url":"https://www.apple.com/v/iphone/home/by/images/meta/iphone__kqge21l9n26q_og.png","width":1200,"height":630},{"url":"https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/MT233?wid\\u003d1144\\u0026hei\\u003d1144\\u0026fmt\\u003djpeg\\u0026qlt\\u003d90\\u0026.v\\u003d1693248327138","width":1144,"height":1144},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-15-model-unselect-gallery-1-202309_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003daVFiZEF4WDEvUWJNSU5HRDg4cklnTGdzSmpObkZCM3MrNmJ5SkhESlNDam5PSXRIZVVBZHRmQmtxUUpQUDNVTFlZTzEwU2x0YmQ4dnJ3cVNFZ201bFhJRmNBejh5dzVJdkRsWDJ0V09Qbno1Tm1zdXNqOEgyT3R1S0pCRityaUZlRktsNEwyd042Y1h5RXdtYVdqbnh3\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-16-model-unselect-gallery-1-202409_FMT_WHH?wid\\u003d1200\\u0026hei\\u003d630\\u0026fmt\\u003djpeg\\u0026qlt\\u003d95\\u0026.v\\u003d1723991991623","width":1200,"height":630},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-15-finish-select-202309-6-1inch-pink_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dcHJOTXEwTU92OEtKVDV2cVB1R2FTSjlERndlRTljaUdZeHJGM3dlLzR2OHY2WXBWQWdyLzNrNnpHemdWd1VyeDFRUjVZcnNucDN6ME84Sk5KdjNoWnBRcmhuV0xiN2owaDd6ZUdJRlYrRTlWZmVzdHlTb1ZvUkovcWloS2FZNXJia0l3NDRUWnA2ZmdHWmhZRERyRWtR\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://store.storeimages.cdn-apple.com/8756/as-images.apple.com/is/iphone-14-model-unselect-gallery-1-202209_FMT_WHH?wid\\u003d1200\\u0026hei\\u003d630\\u0026fmt\\u003djpeg\\u0026qlt\\u003d95\\u0026.v\\u003d1660745142376","width":1200,"height":630},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-14-finish-select-202209-6-1inch-blue_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dbjlYUjk1NXN2Uy9CTWFMaXBneUF0bEthL1VsNXgveGUwQ1JqNzA0ZHArbkwyKzBuU1hIWENKWUNUdFZtaHRiczFRUjVZcnNucDN6ME84Sk5KdjNoWnBRcmhuV0xiN2owaDd6ZUdJRlYrRS9Ga3ZmTzhXa3ljQ09NOWNqeVZhRVA4ZDNlZFZUSXZlbyt5V3QvM0JEejFR\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://www.apple.com/newsroom/images/2024/09/apple-introduces-iphone-16-and-iphone-16-plus/article/geo/Apple-iPhone-16-hero-geo-240909_inline.jpg.large.jpg","width":653,"height":914},{"url":"https://cdn.alloallo.media/catalog/product/apple/iphone/iphone-13/iphone-13-pink.jpg","width":512,"height":512},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-16-pro-finish-select-202409-6-9inch-blacktitanium_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003deUdsd0dIb3VUOXdtWkY0VFUwVE8vbEdkZHNlSjBQRklnaFB2d3I5MW94NlcvVjg4Q2h4WWRjcFAyYlBrM0N1bGNCYVFTWE9PWUNRT1hNNnZQT3p1bTErZndnaURkVmozaEMySlFva2IrY2kwdE0xZHZpY3Z2b2JHN3R5d3hhK1FNdXRCUmJWZjM5OExLalhkZXF3RmJhSU81K2hNdW11eVBidDJOUHJQWXJF\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-se-finish-unselect-gallery-1-202207_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dVEhreGxMWU8vckorVEJ3dVU2RjJZZFgrSXpWVEhWaW9YTGlWRHFoSHU0OG5mNEIvMUVsODRNNlRVVkNDQ2g4akpxbExkakZwOW1FVDBpNHlyYVFtRmdLV2FqbzNtY1BxSW9iSE1sc2hZc1YrejJvV21jV3JjQW9QdTJhTGI0YzYyRlBza3dYTzZGendmNnQxTG4wL3d3\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-14-finish-select-202209-6-1inch-starlight_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dbjlYUjk1NXN2Uy9CTWFMaXBneUF0bEthL1VsNXgveGUwQ1JqNzA0ZHArbVAydkhiTzFaYkJrYmJvN1h4S29SVTU4VGJKK3dTNGxGL0VJSWJ6NkFzcCtad0Y0UUJ6bTJFNy9lM0NIVFBPaWhLVUtTU1p5Q3hjSjJnWUpQQWJXd2o2c0dMOTAxNm1OemQ5K2xUN2JzK3pR\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://cdsassets.apple.com/live/7WUAS350/images/iphone/fall-2023-iphone-colors-iphone-15-pro.png","width":900,"height":659},{"url":"https://media.wired.com/photos/66df337dfb7d4953b6dc5f31/master/w_2560%2Cc_limit/Screenshot%25202024-09-09%2520at%252010.42.09%25E2%2580%25AFAM.png","width":2098,"height":1180},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-16-pro-finish-select-202409-6-9inch-naturaltitanium_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003deUdsd0dIb3VUOXdtWkY0VFUwVE8vbEdkZHNlSjBQRklnaFB2d3I5MW94NkkwYXJHRXdBd0xZTDNUS0M2eUNlY09pSm1VbXpIeGpCeTJIVHRNaHdieENhcFMzWXhhZlpoRTlJdU1xMmtKaFlDbG1vNk41bkQ2aUtHeHpKYklXTEY2Y1BVVWcvTTVJWndma0lYSm5lMTZsemt0NWFEbVVwSUY3MzNqZWpjWWZJ\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-se-finish-select-202207-product-red_AV1_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dVEhreGxMWU8vckorVEJ3dVU2RjJZVVNCSGJEVklzV3dtVWxKME5oOWltbjVVekpmdFBRNXNaQWgrV3hncjRqTVZyZU10VldzN05ENll4dW0xeUlHNEFYZWRhV1JMZjVpMnNsVjZuVzNDRjR6aS91YVcxYUZpZGczeVJUNEFNTHpGVmtHems4eW94Ulo0aHJoUkFDQ1FR\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://i5.walmartimages.com/seo/Pre-Owned-Apple-iPhone-X-256GB-Factory-Unlocked-Smartphone-Refurbished-Good_9b5ec8b2-9665-463b-adc5-64829ba72da6.1b496e5a8fcee76fdad69bae12b54745.jpeg","width":1600,"height":1600},{"url":"https://www.apple.com/newsroom/images/product/iphone/standard/Apple_iphone_11-rosette-family-lineup-091019_big.jpg.large.jpg","width":816,"height":816},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-15-finish-select-202309-6-1inch-black_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dcHJOTXEwTU92OEtKVDV2cVB1R2FTSjlERndlRTljaUdZeHJGM3dlLzR2OXJ2ZmJPL0RPUUo3QVV2SDlVcFh6VGJWU3RPOURZS0RCaG1weXBRYytNTEZIMVU3blhIMm9GdXVFaFpISW1jUE4vd3djUElYUEl5ak9OVThyMUdieDArWkxUYUVnWmIvZXJSSnA5eXhkU1BB\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://i5.walmartimages.com/seo/Apple-iPhone-X-64GB-Unlocked-GSM-Phone-w-Dual-12MP-Camera-Space-Gray-B-Grade-Used_15c2b968-bb85-41a4-9292-b017f78fe797.a66ebbf32b6d53b6d6eb14c47434ac04.jpeg","width":2000,"height":2000},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-16-finish-select-202409-6-1inch-ultramarine_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dUXp1U3VDY3IyR1hNdHZwdFdOLzg1V0tFK1lhSCtYSGRqMUdhR284NTN4L28rSU1jVGx4VGxCNEFSdVNXdG1Rd2FrUnVaS0RUd2J0MmNFbkdhY2ZjUFdTMFRmWmtRdTBHQlhFcGIzZUhKekJuNDBzcjA0aG5jQUJ1UTI2VzJJR1kwSGZRRndEUFk5U3lLUnp0NjlBd3Z3\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://cdsassets.apple.com/live/7WUAS350/images/tech-specs/iphone_15_hero.png","width":1000,"height":1000},{"url":"https://www.apple.com/v/iphone-16/c/images/overview/apple-intelligence/apple_intelligence_endframe__ewm1810mnb0i_xlarge.jpg","width":874,"height":1064},{"url":"https://store.storeimages.cdn-apple.com/4982/as-images.apple.com/is/iup-overview-landing-year-202409_FMT_WHH?wid\\u003d1322\\u0026hei\\u003d780\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d95\\u0026.v\\u003d1724114532749","width":1322,"height":780},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-15-finish-select-202309-6-1inch-blue_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dcHJOTXEwTU92OEtKVDV2cVB1R2FTSjlERndlRTljaUdZeHJGM3dlLzR2L0wyKzBuU1hIWENKWUNUdFZtaHRiczFRUjVZcnNucDN6ME84Sk5KdjNoWnBRcmhuV0xiN2owaDd6ZUdJRlYrRTlWZmVzdHlTb1ZvUkovcWloS2FZNXJibHhQN3FTM1ZIQkk2Z3o4cTFlRFZB\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://www.zdnet.com/a/img/resize/0258ce846d7b24064837b16a38756b526188dad1/2024/09/22/5404cdba-d88c-4f1b-982c-76197d0edf08/iphone-16-pro-apple-store-mall.jpg?auto\\u003dwebp\\u0026fit\\u003dcrop\\u0026height\\u003d1200\\u0026width\\u003d1200","width":1200,"height":1200},{"url":"https://store.storeimages.cdn-apple.com/1/as-images.apple.com/is/iphone-16-finish-select-202409-6-1inch-pink_FMT_WHH?wid\\u003d1280\\u0026hei\\u003d492\\u0026fmt\\u003dp-jpg\\u0026qlt\\u003d80\\u0026.v\\u003dUXp1U3VDY3IyR1hNdHZwdFdOLzg1V0tFK1lhSCtYSGRqMUdhR284NTN4OHY2WXBWQWdyLzNrNnpHemdWd1VyeDFRUjVZcnNucDN6ME84Sk5KdjNoWnBRcmhuV0xiN2owaDd6ZUdJRlYrRThQVGFCY1d2Mm1kVDh4VitUQTlVdk9UOTZ6YWdIMldrRGtERWFIcmlaL0hR\\u0026traceId\\u003d1","width":1280,"height":492},{"url":"https://www.apple.com/newsroom/images/2024/09/apple-debuts-iphone-16-pro-and-iphone-16-pro-max/article/Apple-iPhone-16-Pro-hero-geo-240909_inline.jpg.large.jpg","width":653,"height":914},{"url":"https://cdn.mos.cms.futurecdn.net/yDn3ZSXu9eSBxmXQDZ4PCF.jpg","width":3416,"height":1921},{"url":"https://help.apple.com/assets/66D88D586AB93C295801942E/66D88D5C6AB93C2958019440/en_US/0849208c5ab0f69f4b49c856435943c8.png","width":710,"height":654},{"url":"https://cdn.britannica.com/01/178901-050-FF5C52B1/iPhone-6-2014.jpg","width":1600,"height":1373},{"url":"https://www.cnet.com/a/img/resize/15fef67176bef6c5179128b6f877d7d96338b9c3/hub/2024/09/18/f4dfbd54-08f9-42cc-9309-1c3923a06558/iphone-16-plus-pro-pro-max-family-4559.jpg?auto\\u003dwebp\\u0026fit\\u003dcrop\\u0026height\\u003d900\\u0026width\\u003d1200","width":1200,"height":900},{"url":"https://www.istudiosg.com/cdn/shop/files/iphone-15-plus-silicone-case-with-magsafe-winter-blue_MT193_eef851bb-1d62-40e7-b621-31249e23b77d.png?v\\u003d1711113873\\u0026width\\u003d823","width":823,"height":823},{"url":"https://media.v...
                                                                                                                                                                                                                    
                                                                                                    

Search Images - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4470/google+photos+api/5487/search+images?query=iphone' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Google Photos API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

To use this API, users must enter a search term to obtain images.

The Google Photos API is a set of tools and services provided by Google that allows users to integrate Google Photos functionality into their own applications.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.

The Google Photos API is essential because it allows users to integrate powerful photo management features into their applications. This API enables seamless access, organization and sharing of media files, enhancing the user experience and providing valuable tools for a variety of applications.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
6,715ms

Category:


Related APIs