Connect your data to Claude in 1 minute. No code needed Try it now

Connect YouTube to Supabase

Send YouTube channel detailed statistics, channel statistics by content and subscriber type, channel subscribers and 4 more report types to Supabase on a schedule. Choose metrics and dimensions, filter by date and narrow it down by insight traffic source type. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

Supabase schema youtube
  • channel_detailed_statistics
  • channel_statistics_by_content_and_subscriber_type
  • channel_subscribers
  • video_detailed_statistics
  • video_statistics_by_content_and_subscriber_type
  • 2 more report types
Each YouTube report type lands in its own table. You pick the schema and table names.
Trusted by 200K+ users worldwide
Spotify
fifty-five
Al Jazeera
InPost
Visma
REHAU
Getir
Printify
Macromill
Stanford
Médecins Sans Frontières
Greenpeace
Save the Children
San Diego FC

How to connect YouTube and Supabase

8 steps. You can preview the YouTube data in Coupler.io before anything reaches Supabase.

Step 1 of 8

Connect YouTube

Sign in to YouTube and authorize Coupler.io. There's no API key to copy.

Sign in with YouTube

Step 2 of 8

Choose what to export

Pick the YouTube data you want in Supabase.

ChannelsNot setChoose channels for your report.

Step 3 of 8

Set the report period

Choose the date range the report covers.

Start dateAny dateSpecify the start date of the period that should be covered in your report.
End dateAny dateSpecify the end date of the period that should be covered in your report.
Split data by periodNot setChoose how you want to see your statistics - split by day or month.

Step 4 of 8

Pick metrics and dimensions

Choose what to measure and how to break it down.

MetricsNot setSelect a value for “metrics”, e.g. “Annotation click through rate”, “Annotation clickable impressions”, “Annotation clicks”.
DimensionsNot setSelect a value for “dimensions”, e.g. “Age”, “City”, “Country”.
Additional dimensionsNot setSelect one or more values for “additional dimensions”, e.g. “Creator content type”, “Subscribed status”, “Video”, “Live or on demand”.

Step 5 of 8

Sorting options

Sorting columnNot set

Step 6 of 8

Fine-tune the export

Optional settings for this YouTube export.

Video IDNot setIn order to analyze audience retention you must specify specific video id you want to analyze.
Insight traffic source typeNot setThe ‘Insight traffic source detail’ dimension requires filtering report by the insight traffic source type.

Step 7 of 8

Connect Supabase

Enter the connection details from your Supabase project's Connect panel, then the schema and table for the YouTube data.

Hostaws-0-eu-central-1.pooler.supabase.comSession pooler host from the Supabase Connect panel
Port5432Default is 5432
DatabasepostgresUsually postgres
Tablechannel_detailed_statisticsCreated automatically on the first run
Show 3 more fields Show fewer fields
Userpostgres.abcdefghijklmnopPooler user looks like postgres.[project-ref]
Password••••••••••••Database password, not an API key
SchemayoutubeA dedicated schema keeps it out of the Data API

Step 8 of 8

Choose a write mode and schedule

Every run either replaces or appends the data in Supabase. Run it as often as every 15 minutes.

Write mode

Each run deletes the existing rows in channel_detailed_statistics and loads fresh YouTube data.

Get the most of YouTube to Supabase integration

Gather data icon

Gather data

Export data from numerous apps and sources into a single destination. Blend data from different apps to get a single source of truth.
Understand data icon

Understand data

Preview, transform, sort, and filter data for better clarity in just a few clicks in the Coupler.io interface. Take your data analytics to the next level.
Automate data icon

Automate data

Access data that is always up to date by enabling the automatic data refresh on a schedule as often as every 15 minutes and using triggered automation.
Act on data icon

Act on data

Visualize your data by quickly connecting to data visualization and BI tools. Build insightful dashboards in a breeze and make better decisions.
YouTube to Supabase questions

7 report types, including Channel detailed statistics, Channel statistics by content and subscriber type, Channel subscribers, Video detailed statistics and Video statistics by content and subscriber type.

You sign in to YouTube and authorize Coupler.io. There's no API key to copy.

Yes. Set the start date and end date to cover the period you need. Splitting the data by period is available too.

Yes. Pick from 41 metrics and 23 dimensions.

Yes. Available filters include insight traffic source type.

Yes. On the first successful run, Coupler.io creates the youtube schema and the channel_detailed_statistics table if the database user has the privileges to do so, and detects column types from the YouTube data.

Its writes aren't governed by RLS policies, and the tables it creates have RLS turned off. Keep YouTube data in a schema your app doesn't expose through the Data API.

On a schedule you choose, from monthly down to every 15 minutes, depending on your Coupler.io plan.

Yes. Add more sources to the same data flow, for example GoHighLevel or Google Ads, and join or append them before the data reaches Supabase.

High five for scrolling till the very end!
See you in the app!