This page contains a high-level overview that describes what the Data Portability API is, its use cases with some hypothetical examples, and the process for accessing and creating an app that uses the Data Portability API.
Introduction
The Data Portability API lets you build applications that request authorization from a user to move a copy of their data from Google services into your application. This enables data portability and facilitates switching services.
The Data Portability API supports data from a variety of Google products and services, including user generated content and user activity data from products, such as:
- Chrome
- Maps
- Play
- Search
- Shopping
- YouTube
For a full list of what's available, see Available OAuth scopes.
When to use the Data Portability API
This section covers some ways you can use the Data Portability API.
Build a new service
You can create a new product or service that is meant to export Google user data to facilitate an experience. For example, you could build a restaurant recommendation app that uses Starred places on Maps and Search history to suggest restaurants near the user.
Enhance current service
You can use the Data Portability API to enhance your product's features with Google data. For example, you can enhance the user experience on your fitness app by allowing users to port a copy of their YouTube Music playlists so you can make better music suggestions to go along with a workout plan.
Enable users to onboard to your service
You can use the Data Portability API to facilitate users switching from a Google product or service to your product, or using your product and a Google product simultaneously. For example, porting a copy of Maps data to enable using multiple navigation services.
Process
To use the Data Portability API in your product or service, you'll need to accomplish these tasks:
- Check availability: Ensure the Data Portability API is available to your
users' population.
- Verify the Data Portability API is available in your location.
- The Data Portability API does not support access by accounts of users under 18.
- Set up the API: To begin using the Data Portability API, follow the steps in
Set up the Data Portability API, which are:
- Sign up for a Google Developer Account.
- Create your project.
- Enable billing.
- Enable the API.
Configure OAuth for your application:
- Set up OAuth.
Choose applicable Data Portability API OAuth scopes.
Develop using the API: Integrate the Data Portability API into your app experience following the steps in Develop apps using the Data Portability API.
Verify your app: Applications that use the Data Portability API have access to Google users' data and therefore are subject to a verification process before they can be published. This process generally includes:
- Verifying your identity
- Providing a copy of your privacy policy
- Describing how you are going to use the data
- Creating a demo video
If you are seeking access to restricted OAuth scopes, the process also includes:
- Completing a security assessment.
For more details, see the instructions for submitting your app for verification and the full verification requirements.
Re-verify your app: You need to re-verify your application annually or if you make changes to the approved app.