API Reference
Google provides several tools to help you develop applications that retrieve YouTube Analytics data.
- Applications should use the YouTube Reporting API if they retrieve data and store it in a data warehouse, then provide tools to filter, sort, and mine that data.
- Applications should use the YouTube Analytics API to retrieve customized reports from YouTube in response to user interaction.
Tools |
APIs Explorer |
You can use the APIs Explorer to test and debug API queries. The tool enables you to authorize requests and see API responses.
- For bulk reports, some API responses specify URLs from which you can retrieve the actual reports.
- For targeted query reports, API responses contain actual YouTube Analytics data.
|
Client libraries |
Google API client libraries, which are available for many programming languages, can greatly simplify your API implementation. In addition, the Samples section of the documentation provides a number of code samples that use the client libraries to retrieve YouTube Analytics data.
The links below point to documentation for Google API client libraries:
|
Code samples |
The youtube/api-samples GitHub repository contains all of the code samples accessible via the Samples tab. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-20 UTC.
[null,null,["Last updated 2023-12-20 UTC."],[[["Google offers tools to facilitate the development of applications that access YouTube Analytics data."],["The YouTube Reporting API is designed for applications that store and analyze large amounts of data."],["The YouTube Analytics API is for applications retrieving customized reports from YouTube in response to user actions."],["The APIs Explorer allows users to test, debug API queries, authorize requests, and view API responses."],["Google API client libraries and code samples simplify API implementation, available for various languages like Go, Java, JavaScript, .NET, PHP, Python, and Ruby."]]],[]]