YouTube Scraper
Get YouTube Channel Videos
Get a YouTube channel's videos, latest or most popular, with title, views, publish date, duration and description.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| sortstring · optional | string | optional | Sort by latest or popular One of: |
| limitnumber · optional | number | optional | Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way. |
| handlestring · optional | string | optional | YouTube channel handle |
| channelIdstring · optional | string | optional | YouTube channel ID |
| includeExtrasstring · optional | string | optional | This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. Honestly, if you use this param, the error rate is higher. We might deprecate this param in the future. |
| continuationTokenstring · optional | string | optional | Continuation token to get more videos. Get 'continuationToken' from previous response. |
| is_paid_promotionsstring · optional | string | optional | Set to 'true' to search YouTube's public paid product placement / sponsorship / endorsement search surface. This returns normal YouTube videos where the creator declared paid promotion. Cannot be combined with filter, uploadDate, sortBy, type, duration, or includeExtras. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"videos": {
"type": "array"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"continuationToken": {
"type": "string"
}
},
"additionalProperties": true
}