Skip to main content
GET
/
v1
/
raw
/
youtube
/
channel
/
{handle}
JavaScript
import Influship from 'influship';

const client = new Influship({
  apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted
});

const response = await client.raw.youtube.getChannel('@techreviews');

console.log(response.data);
{
  "data": {
    "handle": "@FitnessCoachJane",
    "name": "Jane Fitness",
    "description": "<string>",
    "avatar_url": "<string>",
    "subscribers": 250000,
    "videos_count": 120,
    "views_total": 15000000,
    "scraped_at": "2024-01-15T14:30:00Z",
    "videos": [
      {
        "id": "dQw4w9WgXcQ",
        "title": "Full Body Workout | 30 Minutes",
        "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "thumbnail_url": "<string>",
        "published_at": "2024-01-15T14:30:00Z",
        "duration_seconds": 1845,
        "views": 125000,
        "likes": 4500,
        "comments": 320
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

handle
string
required

YouTube channel handle

Minimum string length: 1
Example:

"@techreviews"

Query Parameters

include_videos
boolean

Include recent videos in response

Example:

true

video_limit
integer
default:12

Number of videos to include

Required range: 1 <= x <= 50
Example:

12

Response

Successful response

data
object
required