2

How does Socialblade generate the live subscriber count with the youtube api?

It updates every second for each channel. Wouldn't that easily exceed the rate limit?

From their app store description, they state they're pulling from the youtube api:

View your favorite YouTubers live sub counter 
and get real-time updates every second direct from YouTube's API. 
No more having to wait hours for the number on your channel to update!
loop
  • 1,455
  • 3
  • 13
  • 25

1 Answers1

1

It doesn't exceed their ratelimit.

It has a quota cost of 1 point. You can use 30,000 quota units/second/user and 1,000,000 per day. 50M if your application was made before April 20, 2016.

Cole
  • 431
  • 3
  • 15
  • 1
    But they're doing this for thousands of channels. With 50M daily quota at 1 point per second, you could only do this for 578 users. `50000000/86400=578` 86400 is seconds in a day for one channel. – loop May 17 '18 at 07:35
  • @loop I highly doubt SocialBlade needs to worry about 578 concurrent users that stay for 24 hours. Most people on there are there for a few minutes at most. – Cole May 18 '18 at 02:17
  • @loop ! What is/are the endpoint they are using to grab this info? Are all these data available for free? – IgorAlves Feb 24 '19 at 04:15