BrowserAct Logo
template bg

YouTube Video API

Brief

What is YouTube Video API?

BrowserAct’s YouTube Video API lets you extract structured channel level data plus video detail data from a specific YouTube channel through a single API request. No scripts, no brittle scraping, no manual export.

Simply pass your YouTube_channel_url, choose Video_type (Latest, Popular, or Earliest). BrowserAct automatically runs the workflow in the background, traverses the channel video list, opens each video detail page, and returns clean, ready to use video metrics directly via API.


What data can you get through YouTube Video API?

The API returns structured fields from the channel and each video detail page, designed for immediate monitoring and automation.

Channel fields

  • channel_title: Channel name displayed on the channel page
  • channel_url: Channel URL
  • subscribers: Subscriber count shown on the channel page

Video fields

  • video_title: Video title shown on the video page
  • video_url: Video URL
  • publish_date: Published date or time shown on YouTube
  • view_count: View count shown on YouTube
  • video_duration: Video duration
  • comment_count: Total number of comments (if available)
  • like_count: Like count (if available)


Why YouTube Video API is right for you


  • One call integration

Send channel videos and performance metrics directly into your CRM, BI tools, databases, or automation workflows via API.

  • Zero maintenance

No scraping scripts, no selector babysitting, and no proxy or anti bot setup required.

  • Channel monitoring at scale

Track performance trends, posting cadence, and engagement signals across a full channel without manual checking.

  • Built for workflows

Perfect for competitor tracking, creator research, content ops reporting, and growth analytics.


In short


Channel → API call → Video detail data delivered


API Parameters

Parameter

Description

Default

Supported values (examples)

YouTube_channel_url

Target YouTube channel URL used to load the channel video list

https://www.youtube.com/@BrowserAct

Any valid YouTube channel URL e.g. https://www.youtube.com/@BrowserAct

Video_type

Which ordering mode to use when traversing the channel video list

Popular

Latest, Popular, Earliest

Code to integrate


Click Get code, replace the API key, and run the code directly in your application.


API Key, get from: https://www.browseract.com/reception/integrations
API_KEY = os.getenv("BROWSERACT_API_KEY", "app-abcdefghijklmn")

You only need to replace:

 app-abcdefghijklmn

with your own API key, and the code will run successfully.

You can find your API key in the API & Integrations section of the BrowserAct dashboard.


API Example


Input
YouTube_channel_url: https://www.youtube.com/@BrowserAct
Video_type: Popular


Steps

  1. Click Get the Code
  2. Run the request
  3. Receive structured results via API


API Results


{
"channel_title": "BrowserAct",
"channel_url": "https://www.youtube.com/@BrowserAct",
"subscribers": "278 subscribers",
"video_title": "Build AI Web Scraping Agent in 10 Minutes | BrowserAct + n8n Tutorial 2025",
"video_url": "blob:https://www.youtube.com/e0c20895-8629-4d8c-b94d-53de85aef6d2",
"view_count": "855 views",
"publish_date": "4 months ago",
"video_duration": "10:49",
"comment_count": "2",
"like_count": "11"
},


Create Your Own YouTube Video API

To create your own YouTube Video API, start from a prebuilt template.

  1. Click Create from Template in the top right corner
  2. Complete the setup
  3. You’ll receive a callable workflow_id


Once created, you can use the BrowserAct API to invoke your workflow programmatically and retrieve YouTube channel video detail data directly in your application.



Need help? Contact us at

Discord: Discord Community

E mail: service@browseract.com

What can we do for youWhat can we do for you

FAQ About the template

YouTube Video API | Extract Channel Video Data via API