YouTube Content ID API - Client Libraries
Stay organized with collections
Save and categorize content based on your preferences.
Note:The YouTube Content ID API is intended for use by YouTube content partners and is not accessible to all developers or to all YouTube users. If you do not see the YouTube Content ID API as one of the services listed in the Google API Console
, see the YouTube Help Center
to learn more about the YouTube Partner Program.
Google API client libraries, which are available for many programming languages, can greatly simplify your YouTube Content ID API implementation.
In the following tables, the first column shows each library's stage of development (note that
some are in early stages), and links to documentation for the library. The second column links to
available samples for each library.
These early-stage libraries are also available:
It's recommended to use the client libraries from above, but for PHP there are also pre-generated API bindings available here
.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe YouTube Content ID API is exclusively for YouTube content partners and is not available to all developers or users, and you can check your eligibility through the Google API Console or the YouTube Help Center.\u003c/p\u003e\n"],["\u003cp\u003eGoogle API client libraries can simplify the implementation of the YouTube Content ID API and are available for several programming languages, including Java, JavaScript, .NET, Objective-C, PHP, and Python.\u003c/p\u003e\n"],["\u003cp\u003eEach client library has corresponding documentation and samples available, providing examples of usage and implementation to aid developers.\u003c/p\u003e\n"],["\u003cp\u003eIn addition to the client libraries listed, there are also early-stage libraries available for Dart, Go, Node.js, and Ruby, each with their respective documentation and samples.\u003c/p\u003e\n"],["\u003cp\u003eFor PHP developers, pre-generated API bindings are available as an alternative to the Google API client library.\u003c/p\u003e\n"]]],["The YouTube Content ID API, accessible only to YouTube content partners, can be implemented using Google API client libraries. These libraries, available for languages like Java, JavaScript, .NET, Objective-C, PHP, and Python, simplify the process. Documentation and code samples are provided for each library. Additionally, early-stage libraries for Dart, Go, Node.js, and Ruby are available, alongside pre-generated API bindings for PHP. Each link to documentation is linked to samples as well.\n"],null,["# YouTube Content ID API - Client Libraries\n\n**Note:** The YouTube Content ID API is intended for use by YouTube content partners and is not accessible to all developers or to all YouTube users. If you do not see the YouTube Content ID API as one of the services listed in the [Google API Console](https://console.cloud.google.com/), see the [YouTube Help Center](https://support.google.com/youtube/answer/72851) to learn more about the YouTube Partner Program.\n\nGoogle API client libraries, which are available for many programming languages, can greatly simplify your YouTube Content ID API implementation.\n\nIn the following tables, the first column shows each library's stage of development (note that\nsome are in early stages), and links to documentation for the library. The second column links to\navailable samples for each library.\n\n| Documentation | Samples |\n| [Google API Client Library for Java](https://developers.google.com/api-client-library/java/) | [Java samples](/api-client-library/java/apis) |\n| [Google API Client Library for JavaScript](/api-client-library/javascript/start/start-js) | [JavaScript samples](/api-client-library/javascript/samples/samples) |\n| [Google API Client Library for .NET](/api-client-library/dotnet/get_started) | [.NET samples](/api-client-library/dotnet/apis) |\n| [Google API Client Library for Objective-C for REST](https://github.com/google/google-api-objectivec-client-for-rest) | [Objective-C samples](https://github.com/google/google-api-objectivec-client-for-rest/tree/master/Examples) |\n| [Google API Client Library for PHP ()](/api-client-library/php) | [PHP samples](https://github.com/google/google-api-php-client/tree/master/examples) |\n| [Google API Client Library for Python (v1/v2)](/api-client-library/python) | [Python samples](https://github.com/google/google-api-python-client/tree/master/samples) |\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n\nThese early-stage libraries are also available:\n\n| Documentation | Samples |\n| [Google APIs Client Libraries for Dart (beta)](https://pub.dartlang.org/packages/googleapis) | [Dart samples](https://github.com/dart-lang/googleapis_examples) |\n| [Google API Client Library for Go ()](https://github.com/google/google-api-go-client) | [Go samples](https://github.com/google/google-api-go-client/tree/master/examples) |\n| [Google API Client Library for Node.js (alpha)](https://github.com/google/google-api-nodejs-client/) | [Node.js samples](https://github.com/google/google-api-nodejs-client/tree/master/samples) |\n| [Google API Client Library for Ruby (alpha)](/api-client-library/ruby/start/get_started) | [Ruby samples](https://github.com/google/google-api-ruby-client-samples) |\n|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n\nIt's recommended to use the client libraries from above, but for PHP there are also pre-generated API bindings available [here](/static/youtube/partner/clientlib/google-youtubePartner-v1-rev20220511-php-1.1.4.zip)."]]