# YouTube to MP3 Converter

**Use case:** 

Paste YouTube video links and get an MP3 file for each one. The run returns a playable audio file plus a metadata row per track with the title, uploader, duration, view count, file size and a direct download link. Quality settings are ignored for MP3 — every link comes back as audio. Swap in your own links to convert any public YouTube videos.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=pRpeEdMmmQ0",
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://www.youtube.com/watch?v=60ItHLz5WEA",
    "https://www.youtube.com/watch?v=L_jWHffIx5E",
    "https://www.youtube.com/watch?v=RgKAFK5djSk"
  ],
  "quality": "1080",
  "format": "audio",
  "residentialProxyMode": "fallback",
  "proxyCountry": "auto"
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "videoId": {
    "label": "Video ID",
    "format": "text"
  },
  "quality": {
    "label": "Quality",
    "format": "text"
  },
  "format": {
    "label": "Format",
    "format": "text"
  },
  "durationSeconds": {
    "label": "Duration (s)",
    "format": "number"
  },
  "fileSizeBytes": {
    "label": "Size (bytes)",
    "format": "number"
  },
  "proxyCountry": {
    "label": "Country",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "downloadUrl": {
    "label": "Download",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Video Downloader](https://apify.com/solidcode/youtube-video-downloader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/solidcode/youtube-video-downloader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/solidcode/youtube-video-downloader.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
