VOOZH about

URL: https://apify.com/dami_studio/youtube-video-uploader

⇱ YouTube Video Uploader - Auto Upload to Your Channel Β· Apify


Pricing

from $50.00 / 1,000 video uploadeds

Go to Apify Store

YouTube Video Uploader

Uploads a video from a public URL to your own YouTube channel via the Data API (OAuth) or YouTube Studio cookies: sets title, description, tags, privacy, thumbnail, and a scheduled publish time.

Pricing

from $50.00 / 1,000 video uploadeds

Rating

5.0

(1)

Developer

πŸ‘ Dami's Studio

Dami's Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

Uploads a video from a URL to your own YouTube channel using the official YouTube Data API. It sets the title, description, tags, hashtags, privacy, schedule, and an optional custom thumbnail in one run. Built to be the publish step of an automated video pipeline (render somewhere, drop the file on a CDN, point this actor at the URL), but it works fine for one-off scheduled uploads too.

How it works

You give it a public URL to the video file and your Google OAuth credentials. The actor downloads the file to its temp disk, authenticates with your refresh token, and calls youtube.videos.insert (followed by thumbnails.set if you passed a thumbnail). Nothing about your channel is stored beyond the run.

Try it free (sample mode)

Run it without any credentials to get one clearly-labeled _demo sample row showing the exact output shape β€” a free preview, no upload performed and nothing charged. As soon as you supply real OAuth credentials (or YouTube cookies for the browser method) it performs a real upload. You can also force the preview with the demoMode checkbox.

Input

FieldRequiredNotes
videoUrlyesPublic direct URL to the video file (.mp4/.mov). You host it (S3, a CDN, Apify key-value store). It must be reachable without auth.
titleyesYouTube title. Trimmed to 100 characters.
descriptionnoVideo description. Hashtags are appended to the end.
tagsnoUp to 30 tags. Anything past 30 is dropped.
hashtagsnoAppended to the description as #tag. Non-alphanumeric characters are stripped.
privacyStatusnopublic, unlisted, or private. Defaults to private (the actor fails closed β€” it never publishes publicly unless you ask).
publishAtnoISO datetime to auto-publish. YouTube requires the video to be private for scheduling, so if you set publishAt with public/unlisted the actor auto-coerces privacy to private (and logs it) so your schedule actually works.
thumbnailUrlnoPublic URL to a thumbnail image. Custom thumbnails require a verified channel; if the API rejects it the upload still succeeds.
categoryIdnoYouTube category ID. Defaults to 22 (People & Blogs). 24 = Entertainment, 23 = Comedy, 27 = Education.
madeForKidsnoDeclares the video as made for kids (COPPA). Defaults to false.
clientId / clientSecret / refreshTokenyes (for the API method)Your own Google OAuth credentials from Google Cloud Console. The refresh token must carry the youtube.upload scope. Marked secret.

The actor also has a browser method that drives YouTube Studio with exported login cookies. It works locally but tends to hit Google's session anti-fraud on cloud runs, so the API method is the default and the one to use for anything unattended. If you do use it, a residential proxy matching your usual country is strongly recommended.

Output

One dataset record per run. The useful fields are videoId, watchUrl (the youtu.be link), privacyStatus (the privacy YouTube actually stored, read back from the API), requestedPrivacy, privacyOverridden (true if YouTube forced a different privacy β€” usually an unverified project), scheduledFor (null unless you set publishAt), thumbnailSet, and uploadSeconds. ok: true means the insert returned a video ID. A keyless/demoMode run returns a single row flagged _demo: true with a _notice explaining nothing was uploaded.

Example

{
"videoUrl":"https://cdn.example.com/clips/episode-12.mp4",
"title":"How the Roman aqueducts actually worked",
"description":"A short breakdown of gravity-fed water systems.",
"tags":["history","engineering","rome"],
"hashtags":["shorts","history"],
"privacyStatus":"private",
"publishAt":"2026-06-15T14:00:00Z",
"categoryId":"27",
"clientId":"YOUR_CLIENT_ID.apps.googleusercontent.com",
"clientSecret":"YOUR_CLIENT_SECRET",
"refreshToken":"YOUR_REFRESH_TOKEN"
}

Pricing

$0.05 per successful upload. Pay per result, no subscription. Where an AI model is involved you bring your own OpenAI key.

Before your first PUBLIC upload (read this)

Two Google-side requirements catch almost everyone:

  1. Publish your OAuth consent screen. New API projects start in "Testing" mode, where refresh tokens expire after 7 days. Move the consent screen to "In production" so your refresh token keeps working. (If a run fails with "refresh token is expired or revoked", this is why.)
  2. Verify your project to publish public videos. On an UNVERIFIED Google Cloud project, YouTube forces every uploaded video to private regardless of what you request β€” this is the single most common reason a "public" upload shows up as private. Request the YouTube API compliance audit to lift this. This actor reads back the privacy YouTube actually stored and, if it was overridden, sets privacyOverridden: true in the output and logs a warning, so you'll know.
  3. Quota. As of Dec 2025, videos.insert costs ~100 units; the default free quota is ~10,000 units/day, i.e. roughly 100 uploads/day. Heavier use needs a quota increase.

Notes

You need your own Google OAuth credentials. There is no shared app. Create an OAuth client in Google Cloud Console with the YouTube Data API enabled, then generate a refresh token with the youtube.upload scope.

Errors are actionable

Credential and quota problems return a plain-English message naming the fix (expired refresh token, missing channel, quota exhausted, forbidden/missing scope) rather than a raw stack trace. For the browser method, a failed login/step saves a screenshot and the page HTML to the run's key-value store and references them in the error so you can see exactly where it broke.

Browser method (best-effort)

The optional browser method drives YouTube Studio with your exported login cookies instead of the API. It is best-effort: fresh-context logins from cloud/datacenter IPs frequently trip Google's "verify it's you" checkpoint, so prefer the API method for anything unattended. To use it, export your YouTube session (a cookies array or a Playwright storageState) with a "Cookie-Editor" / "Get cookies.txt" extension covering both .youtube.com and .google.com, or via npx playwright codegen --save-storage, and paste it into cookies. A residential proxy matching your usual country is strongly recommended.

You might also like

πŸ”₯Youtube Advanced Search Scraper

aimscrape/youtube-search-video-scraper

Search YouTube and export a clean video list (video URL/ID, title, thumbnail, views text, publish date, duration, channel metadata) using an Apify Actor.

YouTube Channel Scraper

logiover/youtube-channel-scraper

Scrape every YouTube channel video without an API key or login. YouTube Data API alternative; export channel video data to CSV, JSON or Excel.

Youtube Shorts Scraper

pratikdani/youtube-shorts-scraper

Extract YouTube channel data, including subscriber counts, video uploads, descriptions, and associated links. Get a comprehensive view of channel activity and profile information directly from YouTube.

Youtube Profile Scraper

pratikdani/youtube-profile-scraper

Extract YouTube channel data, including subscriber counts, video uploads, descriptions, and associated links. Get a comprehensive view of channel activity and profile information directly from YouTube.

475

1.0

🎬 YouTube Video Details Scraper

scrapeengine/youtube-video-details-scraper

🎬 YouTube Video Details Scraper (youtube-video-details-scraper) extracts full YouTube metadataβ€”title, description, tags, views, likes, comments, duration, upload date, channel info & thumbnails. ⚑ Ideal for SEO, competitor research, analytics & reporting. πŸ”Ž Fast, accurate, API-ready.

Youtube Video Scraper

pratikdani/youtube-video-scraper

Scrapes YouTube, extracting video details like title, description, upload date, and uploader. Useful for market research, content analysis, or building video databases. Handles playlists and channel listings.

YouTube Scraper

jungle_synthesizer/youtube-scraper

Scrape YouTube videos, channels, and metadata without an API key. Search by keyword or scrape a full channel's video catalogue. Returns structured records with video ID, title, description, view count, like count, channel, duration, publish date, and thumbnail URLs.

πŸ‘ User avatar

BowTiedRaccoon

2

Youtube Video Details Scraper

scraper-engine/youtube-video-details-scraper

YouTube Video Details Scraper extracts metadata from public YouTube videos, including title, description, channel name, view count, likes, tags, upload date, and more. Ideal for research, SEO, analytics, or automationβ€”just input video URLs and get structured data effortlessly.

πŸ‘ User avatar

Scraper Engine

58

5.0

🎬 YouTube Video Details Scraper β€” Extract Metadata &...

scrapepilotapi/youtube-video-details-scraper

🎬 YouTube Video Details Scraper pulls rich video metadata from YouTube β€” title, description, tags, channel, views, likes, duration, publish date & thumbnails. πŸ”Ž Ideal for SEO audits, competitor research, content planning & reporting. πŸ“Š CSV/JSON export-ready. πŸš€

Related articles

How to scrape YouTube data: A step-by-step guide
Read more