{
  "openapi": "3.0.1",
  "info": {
    "title": "SoundCloud Scraper — Music Data & Artist Emails",
    "description": "Scrape SoundCloud tracks, playlists, albums and the trending chart with no login. Filters, new-release monitoring, rights data and public emails. Only rows found are charged: $0.0016 per row on Free, from $0.0009 on higher plans, plus running cost.",
    "version": "1.0",
    "x-build-id": "0EsehZAyddDYwo975"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~soundcloud-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-soundcloud-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/khadinakbar~soundcloud-scraper/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-soundcloud-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/khadinakbar~soundcloud-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-soundcloud-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": {
          "mode": {
            "title": "Scraping Mode",
            "enum": [
              "searchTracks",
              "searchPlaylists",
              "searchAlbums",
              "trending",
              "searchArtists",
              "scrapeUrls",
              "artistTracks"
            ],
            "type": "string",
            "description": "Choose what to collect. Search tracks, Search playlists, Search albums and Search artists use Search Queries; Trending chart needs no input; Scrape URLs accepts track, artist and playlist links; Artist catalog returns every public track of artist profile links. For artist lead lists with filters and social links use our SoundCloud Artists Scraper instead. The default is a track search that works as a health check.",
            "default": "searchTracks"
          },
          "searchQueries": {
            "title": "Search Queries",
            "type": "array",
            "description": "Enter up to 20 SoundCloud search keywords or phrases. Each query is processed until the global Max Results limit is reached. Used by Search tracks, Search playlists, Search albums and Search artists. Try genres, moods, artists, labels, or track names.",
            "items": {
              "type": "string"
            },
            "default": [
              "lofi hip hop"
            ]
          },
          "startUrls": {
            "title": "SoundCloud URLs",
            "type": "array",
            "description": "Add up to 50 public soundcloud.com URLs. Direct URL mode accepts track, artist, and playlist URLs; artist catalog mode accepts artist profile URLs only. Playlist URLs can produce one playlist row plus their track rows when expansion is enabled. Private, secret-token, and non-SoundCloud URLs are not supported.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL",
                  "description": "Public SoundCloud track, artist, or playlist URL."
                }
              },
              "required": [
                "url"
              ]
            },
            "default": [
              {
                "url": "https://soundcloud.com/kehlanimusic/lights-on-feat-big-sean"
              }
            ]
          },
          "maxResults": {
            "title": "Maximum Results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Set the global maximum number of dataset rows and paid result events. The Actor stops across all queries and URLs when this cap is reached. A playlist row counts as one result, and each expanded track counts as another. SoundCloud returns about 300 rows per search, so for more the Actor repeats track searches inside narrower date windows (see Widen Track Searches). The trending chart has at most 100 tracks. Use a small value while testing cost and output shape.",
            "default": 25
          },
          "genreOrTag": {
            "title": "Genre or Tag",
            "type": "string",
            "description": "Search tracks only. Keep tracks tagged or categorised with this genre or tag, for example 'lofi' or 'house'. Leave empty for no genre filter."
          },
          "uploadedWithin": {
            "title": "Added or Updated Within",
            "enum": [
              "any",
              "last_hour",
              "last_day",
              "last_week",
              "last_month",
              "last_year"
            ],
            "type": "string",
            "description": "Search tracks only. Keep tracks added or updated within this period; SoundCloud matches on a track's latest update. Use it to follow new releases, or to narrow a very large search.",
            "default": "any"
          },
          "duration": {
            "title": "Track Length",
            "enum": [
              "any",
              "short",
              "medium",
              "long",
              "epic"
            ],
            "type": "string",
            "description": "Search tracks only. Short is under 2 minutes, Medium 2 to 10 minutes, Long 10 to 30 minutes, Epic over 30 minutes (DJ sets and mixes).",
            "default": "any"
          },
          "license": {
            "title": "License",
            "enum": [
              "any",
              "to_share",
              "to_use_commercially",
              "to_modify_commercially"
            ],
            "type": "string",
            "description": "Search tracks only. Keep tracks whose uploader allows the chosen use (Creative Commons style licences).",
            "default": "any"
          },
          "widenSearch": {
            "title": "Widen Track Searches",
            "type": "boolean",
            "description": "SoundCloud stops each search at about 300 rows. When you ask for more, repeat the track search inside narrower date windows (last day, week, month, year) and combine the new rows. Free and automatic; rows are never saved twice. Turn off to keep a single plain search.",
            "default": true
          },
          "trendingGenre": {
            "title": "Trending Genre Filter",
            "type": "string",
            "description": "Trending chart only. Keep only chart tracks whose genre or tags contain this word, for example 'hip hop' or 'electronic'. Each row keeps its real position on the global chart. Leave empty for the full chart."
          },
          "minPlays": {
            "title": "Minimum Plays",
            "minimum": 0,
            "type": "integer",
            "description": "Search tracks, Artist catalog and Trending chart. Keep only tracks with at least this many plays. Rows below it are skipped and never charged. Leave 0 for no limit.",
            "default": 0
          },
          "minLikes": {
            "title": "Minimum Likes",
            "minimum": 0,
            "type": "integer",
            "description": "Search tracks, Artist catalog and Trending chart. Keep only tracks with at least this many likes. Rows below it are skipped and never charged. Leave 0 for no limit.",
            "default": 0
          },
          "minFollowers": {
            "title": "Minimum Artist Followers",
            "minimum": 0,
            "type": "integer",
            "description": "Search tracks, Artist catalog and Trending chart. Keep only tracks whose artist has at least this many followers. Leave 0 for no limit.",
            "default": 0
          },
          "uploadedAfter": {
            "title": "Uploaded After (date)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Search tracks, Artist catalog and Trending chart. Keep only tracks first uploaded on or after this date, written YYYY-MM-DD, for example 2026-10-01. Leave empty for no date limit."
          },
          "onlyNewRows": {
            "title": "Only New Rows Since Last Run",
            "type": "boolean",
            "description": "Turn this on for scheduled runs. The Actor remembers the rows it has already saved for you (in a saved list in your own account) and returns, and charges for, only rows that are new since the last run. Use the same list name for the same job.",
            "default": false
          },
          "monitorName": {
            "title": "Saved List Name",
            "type": "string",
            "description": "Name of your saved list for Only New Rows Since Last Run, 3 to 63 letters, digits or hyphens, for example lofi-new-releases. Use a different name for each separate job.",
            "default": "soundcloud-monitor"
          },
          "resetMonitor": {
            "title": "Start the Saved List Again",
            "type": "boolean",
            "description": "Forget everything saved under this list name before this run, so every matching row counts as new.",
            "default": false
          },
          "includeContactEmails": {
            "title": "Extract Public Contact Emails",
            "type": "boolean",
            "description": "Extract email addresses that artists publicly place in profile or track descriptions. This may make an extra public artist-profile request for track rows. The Actor never accesses private account information or guesses email addresses. Disable it when you only need catalog and engagement data.",
            "default": true
          },
          "expandPlaylists": {
            "title": "Expand Playlist Tracks",
            "type": "boolean",
            "description": "When a playlist URL is resolved, save its track rows after the playlist row. Incomplete embedded tracks are hydrated through SoundCloud's public web API. All rows still obey the global result and cost cap. Disable this to return playlist metadata only.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}