Engineering and Developers Blog
What's happening with engineering and developers at YouTube
Find the hidden patterns with YouTube’s new Analytics API
Friday, May 10, 2013
Trying to figure out how YouTube’s
one billion monthly users
are interacting with your videos? Try the
new YouTube Analytics API
to get custom reports of the YouTube statistics you care about in a direct JSON or CSV response, perfect for dashboards and ad hoc reports.
The new API includes all the standard
view
and
engagement
metrics you would expect, including views, shares, and subscriber numbers. Compared to the previous
Insight Data API
, you also get:
Watch metrics
: Track estimated minutes watched across channel, content owner, or video, and dive into the video details with average view time and average view percentage.
Earning performance metrics
: Track estimated earnings (net revenue) from select advertising sources across your content.
Ad performance metrics
: Break down video performance with monetized playbacks, ad impressions, gross revenue, and cost per impression reports.
Annotation metrics
: Optimize overlays/annotations with click through and close rate metrics.
Client Libraries and Code Samples
You’ll find
client libraries
for the languages you use most, with nine different languages available today. You can also make HTTP RESTful requests directly, and with our
API Explorer
, you can try out sample reports before writing any code.
Don’t write your code from scratch! Get started with
code examples
in Java, JavaScript, Python, and Ruby. If you want a step-by-step walkthrough of building a complete web application, have a look at our
JavaScript exercise
.
App Examples
Check out some apps that are already using the API:
Next Big Sound
VidIQ
Next Big Sound
provides analytics and insights for the music industry by tracking billions of social signals including YouTube. This enables record labels, artists, and band managers to make better decisions on everything from promotion strategies to tour locations.
vidIQ
is an audience development suite that works with global brands to organically grow their views and subscribers. Their features include cross-platform social analytics, advanced comment management, SEO tools, social syndication and influencer identification.
Wizdeo
Vidyard
Wizdeo’s WizTracker
provides in-depth analysis of YouTube channels to help with cross promotion and video comparisons during their initial launch. Users get access to detailed analytics about views, subscriber engagement, traffic sources and demographics.
Vidyard
is a video marketing platform. With powerful analytics, built-in marketing tools, and integration with key marketing automation platforms, Vidyard helps marketers drive results with video content.
Fullscreen
Fullscreen
is building a global network of YouTube channels with content creators and brands. Fullscreen provides a full suite of end-to-end YouTube tools and uses the new API for internal, business-intelligence tools.
Learn More
In addition to the
documentation
, check out our Analytics API
playlist
to make getting started even easier.
If your goal is to export all statistics for a large number of channels on a recurring basis for your data warehouse, look forward to using the upcoming scheduled reports feature of the API, expected to launch later this year.
To get more info on the YouTube APIs, subscribe to our
YouTube for Developers’ channel
and
YouTubeDev
on Google+.
Cheers,
--
Ted Hamilton
,
Christoph Schwab-Ganser
, and the YouTube Analytics API Team
Labels
.net
acceleration
access control
accessibility
actionscript
activities
activity
android
announcements
apis
app engine
appengine
apps script
as2
as3
atom
authentication
authorization
authsub
best practices
blackops
bootcamp
captions
categories
channels
charts
chrome
chromeless
client library
clientlibraries
clientlogin
code
color
comments
compositing
create
curation
custom player
decommission
default
deprecation
devs
direct
discovery
docs
Documentation RSS
dotnet
education
embed
embedding
events
extension
feeds
flash
format
friendactivity
friends
fun
gears
google developers live
google group
googlegamedev
googleio
html5
https
iframe
insight
io12
io2011
ios
iphone
irc
issue tracker
java
javascript
json
json-c
jsonc
knight
legacy
Live Streaming API
LiveBroadcasts API
logo
machine learning
mashups
media:keywords keywords tags metadata
metadata
mobile
mozilla
NAB 2016
news
oauth
oauth2
office hours
open source
partial
partial response
partial update
partners
patch
php
player
playlists
policy
previews
pubsubhubbub
push
python
quota
rails
releases
rendering
reports
responses
resumable
ruby
samples
sandbox
shortform
ssl https certificate staging stage
stack overflow
stage video
staging
standard feeds
storify
storyful
subscription
sup
survey
tdd
theme
tos
tutorials
updates
uploads
v2
v3
video
video files
video transcoding
virtual reality
voting
watch history
watchlater
webvtt
youtube
youtube api
youtube developers live
youtube direct
YouTube live
YouTube Reporting API
ytd
Archive
2016
Aug
May
Apr
2015
Dec
Nov
Oct
May
Apr
Mar
Jan
2014
Oct
Sep
Aug
May
Mar
2013
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2012
Dec
Nov
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2007
Dec
Nov
Aug
Jun
May
Feed
YouTube
on
Follow @youtubedev