YouTube API
Channel About
Get channel description, links, and stats.
POST
$0.01/call/v1/youtube/channel-aboutUsage
const res = await fetch('https://api.yepapi.com/v1/youtube/channel-about', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ id: 'UCAuUUnT6oDeKwE6v1NGQxug' }),
});
const { data } = await res.json();
console.log(data.description, data.subscriberCount);curl -X POST https://api.yepapi.com/v1/youtube/channel-about \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "UCAuUUnT6oDeKwE6v1NGQxug"}'Request Body
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
id | string | Yes | YouTube channel ID | — |
geo | string | No | Country code for geo-specific results | — |
lang | string | No | Language code | — |
Response
{
"ok": true,
"data": {
"description": "TED is a nonprofit devoted to spreading ideas...",
"country": "United States",
"subscriberCount": "24.5M",
"viewCount": "10B",
"joinedDate": "2006-06-27",
"links": [
{
"title": "Official site",
"url": "https://ted.com"
}
]
}
}Response Fields
| Field | Type | Description |
|---|---|---|
ok | boolean | Whether the request succeeded |
data.description | string | Full channel description text |
data.country | string | Country where the channel is based |
data.subscriberCount | string | Formatted subscriber count (e.g. 24.5M) |
data.viewCount | string | Total channel view count (e.g. 10B) |
data.joinedDate | string | Date the channel was created in YYYY-MM-DD format |
data.links | object[] | External links listed on the channel |
data.links[].title | string | Link display title (e.g. Official site) |
data.links[].url | string | External URL |