Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get historical youtube subscriber information?

Tags:

Currently I am retrieving daily subscriber information with the following request:

var videoOptions = {
        'part': 'snippet,contentDetails,statistics',
        'id': videoIds
    };

    // Send request
    youtube.videos.list(videoOptions, (err, videoDetails) => {});

My question is there a way to get historical subscriber information either through the Data API or Analytics API?

I see there is a way to see subs gained or lost over a period of time but I don't know what the base is to compare against:

https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3D{channelID}&start-date=2017-07-31&end-date=2017-08-01&&metrics=subscribersLost%2CsubscribersGained
like image 485
mortey Avatar asked Aug 08 '17 21:08

mortey


1 Answers

There is currently no way to retrieve the historical number of subscribers in the past. The only way you can track your subscriber change is to perform channels.list, setting mySubscribers property to true and do it the next day. No method to check for history. This is also confirmed in this SO post.

like image 195
ReyAnthonyRenacia Avatar answered Oct 11 '22 12:10

ReyAnthonyRenacia