Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trang này cung cấp thông tin tổng quan cấp cao mô tả Data Portability API là gì, các trường hợp sử dụng cùng một số ví dụ giả định và quy trình truy cập cũng như tạo ứng dụng sử dụng Data Portability API.
Giới thiệu
API Di chuyển dữ liệu cho phép bạn xây dựng các ứng dụng yêu cầu người dùng uỷ quyền để di chuyển bản sao dữ liệu của họ từ các dịch vụ của Google vào ứng dụng của bạn.
Điều này cho phép di chuyển dữ liệu và tạo điều kiện chuyển đổi dịch vụ.
Data Portability API hỗ trợ dữ liệu từ nhiều sản phẩm và dịch vụ của Google, bao gồm cả nội dung do người dùng tạo và dữ liệu hoạt động của người dùng từ các sản phẩm, chẳng hạn như:
Phần này trình bày một số cách bạn có thể sử dụng Data Portability API.
Tạo dịch vụ mới
Bạn có thể tạo một sản phẩm hoặc dịch vụ mới để xuất dữ liệu người dùng Google nhằm hỗ trợ trải nghiệm. Ví dụ: bạn có thể tạo một ứng dụng đề xuất nhà hàng sử dụng tính năng Địa điểm được gắn dấu sao trên Maps và Nhật ký tìm kiếm để đề xuất nhà hàng ở gần người dùng.
Cải thiện dịch vụ hiện tại
Bạn có thể sử dụng Data Portability API để nâng cao các tính năng của sản phẩm bằng dữ liệu của Google. Ví dụ: bạn có thể nâng cao trải nghiệm người dùng trên ứng dụng thể dục bằng cách cho phép người dùng chuyển một bản sao danh sách phát trên YouTube Music để bạn có thể đưa ra đề xuất nhạc phù hợp hơn cùng với kế hoạch tập thể dục.
Cho phép người dùng tham gia dịch vụ của bạn
Bạn có thể sử dụng Data Portability API để hỗ trợ người dùng chuyển từ một sản phẩm hoặc dịch vụ của Google sang sản phẩm của bạn, hoặc sử dụng đồng thời sản phẩm của bạn và một sản phẩm của Google. Ví dụ: chuyển bản sao dữ liệu Maps để cho phép sử dụng nhiều dịch vụ chỉ đường.
Quy trình
Để sử dụng Data Portability API trong sản phẩm hoặc dịch vụ của mình, bạn cần hoàn thành các nhiệm vụ sau:
Kiểm tra phạm vi cung cấp: Đảm bảo Data Portability API có sẵn cho nhóm người dùng của bạn.
Xác minh rằng Data Portability API có ở vị trí của bạn.
Data Portability API không hỗ trợ quyền truy cập của tài khoản người dùng dưới 18 tuổi.
Thiết lập API: Để bắt đầu sử dụng Data Portability API, hãy làm theo các bước trong phần Thiết lập Data Portability API, bao gồm:
Xác minh ứng dụng: Các ứng dụng sử dụng API Di chuyển dữ liệu có quyền truy cập vào dữ liệu của người dùng Google. Do đó, các ứng dụng này phải trải qua quy trình xác minh trước khi có thể được phát hành. Quá trình này thường bao gồm:
Xác minh danh tính của bạn
Cung cấp bản sao chính sách quyền riêng tư
Mô tả cách bạn sẽ sử dụng dữ liệu
Tạo video minh hoạ
Nếu bạn đang tìm cách truy cập vào các phạm vi OAuth bị hạn chế, quy trình này cũng bao gồm:
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThe Data Portability API allows developers to build applications that can access and transfer user data from various Google services, like YouTube, Maps, and Search, with user authorization.\u003c/p\u003e\n"],["\u003cp\u003eThis API facilitates creating new services, enhancing existing ones by integrating Google data, and enabling users to easily switch or simultaneously use your service alongside Google products.\u003c/p\u003e\n"],["\u003cp\u003eBefore utilizing the API, developers must ensure its availability in their users' location, set up the API through a Google Developer Account, configure OAuth, develop their application, and undergo a verification process.\u003c/p\u003e\n"],["\u003cp\u003eApplications accessing user data via the Data Portability API require verification, including identity confirmation, privacy policy submission, data usage description, and a demo video; restricted scopes necessitate further security assessments.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers must re-verify their applications annually or after making significant changes to maintain compliance.\u003c/p\u003e\n"]]],[],null,["# Data Portability API Overview\n\nThis page contains a high-level overview that describes what the Data Portability API\nis, its use cases with some hypothetical examples, and the process for accessing\nand creating an app that uses the Data Portability API.\n\nIntroduction\n------------\n\nThe Data Portability API lets you build applications that request authorization from a\nuser to move a copy of their data from Google services into your application.\nThis enables data portability and facilitates switching services.\n\nThe Data Portability API supports data from a variety of Google products and services,\nincluding user generated content and user activity data from products, such as:\n\n- Chrome\n- Maps\n- Play\n- Search\n- Shopping\n- YouTube\n\nFor a full list of what's available, see [Available OAuth scopes](/data-portability/user-guide/scopes).\n\nWhen to use the Data Portability API\n------------------------------------\n\nThis section covers some ways you can use the Data Portability API.\n\n### Build a new service\n\nYou can create a new product or service that is meant to export Google user\ndata to facilitate an experience. For example, you could build a restaurant\nrecommendation app that uses Starred places on Maps and Search history to\nsuggest restaurants near the user.\n\n### Enhance current service\n\nYou can use the Data Portability API to enhance your product's features with Google\ndata. For example, you can enhance the user experience on your fitness app by\nallowing users to port a copy of their YouTube Music playlists so you can make\nbetter music suggestions to go along with a workout plan.\n\n### Enable users to onboard to your service\n\nYou can use the Data Portability API to facilitate users switching from a Google\nproduct or service to your product, or using your product and a Google product\nsimultaneously. For example, porting a copy of Maps data to enable using\nmultiple navigation services.\n\nProcess\n-------\n\nTo use the Data Portability API in your product or service, you'll need to accomplish\nthese tasks:\n\n1. **Check availability** : Ensure the Data Portability API is available to your users' population.\n 1. Verify the Data Portability API is available in your [location](https://support.google.com/accounts/answer/14452558#zippy=%2Ccan-all-users-in-the-countries-listed-above-use-this-feature).\n 2. The Data Portability API does not support access by accounts of users under 18.\n2. **Set up the API** : To begin using the Data Portability API, follow the steps in [Set up the Data Portability API](/data-portability/user-guide/setup), which are:\n 1. Sign up for a Google Developer Account.\n 2. Create your project.\n 3. Enable billing.\n 4. Enable the API.\n3. **Configure OAuth for your application**:\n\n 1. Set up [OAuth](/data-portability/user-guide/configure-oauth).\n 2. Choose applicable Data Portability API [OAuth scopes](/data-portability/user-guide/scopes).\n\n | **Important:** If you select restricted scopes, your product will be subject to an additional security review during verification.\n4. **Develop using the API** : Integrate the Data Portability API into your app\n experience following the steps in [Develop apps using the Data Portability\n API](/data-portability/user-guide/introduction).\n\n5. **Verify your app** : Applications that use the Data Portability API have access to\n Google users' data and therefore are subject to a\n [verification process](https://support.google.com/cloud/answer/13463073) before they can be published. This process\n generally includes:\n\n 1. Verifying your identity\n 2. Providing a copy of your privacy policy\n 3. Describing how you are going to use the data\n 4. Creating a demo video\n\n If you are seeking access to restricted OAuth scopes, the process also\n includes:\n 1. Completing a security assessment.\n\n For more details, see the instructions for\n [submitting your app for verification](https://support.google.com/cloud/answer/13461325) and the full\n [verification requirements](https://support.google.com/cloud/answer/13464321).\n6. **Re-verify your app** : You need to [re-verify](https://support.google.com/cloud/answer/13463073) your application\n annually or if you make changes to the approved app."]]