Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
curl --request POST \
--url https://backend.clipvision.ai/youtube/analyzer/insights \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"access_token": "<string>",
"channel_id": "<string>",
"max_results": 123,
"time_range": 123
}'{
"insights": {
"channel_id": "<string>",
"likes_data": {
"title": "Likes",
"data": [
{
"date": "<string>",
"param1": 123,
"value": 123
}
]
},
"popular_video_data": {
"id": "<string>",
"title": "<string>",
"thumbnail": "<string>",
"url": "<string>",
"publish_date": "<string>",
"views": 123
},
"views_data": {
"title": "Views",
"data": [
{
"date": "<string>",
"param1": 123,
"value": 123
}
]
},
"subscribers_data": {
"title": "Subscribers",
"data": [
{
"date": "2023-12-25",
"param1": 123,
"param2": 123,
"value": 123
}
]
}
},
"error": "<string>"
}This endpoint retrieves the insights for a YouTube channel
curl --request POST \
--url https://backend.clipvision.ai/youtube/analyzer/insights \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"access_token": "<string>",
"channel_id": "<string>",
"max_results": 123,
"time_range": 123
}'{
"insights": {
"channel_id": "<string>",
"likes_data": {
"title": "Likes",
"data": [
{
"date": "<string>",
"param1": 123,
"value": 123
}
]
},
"popular_video_data": {
"id": "<string>",
"title": "<string>",
"thumbnail": "<string>",
"url": "<string>",
"publish_date": "<string>",
"views": 123
},
"views_data": {
"title": "Views",
"data": [
{
"date": "<string>",
"param1": 123,
"value": 123
}
]
},
"subscribers_data": {
"title": "Subscribers",
"data": [
{
"date": "2023-12-25",
"param1": 123,
"param2": 123,
"value": 123
}
]
}
},
"error": "<string>"
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.