So previously i was getting a youtube channel subscriber count with youtube data api v2.
I used the following (I am using TED channel for demo purposes)
<
Use it like this:
https://www.googleapis.com/youtube/v3/channels?part=statistics&id=channel_id&key=your_key
You can try your API request here: https://developers.google.com/youtube/v3/docs/channels/list#try-it