Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nango.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

πŸš€ Quickstart

Connect to YouTube with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> YouTube.
Nango has credentials you can use for testing. Activate them in the dashboard.
2

Authorize YouTube

Go to Connections -> Add Test Connection -> Authorize, then log in to YouTube. Later, you’ll let your users do the same directly from your app.
3

Call the YouTube API

Let’s make your first request to the YouTube API (fetch channel information). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/youtube/v3/channels?part=snippet&mine=true" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š YouTube Integration Guides

Nango maintained guides for common use cases. Official docs: YouTube API documentation

🧩 Pre-built syncs & actions for YouTube

Enable them in your dashboard. Extend and customize to fit your needs.

Captions

Function nameDescriptionTypeSource code
list-captionsList caption tracks for a YouTube video.ActionπŸ”— Github

Channels

Function nameDescriptionTypeSource code
get-channelRetrieve YouTube channel details by ID, handle, username, or mineActionπŸ”— Github

Comments

Function nameDescriptionTypeSource code
create-comment-replyReply to an existing YouTube commentActionπŸ”— Github
create-commentCreate a top-level comment on a YouTube video or channel thread.ActionπŸ”— Github
delete-commentDelete a YouTube comment by comment IDActionπŸ”— Github
get-commentRetrieve a YouTube comment by comment ID.ActionπŸ”— Github
list-comment-threadsList YouTube comment threads for a video or channel.ActionπŸ”— Github
update-commentUpdate the text of a YouTube comment.ActionπŸ”— Github

Playlists

Function nameDescriptionTypeSource code
add-playlist-itemAdd a video to a YouTube playlistActionπŸ”— Github
create-playlistCreate a YouTube playlist for the authenticated channel.ActionπŸ”— Github
delete-playlist-itemRemove an item from a YouTube playlistActionπŸ”— Github
delete-playlistDelete a YouTube playlist by playlist IDActionπŸ”— Github
get-playlistRetrieve a YouTube playlist by playlist ID.ActionπŸ”— Github
list-channel-playlistsList playlists for a YouTube channelActionπŸ”— Github
list-playlist-itemsList items in a YouTube playlistActionπŸ”— Github
update-playlistUpdate a YouTube playlist’s metadata or privacy stateActionπŸ”— Github

Videos

Function nameDescriptionTypeSource code
delete-videoDelete a YouTube video owned by the authenticated channel.ActionπŸ”— Github
get-videoRetrieve a YouTube video by video IDActionπŸ”— Github
list-uploaded-videosList uploaded videos for a channel using its uploads playlist.ActionπŸ”— Github
update-videoUpdate YouTube video metadata for an owned video.ActionπŸ”— Github

Others

Function nameDescriptionTypeSource code
update-playlist-itemUpdate a playlist item’s metadata or position.ActionπŸ”— Github
caption-tracksSync caption track metadata for YouTube videos in scopeSyncπŸ”— Github
channel-playlistsSync playlists for YouTube channels in scopeSyncπŸ”— Github
channelsSync one or more YouTube channels in scopeSyncπŸ”— Github
comment-threadsSync comment threads for YouTube videos or channels in scopeSyncπŸ”— Github
playlist-itemsSync items from YouTube playlists in scopeSyncπŸ”— Github
uploaded-videosSync uploaded videos for YouTube channels in scopeSyncπŸ”— Github