youtube

YouTube channel videos

Get a page of a YouTube channel's videos or Shorts by channel ID or handle, newest or most viewed first: title, description, time published, views, likes, length.

Price: $0.002 per call.

Give exactly one of id, username.

30 items on a usual page, 60 at most. A cursor is valid for 3600 seconds.

With id, type=video, sort=latest: without metrics.comments.

With id, type=video, sort=popular: without metrics.comments.

With id, type=short, sort=latest: no next page; without author.

With id, type=short, sort=popular: no next page; without author.

With username, type=video, sort=latest: without metrics.comments.

With username, type=video, sort=popular: without metrics.comments.

With username, type=short, sort=latest: no next page; without author.

With username, type=short, sort=popular: no next page; without author.

A channel that does not exist cannot be told from a channel without such videos: both return an empty result, not a 404.

get/v1/youtube/channels/videos/list

Request

  • Base URL
    https://api.dataxapi.com
  • Auth
    HTTP bearer

Query parameters

idstring

Channel ID, starting with UC

usernamestring

The channel's handle, without the @

type'video' | 'short'

Regular videos, or Shorts

sort'latest' | 'popular'

Newest first, or most viewed first

cursorstring

The next_cursor of the previous page. A new page is a new call.

view'compact' | 'standard' | 'full'

How much of each item: compact (the most used fields, long text cut short), standard, or full (adds ext).

fieldsstring[]

Return only these fields of each item, by path (author.name).

Response

OK

code'ok' required
request_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.