{"id":15146266,"url":"https://github.com/barenddt/soundcloud-v2-api","last_synced_at":"2026-03-02T02:37:24.430Z","repository":{"id":55335791,"uuid":"203656314","full_name":"barenddt/soundcloud-v2-api","owner":"barenddt","description":"Promise-based Javascript Soundcloud v2 API controller.","archived":false,"fork":false,"pushed_at":"2021-01-05T13:24:17.000Z","size":663,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-27T12:01:34.896Z","etag":null,"topics":["soundcloud","soundcloud-api","soundcloud-stream","soundcloud-v2"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barenddt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-21T20:04:42.000Z","updated_at":"2023-12-12T12:36:32.000Z","dependencies_parsed_at":"2022-08-14T21:20:42.449Z","dependency_job_id":null,"html_url":"https://github.com/barenddt/soundcloud-v2-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barenddt%2Fsoundcloud-v2-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barenddt%2Fsoundcloud-v2-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barenddt%2Fsoundcloud-v2-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barenddt%2Fsoundcloud-v2-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barenddt","download_url":"https://codeload.github.com/barenddt/soundcloud-v2-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867197,"owners_count":16555821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["soundcloud","soundcloud-api","soundcloud-stream","soundcloud-v2"],"created_at":"2024-09-26T12:01:17.260Z","updated_at":"2025-10-24T01:30:29.621Z","avatar_url":"https://github.com/barenddt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Soundcloud v2 API Controller\nThis API controller was created for personal implementation in my project called [Soundify](https://github.com/barenddt/soundify). Soundcloud does not currently provide a method for interacting with the new v2 API effectively. The v1 API is missing a lot of endpoints the v2 api has. (/charts to name one).\n\n\n## Navigation\n- [Installation](#install)\n- Examples\n\t- [Searching](#search)\n\t- [Streaming](#stream)\n- [References](#reference)\n\n## \u003cspan id=\"install\"\u003eInstallation\u003c/span\u003e\n\n#### via NPM\n\n```\nnpm i soundcloud-v2-api\n```\n\n#### via YARN\n\n```\nyarn add soundcloud-v2-api\n```\n\n## Usage\n\n### \u003cspan id=\"search\"\u003eExample (Searching Tracks)\u003c/span\u003e\n```javascript\nconst SC = require('soundcloud-v2-api');\n\nSC.init({\n clientId: 'YOUR_CLIENT_ID'\n})\n\nSC.get('/search/tracks', {\n q: 'Post', \n limit: 50\n}).then(result =\u003e console.log(result))\n```\n\n### \u003cspan id=\"stream\"\u003eExample (Streaming  Tracks)\u003c/span\u003e\n\n```javascript\n//Initialize as in previous example.\n\nSC.stream('/tracks/${track.id}/streams').then(stream =\u003e {\n stream.play()\n})\n```\n### Usage in browsers\n```javascript\nSC.init({\n clientId: 'YOUR_CLIENT_ID',\n cors: true\n})\n```\n\n## \u003cspan id=\"reference\"\u003eAPI Reference\u003c/span\u003e\nHere are some of the most common endpoints available to use.\n### /search/:type\n\n    \n|Types|Returns|\n|--|--|\n|tracks|List of tracks containing query|\n|users|List of users containing query|\n|albums|List of albums containing query|\n|playlists|List of playlists containing query|\n\n### /tracks/${track.id}/:type\n|Types|Returns|\n|--|--|\n|/|Tracks statistics and information|\n|reposters|List of users that reposted the track|\n|likers|List of users that liked the track|\n|comments|List of comments on the track|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarenddt%2Fsoundcloud-v2-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarenddt%2Fsoundcloud-v2-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarenddt%2Fsoundcloud-v2-api/lists"}