{
  "data": {
    "id": "eIT8XmUw0gn2EcumX",
    "actId": "OsDelWTVZAfNZgo5y",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-29T04:11:33.089Z",
    "finishedAt": "2026-11-29T04:11:35.619Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Spotify Music Catalog, Stats & Playlist Extractor Input\",\n  \"description\": \"Scrape public Spotify artists, albums, tracks and playlists by URL/URI or keyword search, with play counts, audience stats and full track lists.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"Choose how to find Spotify entities.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byUrls\"\n      ],\n      \"enumTitles\": [\n        \"Search the Spotify catalog\",\n        \"Scrape Spotify URLs or URIs\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\",\n      \"sectionCaption\": \"What to scrape\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"Keyword search text, for example an artist, song, album or playlist name. Spotify returns its own relevance order.\",\n      \"editor\": \"textfield\",\n      \"default\": \"Taylor Swift\",\n      \"prefill\": \"Taylor Swift\"\n    },\n    \"searchType\": {\n      \"title\": \"Search result type (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"Which Spotify entity type to search. Choose All to search tracks, artists, albums and playlists in one run.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"track\",\n        \"artist\",\n        \"album\",\n        \"playlist\",\n        \"all\"\n      ],\n      \"enumTitles\": [\n        \"Tracks\",\n        \"Artists\",\n        \"Albums and singles\",\n        \"Playlists\",\n        \"All four types\"\n      ],\n      \"default\": \"track\",\n      \"prefill\": \"track\"\n    },\n    \"spotifyUrls\": {\n      \"title\": \"Spotify URLs or URIs (mode=byUrls)\",\n      \"type\": \"array\",\n      \"description\": \"Paste any mix of Spotify artist, album, track and playlist links or URIs. Examples: https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02, spotify:track:11dFghVXANMlKmJXsNCbNl, https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum records\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted dataset rows for the whole run.\",\n      \"minimum\": 1,\n      \"maximum\": 5000,\n      \"default\": 100,\n      \"prefill\": 3,\n      \"sectionCaption\": \"Limits and output layout\"\n    },\n    \"maxItemsPerInput\": {\n      \"title\": \"Maximum records per input (mode=byUrls)\",\n      \"type\": \"integer\",\n      \"description\": \"Cap on emitted rows for each pasted URL/URI. Applies to artist expansions, album track rows and playlist track rows. It does not apply to search mode.\",\n      \"minimum\": 1,\n      \"maximum\": 2000,\n      \"default\": 100,\n      \"prefill\": 5\n    },\n    \"maxTracksPerPlaylist\": {\n      \"title\": \"Maximum tracks per playlist\",\n      \"type\": \"integer\",\n      \"description\": \"How many playlist tracks to include. Spotify is paged 100 tracks at a time, so any playlist length can be covered; the playlist record still reports the full totalTracks count.\",\n      \"minimum\": 1,\n      \"maximum\": 10000,\n      \"default\": 500,\n      \"prefill\": 50\n    },\n    \"outputLayout\": {\n      \"title\": \"Output layout\",\n      \"type\": \"string\",\n      \"description\": \"Entity layout keeps one row per artist/album/track/playlist with nested track lists. Track layout emits one flat row per track, ready for play-count spreadsheets.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"entity\",\n        \"track\"\n      ],\n      \"enumTitles\": [\n        \"One row per entity (nested track lists)\",\n        \"One row per track (flat play-count table)\"\n      ],\n      \"default\": \"entity\",\n      \"prefill\": \"entity\"\n    },\n    \"includeTrackPlayCounts\": {\n      \"title\": \"Include track play counts\",\n      \"type\": \"boolean\",\n      \"description\": \"Include exact Spotify play counts on tracks, plus album and playlist play-count totals. Turn off for a lighter record.\",\n      \"default\": true,\n      \"prefill\": true,\n      \"sectionCaption\": \"Data options\"\n    },\n    \"includeArtistTopCities\": {\n      \"title\": \"Include artist top cities\",\n      \"type\": \"boolean\",\n      \"description\": \"Include the artist's top listener cities with listener counts (mode=search type=artist or mode=byUrls with an artist link).\",\n      \"default\": true,\n      \"prefill\": false\n    },\n    \"expandArtistAlbums\": {\n      \"title\": \"Expand artist albums (mode=byUrls)\",\n      \"type\": \"boolean\",\n      \"description\": \"When an artist URL is scraped, also emit one album record for every album in the discography.\",\n      \"default\": false,\n      \"prefill\": false,\n      \"sectionCaption\": \"Artist expansion (mode=byUrls)\"\n    },\n    \"expandArtistSingles\": {\n      \"title\": \"Expand artist singles and EPs\",\n      \"type\": \"boolean\",\n      \"description\": \"When an artist URL is scraped, also emit one album record for every single and EP.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"expandArtistCompilations\": {\n      \"title\": \"Expand artist compilations\",\n      \"type\": \"boolean\",\n      \"description\": \"When an artist URL is scraped, also emit one album record for every compilation.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"expandArtistAppearsOn\": {\n      \"title\": \"Expand artist appears-on releases\",\n      \"type\": \"boolean\",\n      \"description\": \"When an artist URL is scraped, also emit one album record for every release the artist appears on.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"expandArtistRelated\": {\n      \"title\": \"Expand related artists\",\n      \"type\": \"boolean\",\n      \"description\": \"When an artist URL is scraped, also emit full artist records for Spotify's related artists.\",\n      \"default\": false,\n      \"prefill\": false\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Spotify Music Catalog, Stats & Playlist Extractor\n\nExport public Spotify music data without a Spotify account, cookies or developer API key. This\nactor reads the same anonymous catalog the Spotify web player uses and returns clean records for\nartists, albums, tracks and playlists — including monthly listeners, exact play counts, top cities\nand full track lists.\n\n## Two ways to run it\n\n**Search the catalog.** Enter a keyword, choose tracks, artists, albums, playlists or a balanced\nmix of all four, and set how many rows you want. Search results are enriched into full records, not\nshallow search cards.\n\n**Scrape Spotify links or URIs.** Paste any mix of artist, album, track and playlist links in one\nlist. Examples:\n\n- `https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02`\n- `spotify:album:2fenSS68JI1h4Fo296JfGr`\n- `https://open.spotify.com/intl-de/track/11dFghVXANMlKmJXsNCbNl`\n- `spotify:playlist:37i9dQZF1DXcBWIGoYBM5M`\n\nAn artist link can optionally expand into every album, single/EP, compilation, appears-on release\nand related artist as separate dataset rows.\n\n## Output layouts\n\n- **One row per entity** keeps an artist, album, track or playlist in one record and nests its\n  track list. Use this for JSON integrations and browsing.\n- **One row per track** emits album tracks, playlist tracks and artist top tracks as flat records\n  with `parentType`, `parentId`, `playlistPosition` or `rowPosition` and `addedAt` where relevant.\n  Use this for CSV/Excel play-count tables.\n\n## Inputs\n\n| Input | Type | Default | What it does |\n|---|---|---|---|\n| `mode` | select | `\"search\"` | Search the catalog or scrape pasted links. |\n| `searchQuery` | text | `\"Taylor Swift\"` | Keyword used in search mode. |\n| `searchType` | select | `\"track\"` | Track, artist, album, playlist or a balanced all-types mix. |\n| `spotifyUrls` | string list | `[]` | Mixed Spotify URLs or URIs for link mode. |\n| `maxItems` | integer | `100` | Hard cap on dataset rows for the whole run. |\n| `maxItemsPerInput` | integer | `100` | Row cap for each pasted link (link mode only). |\n| `maxTracksPerPlaylist` | integer | `500` | Playlist track cap, paged 100 at a time. |\n| `outputLayout` | select | `\"entity\"` | Nested entity rows or flat track rows. |\n| `includeTrackPlayCounts` | boolean | `true` | Include exact per-track play counts and totals. |\n| `includeArtistTopCities` | boolean | `true` | Include the artist's top listener cities. |\n| `expandArtistAlbums` | boolean | `false` | Emit every album for an artist link. |\n| `expandArtistSingles` | boolean | `false` | Emit every single and EP for an artist link. |\n| `expandArtistCompilations` | boolean | `false` | Emit every compilation for an artist link. |\n| `expandArtistAppearsOn` | boolean | `false` | Emit every release the artist appears on. |\n| `expandArtistRelated` | boolean | `false` | Emit full records for related artists. |\n\n`mode` is the only required input. Every other field has a working default.\n\n## Fields per record\n\n| Record | Fields |\n|---|---|\n| Artist | `artistId`, `name`, `url`, `uri`, `verified`, `followers`, `monthlyListeners`, `worldRank`, `topCities`, `topTracks`, `biography`, `externalLinks`, `avatarUrl`, `headerImageUrl`, `galleryImageUrls`, `albumCount`, `singleCount`, `compilationCount`, `popularReleaseCount`, `latestRelease`, `relatedArtists`, `relatedArtistTotal`, `appearsOnCount`, `artistPlaylists`, `discoveredOnPlaylists`, `featuringPlaylists` |\n| Album | `albumId`, `name`, `type`, `releaseDate`, `label`, `copyrights`, `artists`, `coverUrl`, `totalTracks`, `tracks`, `discs`, `totalPlayCount`, `totalDurationMs`, `moreAlbumsByArtist`, `releases`, `isPlayable`, `isPreRelease`, `sharingUrl` |\n| Track | `trackId`, `name`, `artists`, `albumId`, `albumName`, `albumType`, `releaseDate`, `durationMs`, `explicit`, `playCount`, `trackNumber`, `discNumber`, `mediaType`, `contentRating`, `isPlayable`, `coverUrl`, `copyrights` |\n| Playlist | `playlistId`, `name`, `description`, `ownerName`, `ownerUsername`, `ownerUrl`, `ownerAvatarUrl`, `followers`, `totalTracks`, `coverUrl`, `format`, `isEditorial`, `tracks`, `totalPlayCount`, `totalDurationMs`, `sharingUrl` |\n\nEvery dataset row also carries `recordType`, `sourceUrl` and `scrapedAt`. Nested track objects\ninclude `trackId`, `name`, `url`, `artists`, `album*`, `releaseDate`, `durationMs`, `explicit`,\n`trackNumber`, `discNumber`, `playCount`, `mediaType`, `contentRating` and `isPlayable` when\nSpotify publishes them. Search rows add `searchQuery`, `searchType` and `searchRank`.\n\n## Examples\n\nSearch tracks:\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"Taylor Swift\",\n  \"searchType\": \"track\",\n  \"maxItems\": 20\n}\n```\n\nScrape a mixed list and expand an artist:\n\n```json\n{\n  \"mode\": \"byUrls\",\n  \"spotifyUrls\": [\n    \"spotify:artist:06HL4z0CvFAxyc27GXpf02\",\n    \"spotify:playlist:37i9dQZF1DX4UtSsGT1Sbe\"\n  ],\n  \"expandArtistAlbums\": true,\n  \"expandArtistSingles\": true,\n  \"maxTracksPerPlaylist\": 1000,\n  \"outputLayout\": \"entity\",\n  \"maxItems\": 200\n}\n```\n\nFlat playlist table:\n\n```json\n{\n  \"mode\": \"byUrls\",\n  \"spotifyUrls\": [\"spotify:playlist:37i9dQZF1DXcBWIGoYBM5M\"],\n  \"outputLayout\": \"track\",\n  \"maxTracksPerPlaylist\": 500\n}\n```\n\n## How it works\n\nThe actor obtains a short-lived anonymous session from Spotify's public embed page, falling back to\nthe public token endpoint. It then calls Spotify's own persisted GraphQL operations for search,\nartist overview, album tracks, single tracks and playlist pages. Persisted-query hashes are\nrefreshed from the current web-player bundle at startup, with bundled fallbacks for the operations\nthe bundle loads lazily. No user login, cookie, proxy setup or developer app is needed.\n\n## Notes and honest limits\n\n- Spotify search returns at most about 1,000 results per entity type. Narrow the keyword, or run\n  several searches, to reach deeper catalogs.\n- Spotify exposes at most 50 appears-on releases on an artist profile. The artist record still\n  reports the full `appearsOnCount` from Spotify's catalog count.\n- The catalog follows the runner's network location. There is no input that changes Spotify's\n  market: extra market/locale variables and headers were tested and do not alter results. The actor\n  reports Spotify's own `isPlayable` flag for each track and album.\n- Playlists are paged 100 tracks at a time and can be read far beyond 1,000 tracks. Raise\n  `maxTracksPerPlaylist` for very long playlists; `totalTracks` always reports the full length even\n  when the emitted track list is capped.\n- Some artists genuinely lack a public biography, header image, top-city data or external links.\n  Those fields are omitted for that record rather than filled with placeholders.\n- Audio features, lyrics, private listener demographics and email addresses are not part of the\n  anonymous public payload and are not included.\n\n## Data source\n\nPublic Spotify web-player catalog responses. The actor is read-only, does not log in, and never\nwrites to Spotify.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "spotify-music-catalog-stats-playlist-extractor",
      "title": "Spotify Music Catalog, Stats & Playlist Extractor",
      "description": "Export public Spotify catalog data without a login or developer key: artist audience stats, album and track play counts, full playlists and keyword search. Paste mixed Spotify URLs or URIs, or search the catalog, then export nested entity rows or one flat row per track.",
      "version": "0.1",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Spotify Music Catalog, Stats & Playlist Extractor\n\nExport public Spotify music data without a Spotify account, cookies or developer API key. This\nactor reads the same anonymous catalog the Spotify web player uses and returns clean records for\nartists, albums, tracks and playlists — including monthly listeners, exact play counts, top cities\nand full track lists.\n\n## Two ways to run it\n\n**Search the catalog.** Enter a keyword, choose tracks, artists, albums, playlists or a balanced\nmix of all four, and set how many rows you want. Search results are enriched into full records, not\nshallow search cards.\n\n**Scrape Spotify links or URIs.** Paste any mix of artist, album, track and playlist links in one\nlist. Examples:\n\n- `https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02`\n- `spotify:album:2fenSS68JI1h4Fo296JfGr`\n- `https://open.spotify.com/intl-de/track/11dFghVXANMlKmJXsNCbNl`\n- `spotify:playlist:37i9dQZF1DXcBWIGoYBM5M`\n\nAn artist link can optionally expand into every album, single/EP, compilation, appears-on release\nand related artist as separate dataset rows.\n\n## Output layouts\n\n- **One row per entity** keeps an artist, album, track or playlist in one record and nests its\n  track list. Use this for JSON integrations and browsing.\n- **One row per track** emits album tracks, playlist tracks and artist top tracks as flat records\n  with `parentType`, `parentId`, `playlistPosition` or `rowPosition` and `addedAt` where relevant.\n  Use this for CSV/Excel play-count tables.\n\n## Inputs\n\n| Input | Type | Default | What it does |\n|---|---|---|---|\n| `mode` | select | `\"search\"` | Search the catalog or scrape pasted links. |\n| `searchQuery` | text | `\"Taylor Swift\"` | Keyword used in search mode. |\n| `searchType` | select | `\"track\"` | Track, artist, album, playlist or a balanced all-types mix. |\n| `spotifyUrls` | string list | `[]` | Mixed Spotify URLs or URIs for link mode. |\n| `maxItems` | integer | `100` | Hard cap on dataset rows for the whole run. |\n| `maxItemsPerInput` | integer | `100` | Row cap for each pasted link (link mode only). |\n| `maxTracksPerPlaylist` | integer | `500` | Playlist track cap, paged 100 at a time. |\n| `outputLayout` | select | `\"entity\"` | Nested entity rows or flat track rows. |\n| `includeTrackPlayCounts` | boolean | `true` | Include exact per-track play counts and totals. |\n| `includeArtistTopCities` | boolean | `true` | Include the artist's top listener cities. |\n| `expandArtistAlbums` | boolean | `false` | Emit every album for an artist link. |\n| `expandArtistSingles` | boolean | `false` | Emit every single and EP for an artist link. |\n| `expandArtistCompilations` | boolean | `false` | Emit every compilation for an artist link. |\n| `expandArtistAppearsOn` | boolean | `false` | Emit every release the artist appears on. |\n| `expandArtistRelated` | boolean | `false` | Emit full records for related artists. |\n\n`mode` is the only required input. Every other field has a working default.\n\n## Fields per record\n\n| Record | Fields |\n|---|---|\n| Artist | `artistId`, `name`, `url`, `uri`, `verified`, `followers`, `monthlyListeners`, `worldRank`, `topCities`, `topTracks`, `biography`, `externalLinks`, `avatarUrl`, `headerImageUrl`, `galleryImageUrls`, `albumCount`, `singleCount`, `compilationCount`, `popularReleaseCount`, `latestRelease`, `relatedArtists`, `relatedArtistTotal`, `appearsOnCount`, `artistPlaylists`, `discoveredOnPlaylists`, `featuringPlaylists` |\n| Album | `albumId`, `name`, `type`, `releaseDate`, `label`, `copyrights`, `artists`, `coverUrl`, `totalTracks`, `tracks`, `discs`, `totalPlayCount`, `totalDurationMs`, `moreAlbumsByArtist`, `releases`, `isPlayable`, `isPreRelease`, `sharingUrl` |\n| Track | `trackId`, `name`, `artists`, `albumId`, `albumName`, `albumType`, `releaseDate`, `durationMs`, `explicit`, `playCount`, `trackNumber`, `discNumber`, `mediaType`, `contentRating`, `isPlayable`, `coverUrl`, `copyrights` |\n| Playlist | `playlistId`, `name`, `description`, `ownerName`, `ownerUsername`, `ownerUrl`, `ownerAvatarUrl`, `followers`, `totalTracks`, `coverUrl`, `format`, `isEditorial`, `tracks`, `totalPlayCount`, `totalDurationMs`, `sharingUrl` |\n\nEvery dataset row also carries `recordType`, `sourceUrl` and `scrapedAt`. Nested track objects\ninclude `trackId`, `name`, `url`, `artists`, `album*`, `releaseDate`, `durationMs`, `explicit`,\n`trackNumber`, `discNumber`, `playCount`, `mediaType`, `contentRating` and `isPlayable` when\nSpotify publishes them. Search rows add `searchQuery`, `searchType` and `searchRank`.\n\n## Examples\n\nSearch tracks:\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"Taylor Swift\",\n  \"searchType\": \"track\",\n  \"maxItems\": 20\n}\n```\n\nScrape a mixed list and expand an artist:\n\n```json\n{\n  \"mode\": \"byUrls\",\n  \"spotifyUrls\": [\n    \"spotify:artist:06HL4z0CvFAxyc27GXpf02\",\n    \"spotify:playlist:37i9dQZF1DX4UtSsGT1Sbe\"\n  ],\n  \"expandArtistAlbums\": true,\n  \"expandArtistSingles\": true,\n  \"maxTracksPerPlaylist\": 1000,\n  \"outputLayout\": \"entity\",\n  \"maxItems\": 200\n}\n```\n\nFlat playlist table:\n\n```json\n{\n  \"mode\": \"byUrls\",\n  \"spotifyUrls\": [\"spotify:playlist:37i9dQZF1DXcBWIGoYBM5M\"],\n  \"outputLayout\": \"track\",\n  \"maxTracksPerPlaylist\": 500\n}\n```\n\n## How it works\n\nThe actor obtains a short-lived anonymous session from Spotify's public embed page, falling back to\nthe public token endpoint. It then calls Spotify's own persisted GraphQL operations for search,\nartist overview, album tracks, single tracks and playlist pages. Persisted-query hashes are\nrefreshed from the current web-player bundle at startup, with bundled fallbacks for the operations\nthe bundle loads lazily. No user login, cookie, proxy setup or developer app is needed.\n\n## Notes and honest limits\n\n- Spotify search returns at most about 1,000 results per entity type. Narrow the keyword, or run\n  several searches, to reach deeper catalogs.\n- Spotify exposes at most 50 appears-on releases on an artist profile. The artist record still\n  reports the full `appearsOnCount` from Spotify's catalog count.\n- The catalog follows the runner's network location. There is no input that changes Spotify's\n  market: extra market/locale variables and headers were tested and do not alter results. The actor\n  reports Spotify's own `isPlayable` flag for each track and album.\n- Playlists are paged 100 tracks at a time and can be read far beyond 1,000 tracks. Raise\n  `maxTracksPerPlaylist` for very long playlists; `totalTracks` always reports the full length even\n  when the emitted track list is capped.\n- Some artists genuinely lack a public biography, header image, top-city data or external links.\n  Those fields are omitted for that record rather than filled with placeholders.\n- Audio features, lyrics, private listener demographics and email addresses are not part of the\n  anonymous public payload and are not included.\n\n## Data source\n\nPublic Spotify web-player catalog responses. The actor is read-only, does not log in, and never\nwrites to Spotify.\n",
      "input": {
        "title": "Spotify Music Catalog, Stats & Playlist Extractor Input",
        "description": "Scrape public Spotify artists, albums, tracks and playlists by URL/URI or keyword search, with play counts, audience stats and full track lists.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "Choose how to find Spotify entities.",
            "editor": "select",
            "enum": [
              "search",
              "byUrls"
            ],
            "enumTitles": [
              "Search the Spotify catalog",
              "Scrape Spotify URLs or URIs"
            ],
            "default": "search",
            "prefill": "search",
            "sectionCaption": "What to scrape"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Keyword search text, for example an artist, song, album or playlist name. Spotify returns its own relevance order.",
            "editor": "textfield",
            "default": "Taylor Swift",
            "prefill": "Taylor Swift"
          },
          "searchType": {
            "title": "Search result type (mode=search)",
            "type": "string",
            "description": "Which Spotify entity type to search. Choose All to search tracks, artists, albums and playlists in one run.",
            "editor": "select",
            "enum": [
              "track",
              "artist",
              "album",
              "playlist",
              "all"
            ],
            "enumTitles": [
              "Tracks",
              "Artists",
              "Albums and singles",
              "Playlists",
              "All four types"
            ],
            "default": "track",
            "prefill": "track"
          },
          "spotifyUrls": {
            "title": "Spotify URLs or URIs (mode=byUrls)",
            "type": "array",
            "description": "Paste any mix of Spotify artist, album, track and playlist links or URIs. Examples: https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02, spotify:track:11dFghVXANMlKmJXsNCbNl, https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "maxItems": {
            "title": "Maximum records",
            "type": "integer",
            "description": "Hard cap on emitted dataset rows for the whole run.",
            "minimum": 1,
            "maximum": 5000,
            "default": 100,
            "prefill": 3,
            "sectionCaption": "Limits and output layout"
          },
          "maxItemsPerInput": {
            "title": "Maximum records per input (mode=byUrls)",
            "type": "integer",
            "description": "Cap on emitted rows for each pasted URL/URI. Applies to artist expansions, album track rows and playlist track rows. It does not apply to search mode.",
            "minimum": 1,
            "maximum": 2000,
            "default": 100,
            "prefill": 5
          },
          "maxTracksPerPlaylist": {
            "title": "Maximum tracks per playlist",
            "type": "integer",
            "description": "How many playlist tracks to include. Spotify is paged 100 tracks at a time, so any playlist length can be covered; the playlist record still reports the full totalTracks count.",
            "minimum": 1,
            "maximum": 10000,
            "default": 500,
            "prefill": 50
          },
          "outputLayout": {
            "title": "Output layout",
            "type": "string",
            "description": "Entity layout keeps one row per artist/album/track/playlist with nested track lists. Track layout emits one flat row per track, ready for play-count spreadsheets.",
            "editor": "select",
            "enum": [
              "entity",
              "track"
            ],
            "enumTitles": [
              "One row per entity (nested track lists)",
              "One row per track (flat play-count table)"
            ],
            "default": "entity",
            "prefill": "entity"
          },
          "includeTrackPlayCounts": {
            "title": "Include track play counts",
            "type": "boolean",
            "description": "Include exact Spotify play counts on tracks, plus album and playlist play-count totals. Turn off for a lighter record.",
            "default": true,
            "prefill": true,
            "sectionCaption": "Data options"
          },
          "includeArtistTopCities": {
            "title": "Include artist top cities",
            "type": "boolean",
            "description": "Include the artist's top listener cities with listener counts (mode=search type=artist or mode=byUrls with an artist link).",
            "default": true,
            "prefill": false
          },
          "expandArtistAlbums": {
            "title": "Expand artist albums (mode=byUrls)",
            "type": "boolean",
            "description": "When an artist URL is scraped, also emit one album record for every album in the discography.",
            "default": false,
            "prefill": false,
            "sectionCaption": "Artist expansion (mode=byUrls)"
          },
          "expandArtistSingles": {
            "title": "Expand artist singles and EPs",
            "type": "boolean",
            "description": "When an artist URL is scraped, also emit one album record for every single and EP.",
            "default": false,
            "prefill": false
          },
          "expandArtistCompilations": {
            "title": "Expand artist compilations",
            "type": "boolean",
            "description": "When an artist URL is scraped, also emit one album record for every compilation.",
            "default": false,
            "prefill": false
          },
          "expandArtistAppearsOn": {
            "title": "Expand artist appears-on releases",
            "type": "boolean",
            "description": "When an artist URL is scraped, also emit one album record for every release the artist appears on.",
            "default": false,
            "prefill": false
          },
          "expandArtistRelated": {
            "title": "Expand related artists",
            "type": "boolean",
            "description": "When an artist URL is scraped, also emit full artist records for Spotify's related artists.",
            "default": false,
            "prefill": false
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Spotify Music Catalog, Stats & Playlist Extractor Output",
        "description": "Spotify artists, albums, tracks and playlists with audience statistics, exact play counts, cover art and full track lists.",
        "properties": {
          "music": {
            "type": "string",
            "title": "Spotify music records",
            "description": "Dataset containing every scraped artist, album, track or playlist record.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Spotify records",
              "transformation": {
                "fields": [
                  "recordType",
                  "name",
                  "followers",
                  "monthlyListeners",
                  "totalTracks",
                  "playCount",
                  "releaseDate",
                  "url"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "0.1.3",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "0.1"
    }
  }
}