YouTube Video & MP3 Downloader avatar

YouTube Video & MP3 Downloader

Pricing

from $1.99 / 1,000 result items

Go to Apify Store
YouTube Video & MP3 Downloader

YouTube Video & MP3 Downloader

Extract direct download URLs for YouTube videos and audio tracks. Get video (MP4) and audio (WebM/AAC) download links that expire in ~6 hours.

Pricing

from $1.99 / 1,000 result items

Rating

0.0

(0)

Developer

Gitlab

Gitlab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

What does YouTube Video & MP3 Downloader do?

Extract direct download URLs for YouTube videos and audio tracks. Get video (MP4) and audio (WebM/AAC) download links that expire in ~6 hours. The target website is youtube.com.

The Actor follows the options exposed in its input schema and writes structured records to its default dataset. Results depend on the source response, access permissions, and the fields made available by the source; a run may return fewer items than requested.

Why use YouTube Video & MP3 Downloader?

Use this Actor to turn source-visible information into a repeatable dataset. Apify provides run logs and monitoring, scheduling, API access, and integrations. If this Actor exposes a proxy input, you can configure Apify Proxy there; proxy use does not guarantee access to restricted sources.

Common use cases include:

  • Collect media metadata for research.
  • Organize video, audio, or channel records.
  • Monitor public catalog changes over repeated runs.
  • Limit the amount of work per run with the maxItems input.
  • Inspect documented output fields such as videoId, title, url, channelName.

What data can it extract?

FieldTypeDescription
videoId (Video Id)stringVideo Id returned by the source.
title (Title)stringTitle returned by the source.
url (URL)stringUrl returned by the source.
channelName (Channel Name)stringChannel Name returned by the source.
duration (Duration)integerDuration returned by the source.
isAvailable (Available)booleanIs Available returned by the source.
status (Status)stringStatus returned by the source.
bestVideoUrl (Best Video Url (URL))stringBest Video Url returned by the source.
bestVideoQuality (Best Quality)stringBest Video Quality returned by the source.
muxFormatsCount (Video Formats)integerMux Formats Count returned by the source.
audioFormatsCount (Audio Formats)integerAudio Formats Count returned by the source.
allVideoFormats (All Video Formats)arrayAll Video Formats returned by the source.

The schema contains 16 fields. This table highlights the first 12; see the Output tab for the complete list.

How to use YouTube Video & MP3 Downloader

  1. Open the Input tab and choose one of the configured query, URL, ID, or mode options.
  2. Review required fields and keep defaults unless your use case needs different settings.
  3. Set the result limit if a maxItems field is available; start with a small run.
  4. Start the run and inspect its log and dataset. If the source is unavailable or requires authentication, review the run error rather than assuming the results are complete.
  5. Download the dataset as JSON, HTML, CSV, or Excel, or use the API tab for an automated workflow.

How much does it cost?

Check the Actor’s current pricing panel in Apify Console before starting a run. That panel is authoritative for any pay-per-event charge, including a default-dataset-item event. Compute, storage, and optional proxy usage may also affect total costs. This README does not assert a live price or monetization state.

Input

See the input tab for the full configuration options. Required fields are marked below; defaults and prefilled examples come from the local input schema.

FieldTypeDefault / prefillRequiredDescription
videoUrls (Video URLs)array["https://www.youtube.com/watch?v=jNQXAC9IVRw"]YesList of YouTube video URLs to extract download links from.
qualityPreference (Quality Preference)string (best, worst, hd, audio)bestNoVideo quality preference: 'best' for highest quality, 'worst' for lowest, 'hd' for HD, 'audio' for audio only.
maxItems (Max Items)integer10NoMaximum number of videos to process.

Example input (illustrative; verify required fields in the Input tab):

{
"videoUrls": [
"https://www.youtube.com/watch?v=jNQXAC9IVRw"
],
"maxItems": 10,
"qualityPreference": "best"
}

Output

The Actor writes records to its default dataset. You can download dataset results in formats such as JSON, HTML, CSV, or Excel. The examples below are illustrative placeholders based on the output schema, not live records.

FieldDescription
videoIdVideo Id returned by the source.
titleTitle returned by the source.
urlUrl returned by the source.
channelNameChannel Name returned by the source.
durationDuration returned by the source.
isAvailableIs Available returned by the source.
statusStatus returned by the source.
bestVideoUrlBest Video Url returned by the source.
bestVideoQualityBest Video Quality returned by the source.
muxFormatsCountMux Formats Count returned by the source.
audioFormatsCountAudio Formats Count returned by the source.
allVideoFormatsAll Video Formats returned by the source.
[
{
"title": "Example source value 1",
"url": "https://www.youtube.com/example-1",
"sourceUrl": "https://www.youtube.com/example-1",
"scrapedAt": "2026-01-01T00:00:00.000Z",
"videoId": "example-1"
},
{
"title": "Example source value 2",
"url": "https://www.youtube.com/example-2",
"sourceUrl": "https://www.youtube.com/example-2",
"scrapedAt": "2026-01-01T00:00:00.000Z",
"videoId": "example-2"
}
]

Tips and limitations

  • Start with a low result limit and inspect the run log before increasing the workload.
  • Confirm that supplied URLs belong to the source expected by this Actor. Source layouts and access policies can change.
  • If no records are returned, check input values, source availability, and run logs. Do not bypass login pages, CAPTCHAs, or other access controls.

Can I automate this Actor?

Yes. Open the API tab on the Actor page for the current endpoint and example requests. Apify also supports scheduling and integrations for repeatable workflows.

Why might a run return fewer results than requested?

The source may have fewer matching records, unavailable pages, changing markup, or access restrictions. Review the run log and any source URLs included in the dataset.

Is the data suitable for every purpose?

Use the Actor only for lawful purposes and in accordance with the target website’s terms and applicable privacy rules. Results may contain personal data or other restricted information; assess your legal basis and retention duties before use. Do not use the Actor to bypass authentication, CAPTCHAs, or access controls.

For feedback or bug reports, use the Issues tab on the Actor page. Include a reproducible input example without credentials or other secrets.

Before using results downstream, validate records against your use case and save the input used for each run. Source-visible fields can vary by query, region, page type, and time. Repeated runs represent what the source returned at that moment.