Get YouTube channel summary
curl --request GET \
--url https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/summary \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/summary"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"handle": "<string>",
"subscriber_count": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"video_count": 123,
"view_count": 123
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}YouTube
Get YouTube channel summary
GET
/
platforms
/
youtube
/
accounts
/
{id}
/
summary
Get YouTube channel summary
curl --request GET \
--url https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/summary \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/youtube/accounts/{id}/summary"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"handle": "<string>",
"subscriber_count": 123,
"thumbnail_url": "<string>",
"title": "<string>",
"video_count": 123,
"view_count": 123
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}