{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 SoundCloud Scraper · 5,000 Free Results/Month",
    "description": "SoundCloud Scraper gets you SoundCloud data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — tracks with plays, likes & ISRC, artists, playlists & Top 50 charts. 💰 $1 per 1,000 results, no start fee. Scrape your first 5,000 results free every month 🚀",
    "version": "0.0",
    "x-build-id": "toQHlpYROYS4zSZJt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~soundcloud-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~soundcloud-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~soundcloud-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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": {
          "queries": {
            "title": "Queries",
            "type": "array",
            "description": "Search phrases, one per line — an artist (`billie eilish`), a song, a genre (`lofi hip hop`) or a playlist theme (`workout`).",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search Type",
            "enum": [
              "tracks",
              "users",
              "playlists",
              "albums"
            ],
            "type": "string",
            "description": "What the queries search for. Tracks come with plays, likes, reposts, comments, genre, tags, ISRC, label and the artist; users (artists) with followers, track count, city and badges; playlists and albums with track count, duration, likes and the creator.",
            "default": "tracks"
          },
          "genreOrTag": {
            "title": "Genre or Tag",
            "type": "string",
            "description": "Only results with this genre or tag (`lofi`, `hip-hop`, `house`, `classical`…). Tracks, playlists and albums."
          },
          "duration": {
            "title": "Duration (tracks)",
            "enum": [
              "short",
              "medium",
              "long",
              "epic"
            ],
            "type": "string",
            "description": "Track length: short (under 2 min), medium (2–10 min), long (10–30 min) or epic (over 30 min)."
          },
          "uploadedWithin": {
            "title": "Uploaded Within (tracks)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Only tracks uploaded in the last hour, day, week, month or year."
          },
          "license": {
            "title": "License (tracks)",
            "enum": [
              "share",
              "use_commercially",
              "modify_commercially"
            ],
            "type": "string",
            "description": "Only tracks licensed to share, to use commercially or to modify commercially."
          },
          "place": {
            "title": "City (users)",
            "type": "string",
            "description": "Only users in this city (`los angeles`, `new york`, `london`). Users search only."
          },
          "maxResults": {
            "title": "Max Results per Query",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Maximum number of results per query (1–300; SoundCloud serves the first 300 results of any search). Use this to control your cost: 1,000 results ≈ $1.",
            "default": 100
          },
          "urls": {
            "title": "URLs",
            "type": "array",
            "description": "One per line: a soundcloud.com track, artist, playlist, album or station link (`https://soundcloud.com/billieeilish/ocean-eyes`, `https://soundcloud.com/billieeilish`), an on.soundcloud.com share link, a permalink path (`billieeilish/ocean-eyes`), or an id written as `track:233719633`, `user:87105617` or `playlist:345241809`. A bare number is not accepted — a track, an artist and a playlist can share the same id.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Include Details (add-on)",
            "type": "boolean",
            "description": "Add the full record to every artist, playlist and album row: an artist's website and social links (Instagram, TikTok, YouTube, Spotify…), a playlist's or album's whole tracklist with every track in full. Billed as the `details` add-on on those rows only; track rows are already complete and never charged for it.",
            "default": false
          },
          "top50Charts": {
            "title": "Top 50 Charts",
            "type": "array",
            "description": "Which Top 50 charts to scrape, one per line: `all-music-genres`, `new-hot`, `artist-pro`, `hip-hop`, `pop`, `electronic`, `rock`, `folk`, `latin`, `country` (US) — the UK adds `dance`, `r-b` and `indie`.",
            "items": {
              "type": "string"
            }
          },
          "top50Country": {
            "title": "Top 50 Country",
            "enum": [
              "US",
              "GB"
            ],
            "type": "string",
            "description": "Country of the Top 50 charts above.",
            "default": "US"
          },
          "trendingChart": {
            "title": "Trending Chart",
            "type": "boolean",
            "description": "Scrape SoundCloud's trending chart (all music, refreshed daily), with SoundCloud's trending score on every track.",
            "default": false
          },
          "trendingGenres": {
            "title": "Trending by Genre",
            "type": "array",
            "description": "Genres whose trending playlist to scrape, one per line: `all-genres`, `hip-hop`, `trap`, `pop`, `electronic`, `r-n-b`, `house`, `indie`, `dubstep`, `rock`, `latin`, `afrobeat`, `ambient`, `metal`, `reggae`…",
            "items": {
              "type": "string"
            }
          },
          "chartSize": {
            "title": "Chart Size",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Entries per chart (1–100).",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}