YouTube has 3 different APIs (Data, Analytics & Reporting) which together can allow you to create applications that help create video, or facilitate video sharing, or gather meaningful metrics around those activities. You can use the YouTube API to gather metrics automatically, or to add YouTube metrics 3rd party systems, applications and processes.