Google Photos Library website screenshot

Google Photos Library

The Google Photos Library API allows you to manage photos, videos, and albums in Google Photos. You can create and manage albums, upload and retrieve media items, search through your photo library, and share albums with other users. The API uses OAuth 2.0 for authentication and requires a Google account.

1 APIs 0 Features
AlbumsGoogleImagesMediaPhotosSharingStorage

APIs

Google Photos Library API v1

The Google Photos Library API provides programmatic access to Google Photos for managing media items and albums. Supports uploading, searching, listing, and sharing photos and v...

Collections

Pricing Plans

Rate Limits

Google Photos Rate Limits

5 limits

RATE LIMITS

FinOps

Semantic Vocabularies

Photos Context

13 classes · 3 properties

JSON-LD

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🚀
GettingStarted
GettingStarted
💰
Pricing
Pricing
🔗
JSONLD
JSONLD

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Google Photos Library API
  version: v1
request:
  auth:
    type: oauth2
    flow: authorization_code
    authorizationUrl: https://accounts.google.com/o/oauth2/auth
    accessTokenUrl: https://oauth2.googleapis.com/token
    credentials:
      clientId: '{{clientId}}'
      clientSecret: '{{clientSecret}}'
items:
- info:
    name: List media items
    type: http
  http:
    method: GET
    url: https://photoslibrary.googleapis.com/v1/mediaItems
    params:
    - name: pageSize
      value: ''
      type: query
    - name: pageToken
      value: ''
      type: query
  docs: List all media items from a user's Google Photos library.
- info:
    name: Create media items
    type: http
  http:
    method: POST
    url: https://photoslibrary.googleapis.com/v1/mediaItems
    body:
      type: json
      data: '{}'
  docs: Creates one or more media items in a user's Google Photos library.
- info:
    name: Get a media item
    type: http
  http:
    method: GET
    url: https://photoslibrary.googleapis.com/v1/mediaItems/:mediaItemId
    params:
    - name: mediaItemId
      value: ''
      type: path
  docs: Returns the media item for the specified media item identifier.
- info:
    name: Search media items
    type: http
  http:
    method: POST
    url: https://photoslibrary.googleapis.com/v1/mediaItems:search
    body:
      type: json
      data: '{}'
  docs: Searches for media items in a user's Google Photos library.
- info:
    name: List albums
    type: http
  http:
    method: GET
    url: https://photoslibrary.googleapis.com/v1/albums
    params:
    - name: pageSize
      value: ''
      type: query
    - name: pageToken
      value: ''
      type: query
  docs: Lists all albums shown to a user in the Albums tab of Google Photos.
- info:
    name: Create an album
    type: http
  http:
    method: POST
    url: https://photoslibrary.googleapis.com/v1/albums
    body:
      type: json
      data: '{}'
  docs: Creates an album in a user's Google Photos library.
- info:
    name: Get an album
    type: http
  http:
    method: GET
    url: https://photoslibrary.googleapis.com/v1/albums/:albumId
    params:
    - name: albumId
      value: ''
      type: path
  docs: Returns the album based on the specified albumId.
- info:
    name: List shared albums
    type: http
  http:
    method: GET
    url: https://photoslibrary.googleapis.com/v1/sharedAlbums
    params:
    - name: pageSize
      value: ''
      type: query
    - name: pageToken
      value: ''
      type: query
  docs: Lists all shared albums available in the Sharing tab.
bundled: true