# Spotify Label Album Intelligence Scraper (`w3crawler/spotify-label-intelligence-scraper`) Actor

Search Spotify rendered public album results for a label phrase, verify visible public copyright text, and keep unverified candidates separate; optional Apify Proxy support is reported in run metadata.

- **URL**: https://apify.com/w3crawler/spotify-label-intelligence-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 label records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Spotify Label Album Intelligence Scraper

Search Spotify's **public album search** for a label phrase, then verify each candidate against the copyright text visible on its public album page. Only albums whose visible ℗/© line contains the requested phrase enter the default dataset; rejected candidates are written separately to `UNVERIFIED_CANDIDATES` so they cannot be mistaken for verified label associations.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/spotify-label-intelligence-scraper) and select **Try for free** or open the **Input** tab.
2. Enter the label or rights-holder phrase in `labelName`.
3. Keep `maxItems` small for the first run; the Actor inspects at most twice that many public album candidates.
4. Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check verified and unverified counts.

### Input

`labelName` is required. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `labelName` | string | Required | Not supplied | Label phrase used in public Spotify album search. The normalized phrase must also appear in visible public copyright text for an album to enter the dataset. 1–200 characters. |
| `market` | string | Optional | `US` | Two-letter context reported in outputs. Spotify's public search route is not market-filtered by this Actor. |
| `maxItems` | integer | Optional | `10` | Maximum verified album rows written to the default dataset, 1–10. The Actor inspects at most twice this many candidates. |
| `timeoutSecs` | integer | Optional | `30` | Navigation timeout for each public search or album page, 5–90 seconds. |
| `maxResponseBytes` | integer | Optional | `2000000` | Maximum HTML response size accepted per page, 100000–5000000 bytes. |
| `requestDelayMs` | integer | Optional | `500` | Bounded delay before each public page navigation, 0–30000 ms. |
| `maxRequestRetries` | integer | Optional | `1` | Bounded browser retry count for failed public-page requests, 0–3. |
| `clientId` | string | Optional | Not supplied | Compatibility field only. It is ignored and never used to call Spotify's official Web API. |
| `clientSecret` | string | Optional | Not supplied | Compatibility field only. It is ignored and never written to dataset or key-value output. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Optional Apify Proxy settings for the same anonymous public-page workflow. No stealth or access-control bypass is performed. |

Full default input (supply `labelName` before running):

```json
{
  "market": "US",
  "maxItems": 10,
  "timeoutSecs": 30,
  "maxResponseBytes": 2000000,
  "requestDelayMs": 500,
  "maxRequestRetries": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

The Actor reads anonymous, public Spotify pages. `clientId` and `clientSecret` are accepted only for input compatibility and are **not used**; this Actor performs no authenticated API calls, login, token capture, or audio download.

### Output

The default dataset contains one row per verified label-album association. Optional values are omitted rather than inferred. Rejected candidates are never written to the dataset; they are stored in the `UNVERIFIED_CANDIDATES` key-value record.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordId` | string | Always | Stable key in the form `spotify_label_<albumId>`. |
| `recordType` | string | Always | Row discriminator; always `verifiedLabelAlbum`. |
| `queryLabel` | string | Always | Label phrase supplied by the user. |
| `reportedLabel` | string | Always | Copyright line observed on the public album page that matched `queryLabel`. |
| `labelAssociationVerified` | boolean | Always | Always `true` in the default dataset. |
| `labelFieldStatus` | string | Always | State of the visible copyright field; observed value `observed_public_copyright`. |
| `resultReason` | string | Always | Why the album entered the verified dataset. |
| `albumId` | string | Always | 22-character public Spotify album ID. |
| `name` | string | Always | Public album name. |
| `spotifyUrl` | string | Always | Canonical `https://open.spotify.com/album/<id>` URL. |
| `artists` | string | When the search card shows artists | Artist display names read from the public search card. |
| `imageUrl` | string | When the search card shows artwork | Public artwork URL. |
| `requestedMarket` | string | Always | Requested two-letter market context. |
| `marketApplied` | boolean | Always | Always `false`; the public search route is not market-filtered. |
| `sourceUrl` | string | Always | Public album page used to verify the copyright label. |
| `scrapedAt` | string | Always | Time the public album page was inspected, in ISO UTC. |

#### Full JSON output

The example below is a real saved row from the 2026-10-25 verification run.

```json
{
  "recordId": "spotify_label_5wR3bNU1ycW52RrkP4aAXN",
  "recordType": "verifiedLabelAlbum",
  "queryLabel": "UMG Recordings",
  "reportedLabel": "© 2002 Universal Music Enterprises, a Division of UMG Recordings, Inc.",
  "labelAssociationVerified": true,
  "labelFieldStatus": "observed_public_copyright",
  "resultReason": "requested_label_observed_in_public_copyright_text",
  "albumId": "5wR3bNU1ycW52RrkP4aAXN",
  "name": "20th Century Masters: The Millennium Collection: Best Of Olivia Newton-John",
  "spotifyUrl": "https://open.spotify.com/album/5wR3bNU1ycW52RrkP4aAXN",
  "artists": "Olivia Newton-John",
  "imageUrl": "https://i.scdn.co/image/ab67616d00001e0292ba13060de52ac305208aca",
  "requestedMarket": "US",
  "marketApplied": false,
  "sourceUrl": "https://open.spotify.com/album/5wR3bNU1ycW52RrkP4aAXN",
  "scrapedAt": "2026-10-25T21:05:44.777Z"
}
```

### Run summary

**Run summary** is stored in the run's key-value store under `OUTPUT_SUMMARY`; the same object is also written to `OUTPUT`. It separates verified rows from rejected candidates.

| Field | Meaning |
| --- | --- |
| `recordType` | Always `runSummary`. |
| `status` | Actor outcome: `SUCCEEDED` or `FAILED`. |
| `labelName` | Phrase searched and matched against visible copyright text. |
| `requestedMarket` | Two-letter context supplied by the user. |
| `marketApplied` | Always `false` for this public route. |
| `maxItems` | Maximum verified dataset rows requested. |
| `candidateCount` | Album candidates observed in public search. |
| `detailAttemptCount` | Album pages inspected for copyright text. |
| `verifiedLabelRecordCount` | Verified associations produced. |
| `unverifiedCandidateCount` | Rejected candidates stored separately. |
| `recordsStored` | Verified rows saved to the dataset. |
| `dataAvailability` | `verified_associations`, `unverified_candidates_only`, or `no_usable_public_data`. |
| `errorRecordCount` | Page or extraction errors recorded. |
| `authenticationMode` | Always `anonymous_public_page`. |
| `proxyRequested` | Whether proxy use was requested in the input. |
| `proxyUsed` | Whether Apify Proxy was actually used. |
| `proxyType` | `direct` or `apify_proxy`. |
| `credentialFieldsIgnored` | Whether ignored `clientId`/`clientSecret` fields were supplied. |
| `verificationBasis` | Description of the copyright-text verification rule. |
| `unverifiedCandidatesKey` | Key holding separated rejected candidates; always `UNVERIFIED_CANDIDATES`. |
| `startedAt` | Run start time, in ISO UTC. |
| `completedAt` | Time the summary was written, in ISO UTC. |
| `durationMs` | Run duration in milliseconds. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of saved rows: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `failureCount` | Operational failures and failed dataset writes. |
| `outputWriteFailureCount` | Summary or optional key-value writes that failed. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Verified rows or a clean no-result outcome were produced without a later failure. |
| `SUCCEEDED` | `PARTIAL` | Verified rows were saved, but a later page, unverified-candidate write, or output write failed. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The search completed cleanly with no usable verified association. |
| `FAILED` | `FAILED` | The run failed before any usable result was saved. |

Example `OUTPUT_SUMMARY` from the saved run (also written to `OUTPUT`):

```json
{
  "recordType": "runSummary",
  "status": "SUCCEEDED",
  "labelName": "UMG Recordings",
  "requestedMarket": "US",
  "marketApplied": false,
  "maxItems": 5,
  "candidateCount": 10,
  "detailAttemptCount": 10,
  "verifiedLabelRecordCount": 5,
  "unverifiedCandidateCount": 5,
  "recordsStored": 5,
  "dataAvailability": "verified_associations",
  "errorRecordCount": 0,
  "authenticationMode": "anonymous_public_page",
  "proxyRequested": false,
  "proxyUsed": false,
  "proxyType": "direct",
  "credentialFieldsIgnored": false,
  "verificationBasis": "requested label text must be observed in visible public copyright text",
  "unverifiedCandidatesKey": "UNVERIFIED_CANDIDATES",
  "startedAt": "2026-10-25T21:05:10.536Z",
  "completedAt": "2026-10-25T21:07:21.768Z",
  "durationMs": 131232,
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "failureCount": 0,
  "outputWriteFailureCount": 0
}
```

### Coverage and limitations

The Actor searches Spotify's public album route and inspects at most `maxItems * 2` candidates. Verification is textual: the requested phrase and the visible ℗/© line are normalized for case and punctuation, and the requested phrase must be contained in that line. An album with no visible copyright line, or a line that does not contain the phrase, is rejected. This is evidence of the text shown on the public page, not proof of legal ownership or a complete label discography.

Verified rows are capped at `maxItems`; rejected candidates are bounded and written to `UNVERIFIED_CANDIDATES` as an array with `candidateId`, `queryLabel`, `reportedLabel`, `labelAssociationVerified: false`, `resultReason`, album identity and links, `requestedMarket`, `marketApplied`, `sourceUrl`, and `scrapedAt`. They are not dataset rows. `market` is context only. `clientId` and `clientSecret` are ignored compatibility fields and are never used for authentication. Search ranking, copyright text, and album availability can change between runs; failures are logged and summarized, never fabricated as associations.

### Usage and support

Apify compute and storage costs vary with browser time, proxy use, dataset rows, and the number of candidate and album pages inspected. Each verified row can require a search page plus an album page, so a `maxItems` of 10 can inspect up to 20 candidates and is substantially heavier than a search-only run. Start with `maxItems` of 2–3, inspect the dataset and `UNVERIFIED_CANDIDATES`, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/spotify-label-intelligence-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT_SUMMARY`; do not include credentials, tokens, cookies, or private data. This Actor is an independent community tool and is not affiliated with, endorsed by, or sponsored by Spotify or its rights holders. Use it only for public data and in accordance with Spotify's terms, robots guidance, and applicable law.

# Changelog

This Actor's version history is a separate document: https://apify.com/w3crawler/spotify-label-intelligence-scraper/changelog.md

# Actor input Schema

## `labelName` (type: `string`):

Label phrase used in the public Spotify album search. The same phrase must appear in visible public copyright text for an album to enter the dataset.

## `market` (type: `string`):

Two-letter market context reported in outputs. Spotify's public search route is not market-filtered by this Actor.

## `maxItems` (type: `integer`):

Maximum number of verified album associations written to the default dataset. The Actor inspects at most twice this many public candidates.

## `timeoutSecs` (type: `integer`):

Navigation timeout applied to each public search or album page.

## `maxResponseBytes` (type: `integer`):

Maximum HTML response size accepted from a public page.

## `requestDelayMs` (type: `integer`):

Bounded delay before each public page navigation.

## `maxRequestRetries` (type: `integer`):

Bounded retry count used by the browser crawler for failed public-page requests.

## `clientId` (type: `string`):

Optional compatibility field. It is ignored; this Actor uses anonymous rendered public pages and does not call Spotify's official Web API.

## `clientSecret` (type: `string`):

Optional compatibility field. It is ignored and never written to dataset or key-value-store output.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy configuration for the same anonymous public-page workflow. No stealth or access-control bypass is performed.

## Actor input object example

```json
{
  "labelName": "Sony Music Entertainment",
  "market": "US",
  "maxItems": 10,
  "timeoutSecs": 30,
  "maxResponseBytes": 2000000,
  "requestDelayMs": 500,
  "maxRequestRetries": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (type: `string`):

Counts, canonical run status, verification basis; failure details stay in actor logs.

## `unverifiedCandidates` (type: `string`):

Public album candidates that did not verify the requested label in visible copyright text.

## `compatibilitySummary` (type: `string`):

No description

## `sourceMetadata` (type: `string`):

No description

# 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 = {
    "labelName": "Sony Music Entertainment"
};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/spotify-label-intelligence-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 = { "labelName": "Sony Music Entertainment" }

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/spotify-label-intelligence-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "labelName": "Sony Music Entertainment"
}' |
apify call w3crawler/spotify-label-intelligence-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/spotify-label-intelligence-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/l6SLFARHkNfpA3Iee/builds/XjUNqHfrem92f53e6/openapi.json
