{
  "openapi": "3.0.1",
  "info": {
    "title": "Spotify Scraper ($0.95/1K): Monthly Listeners, Plays",
    "description": "Scrape Spotify artists (monthly listeners, followers, world rank, top cities), play counts of tracks and albums, playlists with all tracks, charts, podcasts, ISRC, credits and audio features. Track changes and playlist placements with notifications. No login.",
    "version": "0.0",
    "x-build-id": "qItdExt8RPMSnOcXN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tsutseisoftware~spotify-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tsutseisoftware-spotify-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/tsutseisoftware~spotify-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tsutseisoftware-spotify-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/tsutseisoftware~spotify-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tsutseisoftware-spotify-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",
        "properties": {
          "startUrls": {
            "title": "Spotify URLs, URIs or IDs",
            "type": "array",
            "description": "Artists, albums, tracks, playlists, podcasts, episodes, concerts and user profiles: open.spotify.com links (also with /intl-xx/, /embed/ and ?si=), spotify: URIs, short share links (spotify.link), artist shops (shop.spotify.com) or bare IDs (see \"Type of bare IDs\"). E.g. https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M. User profiles need the personal data option.",
            "items": {
              "type": "string"
            }
          },
          "artistNames": {
            "title": "Artist names",
            "type": "array",
            "description": "Names of artists (e.g. Taylor Swift, Daft Punk); each is looked up on Spotify, the exact name first.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords to search on Spotify (e.g. \"lofi beats\", \"techno berlin\"); what is searched is set in \"What to search\".",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "The most rows the run saves (artists, tracks, playlist tracks, episodes … together); 0 = no limit.",
            "default": 100
          },
          "startUrlsFileUrl": {
            "title": "File with Spotify URLs",
            "type": "string",
            "description": "Link to a text or CSV file (e.g. a published Google Sheet as CSV) with Spotify URLs, URIs or share links anywhere in it; every link found is read."
          },
          "inputDatasetId": {
            "title": "Dataset with Spotify URLs",
            "type": "string",
            "description": "A dataset of your earlier runs (of this or another actor): the url or uri of every item is read. The run can read only the dataset you pick here."
          },
          "searchTypes": {
            "title": "What to search",
            "type": "array",
            "description": "Kinds of results of every search term (each kind is a separate search). User profiles need \"Add playlist owners, curators and profiles (personal data)\"; search suggestions are what Spotify suggests while you type the term.",
            "items": {
              "type": "string",
              "enum": [
                "artists",
                "tracks",
                "albums",
                "playlists",
                "podcasts",
                "episodes",
                "audiobooks",
                "users",
                "suggestions"
              ],
              "enumTitles": [
                "Artists",
                "Tracks",
                "Albums",
                "Playlists",
                "Podcasts",
                "Episodes",
                "Audiobooks",
                "User profiles (personal data)",
                "Search suggestions"
              ]
            },
            "default": [
              "artists"
            ]
          },
          "maxResultsPerSearch": {
            "title": "Max results per search",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Results of each search term and kind, in Spotify's order (up to 1,000).",
            "default": 20
          },
          "searchDetails": {
            "title": "Full details of search results",
            "type": "boolean",
            "description": "Read each result's own page: monthly listeners, followers, world rank and top tracks of artists, play counts of tracks, followers and tracks of playlists. Off: the data of the search results only (name, artists, image, release date), faster.",
            "default": false
          },
          "searchCountries": {
            "title": "Search in countries",
            "type": "array",
            "description": "Search as a listener in each of these countries (codes such as US, BR, DE; up to 20): each result once, with foundInCountries. Empty: the results of the country the run reads from.",
            "items": {
              "type": "string"
            }
          },
          "searchLanguages": {
            "title": "Search in languages",
            "type": "array",
            "description": "Search again in each of these languages (codes such as en, es, ja; up to 20): each result once, with foundInLanguages.",
            "items": {
              "type": "string"
            }
          },
          "excludeSpotifyPlaylists": {
            "title": "Leave out Spotify's own playlists",
            "type": "boolean",
            "description": "Playlist search: only playlists of users and curators (for pitching), not the editorial ones.",
            "default": false
          },
          "minFollowers": {
            "title": "Min followers of a playlist",
            "minimum": 0,
            "type": "integer",
            "description": "Playlist search: only playlists with at least this many followers (reads each playlist)."
          },
          "maxFollowers": {
            "title": "Max followers of a playlist",
            "minimum": 0,
            "type": "integer",
            "description": "Playlist search: only playlists with at most this many followers (reads each playlist)."
          },
          "minTracks": {
            "title": "Min tracks of a playlist",
            "minimum": 0,
            "type": "integer",
            "description": "Playlist search and playlists of users: only playlists with at least this many tracks."
          },
          "lastAddedWithinDays": {
            "title": "Last track added within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Playlist search and playlists of users: only active playlists, with a track added in the last N days (e.g. 90)."
          },
          "skipCollaborative": {
            "title": "Leave out collaborative playlists",
            "type": "boolean",
            "description": "Playlist search and playlists of users: leave out playlists that other users can edit.",
            "default": false
          },
          "excludeKeywords": {
            "title": "Leave out playlists with words",
            "type": "array",
            "description": "Playlist search and playlists of users: leave out playlists whose name or description has one of these words (e.g. \"christmas\", \"sleep\").",
            "items": {
              "type": "string"
            }
          },
          "requireContact": {
            "title": "Only playlists with a curator contact",
            "enum": [
              "none",
              "email",
              "any"
            ],
            "type": "string",
            "description": "Playlist search and playlists of users: only playlists whose description has a contact of the curator. The contacts themselves are in the rows only with \"Add playlist owners, curators and profiles\".",
            "default": "none"
          },
          "excludePlaylistIds": {
            "title": "Leave out playlists",
            "type": "array",
            "description": "Playlist URLs or IDs to leave out of searches (e.g. the ones you already pitched to).",
            "items": {
              "type": "string"
            }
          },
          "excludePlaylistsDatasetId": {
            "title": "Leave out the playlists of a dataset",
            "type": "string",
            "description": "A dataset of an earlier run: its playlists are left out of the searches of this run."
          },
          "isrcCodes": {
            "title": "ISRC codes",
            "type": "array",
            "description": "Tracks by ISRC (e.g. USUG11904206); the match is checked against the track's own code.",
            "items": {
              "type": "string"
            }
          },
          "upcCodes": {
            "title": "UPC codes",
            "type": "array",
            "description": "Albums by UPC or EAN barcode (e.g. 00602508924224).",
            "items": {
              "type": "string"
            }
          },
          "chartCountries": {
            "title": "Charts",
            "type": "array",
            "description": "Spotify charts of these countries: \"Global\" or a country name or code (US, GB, DE, CZ, BR …). One row per chart entry with rank, previous rank, movement and play count.",
            "items": {
              "type": "string"
            }
          },
          "chartType": {
            "title": "Chart",
            "enum": [
              "top50",
              "topSongs",
              "top200Daily",
              "top200Weekly",
              "globalWeeklyAlbums",
              "globalWeeklyArtists",
              "topArtistsByListeners"
            ],
            "type": "string",
            "description": "Which chart of each country. The Top 200 has the daily or weekly streams, 7-day and total streams, days on the chart and the peak (about 70 countries); the global charts of albums and artists and the top artists by monthly listeners need \"Charts\" = Global.",
            "default": "top50"
          },
          "chartDetails": {
            "title": "Full details of chart artists",
            "type": "boolean",
            "description": "Artist charts: save each artist as a full artist row (monthly listeners, followers, top cities …) instead of a chart row.",
            "default": false
          },
          "includeChartHistory": {
            "title": "Chart history of tracks",
            "type": "boolean",
            "description": "Track rows: the track's positions and streams in the Spotify charts by day and week and by country, with the totals and peaks.",
            "default": false
          },
          "newReleasesCountries": {
            "title": "New releases",
            "type": "array",
            "description": "Spotify's hand-picked new releases of these countries (codes such as US, DE, CZ): one album row each.",
            "items": {
              "type": "string"
            }
          },
          "newMusicFridayCountries": {
            "title": "New Music Friday",
            "type": "array",
            "description": "Spotify's New Music Friday playlist of these countries (US, GB, DE, FR, CZ, Global …) with its tracks.",
            "items": {
              "type": "string"
            }
          },
          "podcastChartCountries": {
            "title": "Podcast charts",
            "type": "array",
            "description": "Spotify's podcast charts of these countries (US, GB, DE, FR, BR, AU … about 26 countries).",
            "items": {
              "type": "string"
            }
          },
          "podcastChart": {
            "title": "Podcast chart",
            "enum": [
              "topPodcasts",
              "topEpisodes",
              "trending"
            ],
            "type": "string",
            "description": "Which podcast chart of each country.",
            "default": "topPodcasts"
          },
          "concertLocations": {
            "title": "Concerts in cities",
            "type": "array",
            "description": "Cities (e.g. Prague, London, \"Paris, FR\") or GeoNames IDs: one concert row per upcoming concert, by date.",
            "items": {
              "type": "string"
            }
          },
          "concertDateFrom": {
            "title": "Concerts from",
            "type": "string",
            "description": "With \"Concerts in cities\": the first day (YYYY-MM-DD, or +7 = in 7 days)."
          },
          "concertDateTo": {
            "title": "Concerts until",
            "type": "string",
            "description": "With \"Concerts in cities\": the last day (YYYY-MM-DD, or +90)."
          },
          "maxConcertsPerCity": {
            "title": "Max concerts per city",
            "minimum": 0,
            "type": "integer",
            "description": "Concerts of each city, the soonest first; 0 = all.",
            "default": 100
          },
          "includeConcerts": {
            "title": "All concerts of artists",
            "type": "boolean",
            "description": "Artist rows: every upcoming concert in \"concerts\" (the artist page shows the first 10).",
            "default": true
          },
          "concertDetails": {
            "title": "Concert details",
            "type": "boolean",
            "description": "Save each concert of the artists and cities as its own row with the venue, coordinates, tickets (sellers, prices, availability), line-up and genres.",
            "default": false
          },
          "recommendationSeeds": {
            "title": "Recommendations for",
            "type": "array",
            "description": "Track or artist URLs: up to 50 recommended tracks each (Spotify's radio of the seed), as recommendation rows.",
            "items": {
              "type": "string"
            }
          },
          "maxRecommendations": {
            "title": "Max recommendations per seed",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Recommended tracks of each seed.",
            "default": 50
          },
          "targetEnergy": {
            "title": "Target energy",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Recommendations: sort by how close the track is to this value (0–1); the tracks get their audio features, charged as \"Audio features\"."
          },
          "targetDanceability": {
            "title": "Target danceability",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Recommendations: sort by how close the track is to this value (0–1); the tracks get their audio features, charged as \"Audio features\"."
          },
          "targetValence": {
            "title": "Target valence (mood)",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Recommendations: sort by how close the track is to this value (0–1); the tracks get their audio features, charged as \"Audio features\"."
          },
          "targetTempo": {
            "title": "Target tempo (BPM)",
            "minimum": 0,
            "maximum": 250,
            "type": "number",
            "description": "Recommendations: sort by how close the track is to this value (BPM); the tracks get their audio features, charged as \"Audio features\"."
          },
          "defaultType": {
            "title": "Type of bare IDs",
            "enum": [
              "artist",
              "album",
              "track",
              "playlist",
              "show",
              "episode"
            ],
            "type": "string",
            "description": "What a 22-character ID without a URL is.",
            "default": "artist"
          },
          "includeDiscography": {
            "title": "Whole discography of artists",
            "type": "boolean",
            "description": "All albums, singles and compilations of each artist (release date, type, number of tracks). Off: the latest 10 of each kind, as the artist page shows.",
            "default": false
          },
          "readReleases": {
            "title": "Releases of artists as rows",
            "type": "boolean",
            "description": "Read each release of the artists as an album row (with \"Tracks of albums as rows\" every track with its play count); \"Kinds of releases\" and \"Max releases per artist\" choose which.",
            "default": false
          },
          "discographyTypes": {
            "title": "Kinds of releases",
            "type": "array",
            "description": "With \"Releases of artists as rows\": which releases (empty = albums, singles and compilations).",
            "items": {
              "type": "string",
              "enum": [
                "albums",
                "singles",
                "compilations",
                "appearsOn"
              ],
              "enumTitles": [
                "Albums",
                "Singles and EPs",
                "Compilations",
                "Appears on"
              ]
            }
          },
          "maxReleasesPerArtist": {
            "title": "Max releases per artist",
            "minimum": 0,
            "type": "integer",
            "description": "With \"Releases of artists as rows\": the newest N; 0 = all."
          },
          "dedupeTracks": {
            "title": "One row per song",
            "type": "boolean",
            "description": "With \"Tracks of albums as rows\": a song on several releases (album, single, deluxe) is saved once, from the newest release read.",
            "default": false
          },
          "relatedArtistsDepth": {
            "title": "Follow related artists",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Also read the artists of \"Fans also like\": 1 = the related artists of your artists, 2 = their related artists too, and so on (each one is a row; \"Max results\" stops it).",
            "default": 0
          },
          "includePlaylistTracks": {
            "title": "Tracks of playlists",
            "type": "boolean",
            "description": "Save every track of a playlist as its own row (position, date added, play count, artists, album).",
            "default": true
          },
          "maxTracksPerPlaylist": {
            "title": "Max tracks per playlist",
            "minimum": 0,
            "type": "integer",
            "description": "Tracks of each playlist, from the top; 0 = all.",
            "default": 100
          },
          "includeEpisodes": {
            "title": "Episodes of podcasts",
            "type": "boolean",
            "description": "Save the episodes of a podcast as rows, the newest first.",
            "default": true
          },
          "episodesFrom": {
            "title": "Episodes from",
            "type": "string",
            "description": "Only episodes released on this day or later (YYYY-MM-DD, or -30 = in the last 30 days)."
          },
          "episodesTo": {
            "title": "Episodes until",
            "type": "string",
            "description": "Only episodes released on this day or earlier (YYYY-MM-DD)."
          },
          "parseEpisodeDescriptions": {
            "title": "Read episode descriptions",
            "type": "boolean",
            "description": "Episode rows: the chapters (time and title), links, sponsors' websites, @handles and guests named in the description and title.",
            "default": false
          },
          "maxEpisodesPerPodcast": {
            "title": "Max episodes per podcast",
            "minimum": 0,
            "type": "integer",
            "description": "Episodes of each podcast; 0 = all.",
            "default": 20
          },
          "albumTracksAsRows": {
            "title": "Tracks of albums as rows",
            "type": "boolean",
            "description": "Also save every track of an album as its own track row (play count, number, length); the album row keeps the list either way.",
            "default": false
          },
          "minMonthlyListeners": {
            "title": "Min monthly listeners",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out artists with fewer monthly listeners (not charged)."
          },
          "minPlayCount": {
            "title": "Min plays",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out tracks, playlist tracks and chart entries with fewer plays (not charged)."
          },
          "includePreviewUrls": {
            "title": "30-second previews",
            "type": "boolean",
            "description": "The 30-second preview (audioPreviewUrl) of every track, playlist track, chart entry and album track that has one.",
            "default": true
          },
          "includeGenres": {
            "title": "Genres, moods and activities",
            "type": "boolean",
            "description": "Genres, moods and activities with their weights of tracks, playlist tracks and chart entries; of albums and artists summed over their tracks.",
            "default": true
          },
          "language": {
            "title": "Language of the results",
            "type": "string",
            "description": "Language code (en, es, de, ja, pt-BR …): the language of names Spotify translates (genres, editorial playlists, descriptions) and of search results.",
            "default": "en"
          },
          "includeMerch": {
            "title": "Add merch",
            "type": "boolean",
            "description": "Artist rows: the products of the artist's shop on Spotify (title, price, currency, availability, variants, link).",
            "default": false
          },
          "includeRawData": {
            "title": "Add the raw data",
            "type": "boolean",
            "description": "Add the whole answer of Spotify for each artist, album, track, playlist, podcast and episode as the field raw (large rows; for developers who want every field).",
            "default": false
          },
          "includeTrackCodes": {
            "title": "Add ISRC, UPC and popularity",
            "type": "boolean",
            "description": "ISRC, popularity (0–100), languages and the countries where a track is not available, of tracks and playlist tracks; UPC and popularity of albums. Included in the price of the row.",
            "default": false
          },
          "includeCredits": {
            "title": "Add credits",
            "type": "boolean",
            "description": "Songwriters, producers and the other roles Spotify credits for tracks and playlist tracks. Charged as \"Track credits\" per row that has them.",
            "default": false
          },
          "includeAudioFeatures": {
            "title": "Add audio features",
            "type": "boolean",
            "description": "Tempo (BPM), key, mode, energy, danceability, valence, loudness, acousticness and more of tracks and playlist tracks. Charged as \"Audio features\" per row that has them.",
            "default": false
          },
          "includeOwnerDetails": {
            "title": "Add playlist owners, curators and profiles (personal data)",
            "type": "boolean",
            "description": "Names and usernames of the users who own a playlist or added a track, the e-mails, @handles and profile links a curator wrote into the description, and user profiles (from user links or a search). Off: only Spotify's own name is kept, contacts are removed from descriptions and profiles are not read. You are responsible for processing personal data lawfully (GDPR). Charged as \"Personal data\" per row that has them.",
            "default": false
          },
          "includeOwnerProfile": {
            "title": "Add profiles of playlist owners (personal data)",
            "type": "boolean",
            "description": "With the personal data option, playlist rows: the owner's followers, number of public playlists and verified badge.",
            "default": false
          },
          "readUserPlaylists": {
            "title": "Playlists of users",
            "type": "boolean",
            "description": "User profiles: every public playlist of the user in the row, and each playlist read as a playlist row (the playlist filters of the search apply).",
            "default": false
          },
          "includeUserFollowers": {
            "title": "Followers of users (personal data)",
            "type": "boolean",
            "description": "User profiles: the list of the users who follow them, with their followers.",
            "default": false
          },
          "includeArtistContacts": {
            "title": "Add contacts from artists' websites (personal data)",
            "type": "boolean",
            "description": "Artist rows: the artist's own website (from its Spotify profile or its encyclopedia entry) and the e-mails and phone numbers on it (booking, management). You are responsible for processing personal data lawfully (GDPR). Charged as \"Personal data\" per row that has them.",
            "default": false
          },
          "includeCrossPlatformLinks": {
            "title": "Add links on Deezer and Apple Music",
            "type": "boolean",
            "description": "The same track on Deezer (matched by ISRC) and the same album on Deezer and Apple Music (by UPC) with its tracks. Included in the price of the row.",
            "default": false
          },
          "trackChanges": {
            "title": "Track changes since the previous run",
            "type": "boolean",
            "description": "Adds the previous value, the change and the change in percent of monthly listeners, followers, world rank, play counts and chart ranks, streams and listeners per day, a history of up to 60 daily values, new releases of artists, tracks added to and removed from playlists and new podcast episodes.",
            "default": false
          },
          "onlyChanged": {
            "title": "Only changed rows",
            "type": "boolean",
            "description": "Return only rows that are new or changed since the previous run (with \"Min change\"). Every item read and left out is charged as one \"Monitoring page\".",
            "default": false
          },
          "minChangePercent": {
            "title": "Min change (%)",
            "minimum": 0,
            "type": "number",
            "description": "With \"Only changed rows\": a change of monthly listeners, followers or plays smaller than this is not returned (e.g. 5 = 5 %). New releases, added or removed tracks and new episodes always are."
          },
          "watchTracks": {
            "title": "Watch tracks in playlists",
            "type": "array",
            "description": "Tracks (URL, ID or ISRC) or artists (URL) to look for in the playlists, charts and playlist searches of the run: one row per playlist where they are, with the position; with \"Track changes\" also when they were added, moved or removed.",
            "items": {
              "type": "string"
            }
          },
          "monitoringKey": {
            "title": "Monitoring key",
            "type": "string",
            "description": "Name of the remembered state; use a different key for every watch list. Empty = \"default\"."
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Token of your bot from @BotFather."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Chat, group or channel to send to (e.g. 123456789 or -1001234567890)."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Incoming webhook (https://hooks.slack.com/...)."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Webhook of your Discord channel (https://discord.com/api/webhooks/...). In Discord: channel settings → Integrations → Webhooks → Copy Webhook URL. Stored encrypted."
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Any HTTPS URL (Zapier, Make, n8n, your server): receives the rows as JSON."
          },
          "whatsappAccessToken": {
            "title": "WhatsApp access token",
            "type": "string",
            "description": "Access token of the WhatsApp Cloud API of your Meta business account, used with \"WhatsApp phone number ID\" and \"WhatsApp recipient number\" (step by step in the README, section \"WhatsApp notifications: setup\"). For scheduled runs use a permanent token of a system user: Business settings → System users → Generate token, with the permissions whatsapp_business_messaging and whatsapp_business_management; the token of WhatsApp → API Setup expires within hours. Stored encrypted."
          },
          "whatsappPhoneNumberId": {
            "title": "WhatsApp phone number ID",
            "type": "string",
            "description": "ID of your WhatsApp business number that sends the message (not the number itself), e.g. 106540352242922. In your Meta app: WhatsApp → API Setup → Phone number ID."
          },
          "whatsappTo": {
            "title": "WhatsApp recipient number",
            "type": "string",
            "description": "Phone number that gets the message, in international format with the country code (e.g. +420601234567); up to 5 numbers separated by commas or new lines, each gets its own message and the notification is charged once per run. A test number of Meta sends only to numbers you added and confirmed under API Setup → To. Stored encrypted."
          },
          "whatsappTemplateName": {
            "title": "WhatsApp template name",
            "type": "string",
            "description": "Name of your approved message template (WhatsApp Manager → Message templates, e.g. apify_results), recommended: WhatsApp delivers a template message at any time. Its body gets the run summary with the first results in {{1}} and the dataset link in {{2}} (a template with only {{1}} gets both in {{1}}). Empty: a plain text message, which WhatsApp delivers only when the recipient wrote to your business number in the last 24 hours, so a scheduled run usually needs a template. Meta charges your business account for template messages (step by step in the README, section \"WhatsApp notifications: setup\")."
          },
          "whatsappTemplateLanguage": {
            "title": "WhatsApp template language",
            "type": "string",
            "description": "Language code of the template exactly as WhatsApp Manager → Message templates shows it next to the template, e.g. en_US, en_GB, cs, sk, pl or de. Used only with \"WhatsApp template name\".",
            "default": "en_US"
          },
          "webhookHeaders": {
            "title": "Webhook headers",
            "type": "object",
            "description": "HTTP headers sent with the webhook, e.g. {\"Authorization\": \"Bearer <your token>\"} for a server that needs a key. Header values are hidden in error reports."
          },
          "notificationLimit": {
            "title": "Max rows per notification",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many rows the message lists.",
            "default": 10
          },
          "notifyOnlyChanges": {
            "title": "Notify only when something was found",
            "type": "boolean",
            "description": "No message after a run that saved nothing (with \"Track changes\": that found no change).",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed: Spotify works without a proxy (a run whose address is refused goes on through Apify Proxy by itself). For the search results of other countries use \"Search in countries\".",
            "default": {
              "useApifyProxy": false
            }
          },
          "exportFormats": {
            "title": "Extra export formats",
            "type": "array",
            "description": "Off by default. Printable HTML report: the results as a clean, branded table with the main columns, made for printing, saving as PDF or sending to someone; for working with the data use Excel or CSV, which have every field. Markdown table: the same columns as text for AI tools, docs or GitHub. The Output tab links the files. Each file has the overview columns of every saved row and nothing is left out, so a run with tens of thousands of rows makes a file of tens of MB that can be slow to open; for big runs use the dataset or its Excel export. Excel (XLSX), CSV and JSON are always in the Output tab and under Export, at no extra cost.",
            "items": {
              "type": "string",
              "enum": [
                "html",
                "markdown"
              ],
              "enumTitles": [
                "Printable HTML report",
                "Markdown table"
              ]
            },
            "default": []
          },
          "sendErrorReports": {
            "title": "Send error reports",
            "type": "boolean",
            "description": "When a run fails, send the developer a short error report: the error and your input with secrets left out (tokens, webhooks and e-mails are hidden). Your results are never sent. Reports are deleted after at most 120 hours. Turn off to send nothing.",
            "default": true
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}