YouTube ConnectorThe high-performance YouTube Connector provides read/write capabilities within your application, allowing you to perform numerous YouTube operations with minimal coding or even no-coding at all. Integrate YouTube data into applications such as SSIS, SQL Server, any ODBC-compatible application, or even directly within a programming language using this connector. Download for SSIS Download for SQL Server and ODBC Documentation |
Integrate YouTube with these applications
All
Data Integration
Database
BI & Reporting
Productivity
Programming Languages
Automation & Scripting
ODBC applications
Actions supported by YouTube Connector
YouTube Connector support following actions for REST API integration. If some actions are not listed below then you can easily edit Connector file and enhance out of the box functionality.
Get video details
Read videos details by IDs or chart or myRating (pass one of them) [
Read more...
]
Parameter | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ids (up to 25 comma-separated) |
|
||||||||||||||||||||||||||||
chart |
|
||||||||||||||||||||||||||||
myRating |
|
||||||||||||||||||||||||||||
part |
|
||||||||||||||||||||||||||||
hl |
|
||||||||||||||||||||||||||||
maxHeight |
|
||||||||||||||||||||||||||||
maxResults |
|
||||||||||||||||||||||||||||
maxWidth |
|
||||||||||||||||||||||||||||
onBehalfOfContentOwner |
|
||||||||||||||||||||||||||||
regionCode |
|
||||||||||||||||||||||||||||
videoCategoryId |
|
Get videos rating
[
Read more...
]
Parameter | Description |
---|---|
id |
|
onBehalfOfContentOwner |
|
Get playlists
[
Read more...
]
Parameter | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
part |
|
||||||||||||||
id |
|
||||||||||||||
channelId |
|
||||||||||||||
mine |
|
||||||||||||||
hl |
|
||||||||||||||
maxResults |
|
||||||||||||||
onBehalfOfContentOwner |
|
||||||||||||||
onBehalfOfContentOwnerChannel |
|
Get playlist items
[
Read more...
]
Parameter | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
part |
|
||||||||||
id |
|
||||||||||
playlistId |
|
||||||||||
maxResults |
|
||||||||||
onBehalfOfContentOwner |
|
||||||||||
videoId |
|
Get comments
[
Read more...
]
Parameter | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
part |
|
||||||||
allThreadsRelatedToChannelId |
|
||||||||
channelId |
|
||||||||
id |
|
||||||||
videoId |
|
||||||||
maxResults |
|
||||||||
moderationStatus |
|
||||||||
order |
|
||||||||
searchTerms |
|
||||||||
textFormat |
|
Get channels
[
Read more...
]
Parameter | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
part |
|
||||||||||||||||||||||
mine |
|
||||||||||||||||||||||
forUsername |
|
||||||||||||||||||||||
id |
|
||||||||||||||||||||||
managedByMe |
|
||||||||||||||||||||||
hl |
|
||||||||||||||||||||||
maxResults |
|
||||||||||||||||||||||
onBehalfOfContentOwner |
|
Get videos
[
Read more...
]
Parameter | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
forMine (search in my account only) |
|
||||||||||||||
query (search term) |
|
||||||||||||||
channelId |
|
||||||||||||||
channelType |
|
||||||||||||||
eventType |
|
||||||||||||||
location |
|
||||||||||||||
locationRadius |
|
||||||||||||||
maxResults |
|
||||||||||||||
onehalfOfContentOwner |
|
||||||||||||||
order |
|
||||||||||||||
publishedAfter |
|
||||||||||||||
publishedBefore |
|
||||||||||||||
regionCode |
|
||||||||||||||
relevanceLanguage |
|
||||||||||||||
safeSearch |
|
||||||||||||||
topicId |
|
||||||||||||||
videoCaption |
|
||||||||||||||
videoCategoryId |
|
||||||||||||||
videoDefinition |
|
||||||||||||||
videoDimension |
|
||||||||||||||
videoDuration |
|
||||||||||||||
videoEmbeddable |
|
||||||||||||||
videoLicense |
|
||||||||||||||
videoSyndicated |
|
||||||||||||||
videoType |
|
||||||||||||||
forContentOwner |
|
||||||||||||||
forDeveloper |
|
||||||||||||||
relatedToVideoId |
|
Search
[
Read more...
]
Parameter | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
part |
|
||||||||||||||
forMine (search in my account only) |
|
||||||||||||||
query (search term) |
|
||||||||||||||
type |
|
||||||||||||||
channelId |
|
||||||||||||||
channelType |
|
||||||||||||||
eventType |
|
||||||||||||||
location |
|
||||||||||||||
locationRadius |
|
||||||||||||||
maxResults |
|
||||||||||||||
onehalfOfContentOwner |
|
||||||||||||||
order |
|
||||||||||||||
publishedAfter |
|
||||||||||||||
publishedBefore |
|
||||||||||||||
regionCode |
|
||||||||||||||
relevanceLanguage |
|
||||||||||||||
safeSearch |
|
||||||||||||||
topicId |
|
||||||||||||||
videoCaption |
|
||||||||||||||
videoCategoryId |
|
||||||||||||||
videoDefinition |
|
||||||||||||||
videoDimension |
|
||||||||||||||
videoDuration |
|
||||||||||||||
videoEmbeddable |
|
||||||||||||||
videoLicense |
|
||||||||||||||
videoSyndicated |
|
||||||||||||||
videoType |
|
||||||||||||||
forContentOwner |
|
||||||||||||||
forDeveloper |
|
||||||||||||||
relatedToVideoId |
|
Get report
[
Read more...
]
Parameter | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ids |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
metrics |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Start Date (yyyy-MM-dd) |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
End Date (yyyy-MM-dd) |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
currency |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dimensions |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
filters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
includeHistoricalChannelData |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
maxResults |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sort |
|
Generic Request
This is generic endpoint. Use this endpoint when some actions are not implemented by connector. Just enter partial URL (Required), Body, Method, Header etc. Most parameters are optional except URL. [
Read more...
]
Parameter | Description | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Url |
|
||||||||||||||||||||||||||
Body |
|
||||||||||||||||||||||||||
IsMultiPart |
|
||||||||||||||||||||||||||
Filter |
|
||||||||||||||||||||||||||
Headers |
|
Generic Request (Bulk Write)
This is a generic endpoint for bulk write purpose. Use this endpoint when some actions are not implemented by connector. Just enter partial URL (Required), Body, Method, Header etc. Most parameters are optional except URL. [
Read more...
]
Parameter | Description |
---|---|
Url |
|
IsMultiPart |
|
Filter |
|
Headers |
|
SQL examples for YouTube Connector
Use these example YouTube SQL queries within SQL Server or any other ODBC-compatible application:
Get videos of my account [ Read more... ]
SELECT * FROM MyVideos
Get channels of my account [ Read more... ]
SELECT * FROM MyChannels
Get playlists of my account [ Read more... ]
SELECT * FROM MyPlaylists
Get comments of a video [ Read more... ]
SELECT * FROM get_comments WITH (videoId='INPUT_YOUR_VIDEO_ID')
Get comments of a channel [ Read more... ]
SELECT * FROM get_comments WITH (channelId='INPUT_YOUR_CHANNEL_ID')
Get my playlists of my account [ Read more... ]
SELECT * FROM MyPlaylists
Get my playlists of specific channel [ Read more... ]
SELECT * FROM get_playlists WITH (channelId='UCVGOyzms_XJNk_DHqrffXCw')
Search for videos in whole YouTube [ Read more... ]
SELECT * FROM search WITH (q='ZappySys Tutorials', maxResults='50')
Search for videos in a channel [ Read more... ]
SELECT * FROM search WITH (q='GPU', maxResults='50', channelId='UCXuqSBlHAE6Xw-yeJA0Tunw')
Get channels by ids [ Read more... ]
SELECT *
FROM get_channels
WITH(
id='UC2d5diIOoCEa47p4PjpIHya,AC2d5diIOoCEa47p4PjpIHyQ,TC2d5diIOoCEa47p4PjpIHyI'
)
Gets a report of specific channel [ Read more... ]
SELECT *
FROM get_report
WITH(
ids='channel==ENTER_CHANNEL_ID'
, metrics='likes~shares~views'
, startDate='2022-08-01'
, endDate='2022-08-30'
)
Gets a report of my channel with relative date [ Read more... ]
SELECT *
FROM get_report
WITH(
ids='channel==MINE'
, metrics='likes~shares~views'
, startDate='yearstart' --OR put date like '2022-08-01'
, endDate='today' --OR put date like '2022-08-01'
, dimensions='country'
)