# Spotify Tracks/Music Downloader - ⚡ Fast Mode (`scrapearchitect/spotify-tracks-music-downloader-fast`)

🎧 Spotify Tracks/Music Downloader 🎶 ⚡ Blazing-fast Spotify music downloader. Supports track URLs & keyword search. Prioritizes speed over accuracy — ideal for bots, testing, and quick scrapes.

- **URL**: https://beta-securitybyobscurity.apify.com/scrapearchitect/spotify-tracks-music-downloader-fast.md
- **Developed by:** [Scrape Architect](https://beta-securitybyobscurity.apify.com/scrapearchitect) (community)
- **Categories:** Automation, Social media, Integrations
- **Stats:** 17 total users, 2 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

***

## ⚡ Spotify Tracks/Music Downloader – Fast Mode Actor – Speed Over Accuracy 🚀

### 🏎️ Overview

Need to **download Spotify tracks lightning-fast**? You’ve found the right tool!

The **Spotify Music Downloader** – ⚡ Fast Mode is optimized for **speed**, pulling tracks in **record time**. Whether you're using 🎵 Spotify URLs or 🔍 keywords, this actor gets you results **up to 5x faster** than the accurate mode — perfect for **quick testing, demos, bots, and bulk downloading**!

📈 Ideal for users who prioritize **speed over perfection**, and don’t mind occasional hiccups in formatting or compatibility.

> ⚡ Average runtime: under 5 minutes for 90+ results 🏁\
> 🔁 Less accurate than Accurate Mode, but blazing fast!

***

### ⚡ Key Features

🚀 **Speed First**\
✔️ Fastest Spotify download experience on Apify\
✔️ Prioritizes speed over cross-device compatibility

🎧 **Input Flexibility**\
✔️ Accepts **Spotify Track URLs**\
✔️ Accepts **search keywords**\
✔️ Or mix both using `"both"` mode

📂 **Quick Output Format**\
✔️ Instant download links\
✔️ Basic track info: title, artist, duration\
✔️ Lightweight data structure for rapid use

🔍 **Keyword Search Ready**\
✔️ Up to 50 results per keyword\
✔️ Great for genre or trend scraping

🌐 **Global Access with Proxy**\
✔️ Use Apify proxy for broader reach\
✔️ Supports residential proxies and geo-filtering

***

### ⚙️ Input Configuration

Just drop in your inputs like this:

```json
{
  "keywords": ["chill", "electronic"],
  "maxResultsPerKeyword": 3,
  "track_urls": [
    { "url": "https://open.spotify.com/track/7lQWRAjyhTpCWFC0jmclT4", "method": "GET" },
    { "url": "https://open.spotify.com/track/3KkXRkHbMCARz0aVfEt68P", "method": "GET" }
  ],
  "searchMode": "both",
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

📌 **Fields Explained**

| Field | Description |
|-------|-------------|
| `keywords` | 🔑 Spotify search keywords |
| `maxResultsPerKeyword` | 🎯 Max results per keyword (up to 50) |
| `track_urls` | 🎵 Spotify track URLs |
| `searchMode` | 🌐 Choose `"url"`, `"keyword"`, or `"both"` |
| `proxy` | 🌍 Proxy settings (useful for region-specific content) |

***

### 📤 Output Example

You’ll receive fast, simplified data for each track:

```json
[
  {
    "direct_download": "https://.../Post_Malone_Sunflower.mp3",
    "track_title": "Sunflower",
    "track_url": "https://open.spotify.com/track/3KkXRkHbMCARz0aVfEt68P",
    "artist_name": "Post Malone",
    "duration": "2m 38s"
  },
  ...
]
```

🧾 Each record includes:

- 🔗 `direct_download`: Instant MP3 URL
- 🎧 `track_title`, `artist_name`
- ⏱️ `duration`, 🎵 `track_url`

***

### ⚖️ Fast Mode vs Accurate Mode

| Feature | ⚡ Fast Mode | 🛠️ Accurate Mode |
|--------|--------------|------------------|
| Speed | 🚀 Very Fast | 🐢 Slower |
| Accuracy | ⚠️ Lower | ✅ 99% Accurate |
| Compatibility | ⚠️ Some issues on mobile/web | ✅ Universal |
| Metadata | 📉 Basic | 📈 Detailed |
| Ideal For | Bots, quick downloads, testing | Archives, playlists, compatibility |

> 🎯 Looking for perfection? Try the [Spotify Music Downloader- 🛠️ Accurate Mode](https://apify.com/scrapearchitect/spotify-music-downloader-accurate) instead — it takes longer, but guarantees 99% clean, compatible results.

***

### 🧪 How It Works

1️⃣ Input Spotify URLs, keywords, or both\
2️⃣ Choose `searchMode`: `url`, `keyword`, or `both`\
3️⃣ Let it fly! ⚡\
4️⃣ Grab your fast MP3 links from the dataset

***

### 💼 Use Cases

🤖 Bot developers – Add music quickly to your app or bot\
📊 Researchers – Rapid genre or artist scans\
📥 Power users – Quickly build local music collections\
🔁 Backup users – Offline music for testing or review\
🎮 Game/Music devs – Grab test samples or vibes

***

### 🔐 Privacy & Security

🔒 Powered by Apify’s secure platform\
🌍 Proxy-friendly (residential recommended)\
⚙️ No tokens, logins, or Spotify API keys needed

***

### 🧩 Related Tools

🔗 [Spotify Music Downloader- 🛠️ Accurate Mode](https://apify.com/scrapearchitect/spotify-music-downloader-accurate) – Quality over speed\
🔗 [Spotify Playlist Scraper](https://apify.com/scrapearchitect/spotify-playlists-scraper) – Get entire playlists + tracks\
🔗 [Spotify Album Scraper](https://apify.com/scrapearchitect/spotify-album-scraper) – Grab entire album metadata and audio

***

### ✉️ Need Help? Custom Version?

Want more metadata? Need album or playlist support?

📧 Email me at <scrapearchitect@gmail.com> for custom solutions.

***

### 🎬 Try It Now!

Launch the **Spotify Music Downloader – Fast Mode Actor**\
Get blazing-fast track downloads in minutes 🎵⚡

***

# Actor input Schema

## `searchMode` (type: `string`):

Select whether to process direct track URLs, keywords, or both.

## `track_urls` (type: `array`):

List of Spotify track URLs to process (used in URL mode or Both mode).

## `keywords` (type: `array`):

List of keywords to search for Spotify tracks (used in Keywords mode or Both mode).

## `maxResultsPerKeyword` (type: `integer`):

The maximum number of search results to retrieve for each keyword.

## `yt_dlp_cookies_path` (type: `string`):

Optional. Provide the path to a cookies file for yt-dlp.

## `proxy` (type: `object`):

Configure proxies for this Actor. Only Residential (default) and Own proxies are available.

## Actor input object example

```json
{
  "searchMode": "both",
  "track_urls": [
    {
      "url": "https://open.spotify.com/track/3KkXRkHbMCARz0aVfEt68P"
    },
    {
      "url": "https://open.spotify.com/track/7lQWRAjyhTpCWFC0jmclT4"
    }
  ],
  "keywords": [
    "rock",
    "pop"
  ],
  "maxResultsPerKeyword": 5,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "track_urls": [
        {
            "url": "https://open.spotify.com/track/3KkXRkHbMCARz0aVfEt68P"
        },
        {
            "url": "https://open.spotify.com/track/7lQWRAjyhTpCWFC0jmclT4"
        }
    ],
    "keywords": [
        "rock",
        "pop"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapearchitect/spotify-tracks-music-downloader-fast").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "track_urls": [
        { "url": "https://open.spotify.com/track/3KkXRkHbMCARz0aVfEt68P" },
        { "url": "https://open.spotify.com/track/7lQWRAjyhTpCWFC0jmclT4" },
    ],
    "keywords": [
        "rock",
        "pop",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapearchitect/spotify-tracks-music-downloader-fast").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "track_urls": [
    {
      "url": "https://open.spotify.com/track/3KkXRkHbMCARz0aVfEt68P"
    },
    {
      "url": "https://open.spotify.com/track/7lQWRAjyhTpCWFC0jmclT4"
    }
  ],
  "keywords": [
    "rock",
    "pop"
  ]
}' |
apify call scrapearchitect/spotify-tracks-music-downloader-fast --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapearchitect/spotify-tracks-music-downloader-fast",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Spotify Tracks/Music Downloader - ⚡ Fast Mode",
        "description": "🎧 Spotify Tracks/Music Downloader 🎶 ⚡ Blazing-fast Spotify music downloader. Supports track URLs & keyword search. Prioritizes speed over accuracy — ideal for bots, testing, and quick scrapes.",
        "version": "1.0",
        "x-build-id": "Cb5ZyLlpAPpnru1eO"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapearchitect~spotify-tracks-music-downloader-fast/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapearchitect-spotify-tracks-music-downloader-fast",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapearchitect~spotify-tracks-music-downloader-fast/runs": {
            "post": {
                "operationId": "runs-sync-scrapearchitect-spotify-tracks-music-downloader-fast",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapearchitect~spotify-tracks-music-downloader-fast/run-sync": {
            "post": {
                "operationId": "run-sync-scrapearchitect-spotify-tracks-music-downloader-fast",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchMode"
                ],
                "properties": {
                    "searchMode": {
                        "title": "🌏 Search Mode",
                        "enum": [
                            "url",
                            "keywords",
                            "both"
                        ],
                        "type": "string",
                        "description": "Select whether to process direct track URLs, keywords, or both.",
                        "default": "both"
                    },
                    "track_urls": {
                        "title": "🎵 Spotify Track URLs",
                        "type": "array",
                        "description": "List of Spotify track URLs to process (used in URL mode or Both mode).",
                        "items": {
                            "type": "object",
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "pattern": "^https://open\\.spotify\\.com/track/"
                                }
                            },
                            "required": [
                                "url"
                            ]
                        }
                    },
                    "keywords": {
                        "title": "🔎 Keywords",
                        "type": "array",
                        "description": "List of keywords to search for Spotify tracks (used in Keywords mode or Both mode).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResultsPerKeyword": {
                        "title": "🔑 Max 50 Results Per Keyword",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "The maximum number of search results to retrieve for each keyword.",
                        "default": 5
                    },
                    "yt_dlp_cookies_path": {
                        "title": "🍪 yt-dlp Cookies Path",
                        "type": "string",
                        "description": "Optional. Provide the path to a cookies file for yt-dlp."
                    },
                    "proxy": {
                        "title": "Proxy Configuration",
                        "required": [
                            "useApifyProxy",
                            "apifyProxyGroups",
                            "apifyProxyCountry"
                        ],
                        "type": "object",
                        "description": "Configure proxies for this Actor. Only Residential (default) and Own proxies are available.",
                        "properties": {
                            "useApifyProxy": {
                                "title": "Use Apify Proxy",
                                "type": "boolean",
                                "default": true
                            },
                            "apifyProxyGroups": {
                                "title": "Proxy Groups",
                                "description": "Select one or more proxy groups.",
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "enum": [
                                        "RESIDENTIAL",
                                        "OWN_PROXIES"
                                    ]
                                },
                                "default": [
                                    "RESIDENTIAL"
                                ]
                            },
                            "apifyProxyCountry": {
                                "title": "Proxy Country",
                                "description": "Select the country for your proxy.",
                                "type": "string",
                                "default": "US"
                            }
                        },
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "US"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
