# Spotify Songs Search Scraper  🎶🔎 (`scrapestorm/spotify-songs-search-scraper`)

Gather Spotify Songs data by keywords 🎧. Access detailed Songs with Artists name, verification status ✅, images 📸, and URLs 🌐. Perfect for analyzing the music industry 🎶, discovering genres 🎵, and collecting data for projects or studies 📊. Great for professionals and music fans!

- **URL**: https://beta-securitybyobscurity.apify.com/scrapestorm/spotify-songs-search-scraper.md
- **Developed by:** [Storm\_Scraper](https://beta-securitybyobscurity.apify.com/scrapestorm) (community)
- **Categories:** Social media, Other, Videos
- **Stats:** 7 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$14.99/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 Songs Search Scraper 🎧🎶

The Spotify Songs Search Scraper allows you to search for songs on Spotify based on your chosen keywords 🔍🎶, with customizable filters such as the maximum number of results to extract 🔢.

Simply input your search query, and the scraper will fetch relevant Spotify song profiles for you in no time 🎶.

### Description 💯🎧

The Spotify Songs Search Scraper is designed to help you find songs on Spotify related to specific topics or keywords. Whether you're interested in rock, pop, or any genre, this tool makes it easy to collect and analyze Spotify song profiles based on your search terms.

With customizable filters, you can specify the maximum number of results to retrieve 🔢 and collect essential details like:

```
Song Name 🎶
Song Description 📜
Spotify URI 🎧
Spotify Song Link 🌐
Album Details (Name, Cover Image, URI) 🎤📸
Artist Names 🎤
Duration ⏳
Explicit Content Rating ⚠️
And more!
```

🚨 This tool can scrape detailed data from Spotify songs, including descriptions, album details, and cover images 📸, and it works even when authentication is required 🔒!

### How many results can you extract using this Tool? 🔍

There’s no limit to the number of results you can extract 📊!

You can collect as many Spotify songs as you need based on your query and filters 🔍.

### Key Features ✨

- Unlimited Results 🔢: Extract as many song profiles as you need without any cap on the available results.

- Customizable Filters 🛠️: Search for Spotify songs based on any specific keyword, genre, or subject.

- Detailed Song Information 👩‍🎤: Retrieve song names, album details, Spotify URIs, song links, artist names, and more!

- Flexible Search 🔍: Specify any keyword or topic for personalized results.

### 💸 Pricing

This scraper operates on a monthly subscription basis, priced at $14.99/month.

### How to Use? 📲

Using the Spotify Songs Search Scraper is quick and easy, even for beginners.

Follow these simple steps:

```
Sign up for an account on Apify 🔑.
Access the Spotify Songs Search Scraper on the Apify platform 🌐.
Enter a keyword or music genre related to your search 🎶.
Set the maximum number of results you want to scrape 📊.
Hit "Start" and let the scraper collect the song profiles!
After scraping, download the data in your preferred format: JSON 📄, CSV 📊, XML 📑, Excel 📈, HTML 🌐.
```

That’s it! You’ll have all the Spotify song profiles ready for your research.

### Applications 🌟

Song Discovery: Discover new songs on Spotify based on specific genres or keywords 🎶.

Music Industry Analysis: Analyze popular songs on Spotify, track trends, and monitor song growth 📈.

Content Curation: Collect Spotify song profiles to create playlists, share recommendations, or develop music-related content 🎶.

### Input Example 📲 👌

The scraper accepts various parameters to customize the scraping process. Here’s how to structure your input JSON:

```
{
    "keyword": "rock",
    "maxitems": 120
}


```

### Example Output from Spotify Scraper 👌

Once the extraction is finished, the data will be stored in a dataset. You can download this data in various formats (JSON, CSV, XML, RSS, HTML Table).

```
{
  "track_id": "0e7ipj03S05BNilyu5bRzt",
  "track_name": "rockstar (feat. 21 Savage)",
  "album_id": "6trNtQUgC8cgbWcqoMYkOR",
  "album_name": "beerbongs & bentleys",
  "album_cover_url": "https://i.scdn.co/image/ab67616d00001e02b1c4b76e23414c9f20242268",
  "artist_names": [
      "Post Malone",
      "21 Savage"
  ],
  "duration_ms": 218146,
  "duration": "00:03:38",
  "content_rating": "EXPLICIT",
  "playable": true,
  "spotify_url": "spotify:track:0e7ipj03S05BNilyu5bRzt",
  "spotify_link_to_song": "https://open.spotify.com/track/0e7ipj03S05BNilyu5bRzt"
},
{
  "track_id": "1Klm1hOnkz9WVRNCuXMiF8",
  "track_name": "Sunflower",
  "album_id": "3w8lbPzfdPpvS8DAfZRGQZ",
  "album_name": "Spider-Man: Into the Spider-Verse",
  "album_cover_url": "https://i.scdn.co/image/ab67616d00001e02704f6ed64d98c5e3b923430a",
  "artist_names": [
      "Post Malone",
      "Swae Lee"
  ],
  "duration_ms": 157029,
  "duration": "00:02:37",
  "content_rating": "EXPLICIT",
  "playable": true,
  "spotify_url": "spotify:track:1Klm1hOnkz9WVRNCuXMiF8",
  "spotify_link_to_song": "https://open.spotify.com/track/1Klm1hOnkz9WVRNCuXMiF8"
}


```

### Related Actors ⭐

If you're interested in other Spotify, Pinterest, Google, social media scraper or real estate Actors:

- [Spotify Artist : Monthly Listeners & Contact Info Scraper📊📩](https://apify.com/scrapestorm/spotify-artist-monthly-listeners-contact-info-scraper)
- [Spotify Artists Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-artists-search-scraper---fast-cheap)
- [Spotify Songs Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-songs-search-scraper)
- [Spotify Playlists Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-playlists-search-scraper)
- [Spotify Albums Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-albums-search-scraper)
- [Spotify Profiles Search Scraper 🎧🎶](https://apify.com/scrapestorm/spotify-profiles-search-scraper)
- [Google News Scraper Fast & Real-Time (Pay per results) 📰⚡](https://apify.com/scrapestorm/google-news-scraper-fast-real-time-pay-per-results)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Shares Scraper (Exclusive & Affordable) 🚀💡](https://apify.com/scrapestorm/facebook-shares-scraper-exclusive-affordable)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Scraper (By Keyword) - ⭐⭐⭐⭐⭐ Fast & cheap](https://apify.com/scrapestorm/youtube)
- [Youtube Channel Scraper](https://apify.com/scrapestorm/youtube-channel-scraper)
- [Youtube Shorts Scraper 📺 (Rental) - Fast & cheap](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Zillow (Find a Home Improvement Agent) 🛠️)](https://apify.com/scrapestorm/zillow-find-a-home-improvement-agent)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### Can I use this Spotify Songs Search API in Python? 🎓

Yes, you can use the Apify API with Python.

To access the Spotify Songs Search API with Python, use the apify-client PyPI package. You can find more details about the client in our Python Client documentation.

### 📫 Support

😊 Leave us a star ⭐ if you are satisfied with the product!
🌍 For any questions, specific needs or issues, please reach out through Apify's platform or via email - [Storm\_Scraper 🌪️🌩️](https://apify.com/scrapestorm)
Happy scraping! 😊

# Actor input Schema

## `keyword` (type: `string`):

The keyword or subject you wish to search for on Spotify (Songs) 🔍🎶

## `maxitems` (type: `integer`):

Maximum number of results you want to scrape 📊

## Actor input object example

```json
{
  "keyword": "rock",
  "maxitems": 60
}
```

# 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 = {
    "keyword": "rock",
    "maxitems": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/spotify-songs-search-scraper").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 = {
    "keyword": "rock",
    "maxitems": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/spotify-songs-search-scraper").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 '{
  "keyword": "rock",
  "maxitems": 60
}' |
apify call scrapestorm/spotify-songs-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapestorm/spotify-songs-search-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Spotify Songs Search Scraper  🎶🔎",
        "description": "Gather Spotify Songs data by keywords 🎧. Access detailed Songs with Artists name, verification status ✅, images 📸, and URLs 🌐. Perfect for analyzing the music industry 🎶, discovering genres 🎵, and collecting data for projects or studies 📊. Great for professionals and music fans!",
        "version": "0.0",
        "x-build-id": "VBfKzQYoBHaNI1WDq"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapestorm~spotify-songs-search-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapestorm-spotify-songs-search-scraper",
                "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/scrapestorm~spotify-songs-search-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapestorm-spotify-songs-search-scraper",
                "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/scrapestorm~spotify-songs-search-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapestorm-spotify-songs-search-scraper",
                "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": [
                    "keyword"
                ],
                "properties": {
                    "keyword": {
                        "title": "The keyword or subject you wish to search for on Spotify (Songs) 🔍🎶",
                        "type": "string",
                        "description": "The keyword or subject you wish to search for on Spotify (Songs) 🔍🎶",
                        "default": "rock"
                    },
                    "maxitems": {
                        "title": "Maximum number of results you want to scrape 📊",
                        "type": "integer",
                        "description": "Maximum number of results you want to scrape 📊",
                        "default": 60
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
