YouTube API

Embed YouTube videos into your website, search videos, playlist data, playlist items, trending video, and subscription list without any server setup or coding.

Playlist

Make GET request on this endpoint to playlist with required parameters(if any required).

https://v1.nocodeapi.com/<username>/yt/<token>/playlist

- Request Parameters:

ObjectDescription
id[Required] The id parameter specifies a comma-separated list of the YouTube playlist ID(s) for the resource(s) that are being retrieved.
channelId[Optional] This value indicates that the API should only return the specified channel's playlists.
part[Optional] The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include.
maxResults[Optional] The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken[Optional] The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
api_key[Optional] You api key to access this endpoint.

Playlist items

Make GET request on this endpoint to playlist items with required parameters(if any required).

https://v1.nocodeapi.com/<username>/yt/<token>/playlistItems

- Request Parameters:

ObjectDescription
playlistId[Required] The playlistId parameter specifies the unique ID of the playlist for which you want to retrieve playlist items.
maxResults[Optional] The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken[Optional] The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
api_key[Optional] You api key to access this endpoint.

Search

Make GET request on this endpoint to search with required parameters(if any required).

https://v1.nocodeapi.com/<username>/yt/<token>/search

- Request Parameters:

ObjectDescription
q[Required] You string query wants to search.
part[Optional] The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include.
type[Optional] channel, playlist or video
forMine[Optional] The forMine parameter restricts the search to only retrieve videos owned by the authenticated user. (boolean 0 or 1)
channelId[Optional] The channelId parameter indicates that the API response should only contain resources created by the channel.
channelType[Optional] any – Return all channels. or show – Only retrieve shows.
eventType[Optional] completed – Only include completed broadcasts, live – Only include active broadcasts, or upcoming – Only include upcoming broadcasts.
maxResults[Optional] The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken[Optional] The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
publishedAfter[Optional] The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
publishedBefore[Optional] The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
regionCode[Optional] The regionCode parameter instructs the API to return search results for videos that can be viewed in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
safeSearch[Optional] moderate, none, or strict
videoDefinition[Optional] any, high, or standard
videoDimension[Optional] ad, 3d, or any
videoDuration[Optional] any, long, medium, or short
videoLicense[Optional] any, creativeCommon, or youtube
videoType[Optional] any, episode, or movie
api_key[Optional] You api key to access this endpoint.

Videos

Make GET request on this endpoint to videos with required parameters(if any required).

https://v1.nocodeapi.com/<username>/yt/<token>/videos

- Request Parameters:

ObjectDescription
id[Required] The id parameter specifies a comma-separated list of the YouTube video ID(s)

Trending Videos

Make GET request on this endpoint to trending videos with required parameters(if any required).

https://v1.nocodeapi.com/<username>/yt/<token>/trending

- Request Parameters:

ObjectDescription
maxResults[Optional] The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken[Optional] The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
regionCode[Optional] The regionCode parameter instructs the API to return search results for videos that can be viewed in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
videoCategoryId[Optional] The videoCategoryId parameter identifies the video category for which the chart should be retrieved. The default value is 0.

Liked Videos

Make GET request on this endpoint to liked videos with required parameters(if any required).

https://v1.nocodeapi.com/<username>/yt/<token>/likedVieos

- Request Parameters:

ObjectDescription
maxResults[Optional] The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken[Optional] The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

Subscriptions

Make GET request on this endpoint to subscriptions with required parameters(if any required).

https://v1.nocodeapi.com/<username>/yt/<token>/subscriptions

- Request Parameters:

ObjectDescription
type[Optional] mine, mySubscribers
maxResults[Optional] The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
pageToken[Optional] The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
order[Optional] alphabetical, relevance, or unread
NoCodeAPI 3.0 - The easiest way to connect with APIs without code. | Product Hunt