# YouTube connector

> Connect YouTube to Windsor.ai: 117 fields in 20 tables, and how to query them or send them to a destination.

The YouTube connector pulls your YouTube data into Windsor.ai. You can query it with one API, send it to a destination, or ask about it in Claude or ChatGPT. Also known as YouTube Studio, YouTube Analytics.

## Connect YouTube

1. Open [YouTube in Windsor.ai](https://onboard.windsor.ai/app/youtube) and sign in.
2. Authorize YouTube, or enter the credentials that the screen asks for.
3. Select the accounts to include.

## Available data

117 fields in 20 tables.

| Table | Fields | Examples |
| --- | --- | --- |
| Video | 30 | Average View Duration, Average View Percentage, Card Click Rate, Card Clicks, Card Impressions |
| Other | 18 | Data fetched at, Data Source, Day of month, Month, Now |
| Data - Video | 16 | Privacy Status, Publish date, Age restriction, Category Id, Video Comment Count |
| Data - Channel | 10 | Account ID, Account Name, Channel Description, Channel ID, Thumbnail |
| Comments | 7 | Comment Author, Comment ID, Comment Like Count, Comment Published At, Comment Reply Count |
| Playlist Analytics | 7 | Average Time In Playlist, Average Time In Playlist (Duplicate), Playlist Estimated Minutes Watched, Playlist Saves, Playlist Starts |
| Audience Retention | 6 | Audience Watch Ratio, Elapsed Video Time Ratio, Relative Retention Performance, Started Watching, Stopped Watching |
| Geography | 5 | City, Continent, Country, Region, Sub-Continent |
| Demographics | 3 | Viewer Age Group, Viewer Gender, Viewer Percentage |
| Channel Analytics | 2 | Subscribers Gained (Channel), Subscribers Lost (Channel) |
| Data - Playlist | 2 | Playlist ID, Playlist Title |
| Device | 2 | Device Type, Operating System |
| Playlist Activity | 2 | Videos Added To Playlists, Videos Removed From Playlists |
| Live Or On Demand | 1 | Live Or On Demand |
| Playback Location | 1 | Playback Location Type |

5 more tables are in the field list.

The full list, with the type and description of each field, is at `https://connectors.windsor.ai/youtube/fields`.

## Query the data

Request fields by their IDs. For example:

```url
https://connectors.windsor.ai/youtube?api_key=YOUR_API_KEY&fields=date,average_view_duration,average_view_percentage&date_preset=last_7d
```

## Write actions

YouTube supports 7 write actions, such as Add Video to Playlist, Delete Comment, Moderate Comment. An AI assistant connected through Windsor MCP can run them after you confirm. See [Write actions](https://windsor.ai/documentation/mcp/write-actions.md) for the full list.

## Next steps

- [Send the data to a destination](https://windsor.ai/documentation/destinations/index.md), such as Looker Studio, Google Sheets or BigQuery.
- [Connect Windsor.ai to Claude or ChatGPT](https://windsor.ai/documentation/mcp/index.md) and ask about your YouTube data.
- [Fix a connection problem](https://windsor.ai/documentation/troubleshooting/index.md).
