title: Retrieving individual videos view count - Youtube API V3.0 - JavaScript
body: <p>I've been trying to get the view count on videos that I query through the following method:</p>
  
  <pre><code>      function search() {
          var request = gapi.client.youtube.search.list({
               part: 'snippet',
               channelId: 'IRRELEVANT',
               order: 'date',
               maxResults: '25'
  
           });
  
              request.execute(function(response){
                 YoutubeResponse(response);
              });
  </code></pre>
  
  <p>While the documentation tells me that there's a <code>statistics</code> portion to every video, after the <code>snippet</code> I have <code>__proto__</code> which I guess means there was an error somewhere? or did the API change? Essentially I need the view count of those 25 most recent videos...</p>
  
  <p>I tried changing <code>part: 'snippet'</code> to <code>part: 'statistics'</code> but got back a <code>code: -32602</code>...</p>
  
  <p>Thanks for the help,</p>
  
  <p>Cheers!</p>
  
  <p>EDIT: Apparently the <code>search.list</code> doesn't have the "statistics" but rather I need to search every video individually... The thing is, when using googles "Try It" feature (<a href="https://developers.google.com/youtube/v3/docs/videos/list#try-it">https://developers.google.com/youtube/v3/docs/videos/list#try-it</a>) when you ask for the statistics in the "Fields" part at the bottom, it doesn't do anything... So I am VERY confused as to how the heck can I get the view counts &amp; length of all 25 videos (if individually or all at once - preferably-)</p>