Topics with Label: api

Labels

Forum Posts

Welcome to the Spotify for Developers board!

Welcome to the Spotify for Developers board! This forum is the place for conversations about Spotify's Web API, Web Playback SDK, Widgets, and other developer tools. Here you can ask questions about the Spotify platform, chat with other developers, a...

  • Spotify
  • Spotify
  • 19589 Views
  • 0 replies
  • 59 likes
  • Discussion
  • 19589 Views
  • 0 replies
  • 59 likes

Superuser Contribution API: Number of Streams for a Track

DeviceAPI My Question or IssueI do not see any API commands to retrieve a track's total number of streams. BUT I am finding other third-party APIs and websites that can deliver number of streams. How are they doing this, if not the API?

  • Casual Listener
  • Device API   My Question or Issue I do not see any API commands to retrieve a track's total number of streams. BUT I am finding other third-party APIs and websites that can deliver number o...
  • EDHMix
  • Regular
  • 5878 Views
  • 6 replies
  • 12 likes
  • api
  • 5878 Views
  • 6 replies
  • 12 likes

Give us an endpoint to decode new shortened share links

On mobile share-links are now shortened.For example: https://spotify.link/hRkBrwub9xbAs a developer who relied on the URL containing the trackID this makes it impossible for me to find which track is being passed on. The website redirects to the corr...

  • Regular
  • On mobile share-links are now shortened. For example: https://spotify.link/hRkBrwub9xb As a developer who relied on the URL containing the trackID this makes it impossible for me to find which tr...
  • 92 Views
  • 0 replies
  • 5 likes
  • api
    Discussion
    Feature Request
    links
    Possible Bug
    SHORT
    trackid
    URL
  • 92 Views
  • 0 replies
  • 5 likes

[Feature Proposal] Expose folders in the api

I have a app that allows creating playlists. It would be really great if I could put all the playlist that my app makes into a certain folder so it is in its own nice category. I propose the api endpoints for folders to be:[GET] me/folders?limit=...&...

  • Casual Listener
  • ...he api endpoints for folders to  be: [GET] me/folders?limit=...&offset=... Returns playlist ids of playlists in the folder folder name creation date folder id [PUT] me/folders?n...
  • 52 Views
  • 0 replies
  • 2 likes
  • api
    Feature Request
    folders
    Playlist
  • 52 Views
  • 0 replies
  • 2 likes

[API] Adding to currently playing playlist via api doesn't also add to queue

If, using the spotify desktop client, I create a playlist, add a track and start playing, the second time I add a track, my playlist looks like this:And my queue looks like this: However, if I create a new player with the WebPlayback SDK, transfer pl...

KevAdsett_1-1678969909918.png KevAdsett_0-1678969496798.png KevAdsett_2-1678970068277.png KevAdsett_3-1678970078794.png
  • Casual Listener
  • If, using the spotify desktop client, I create a playlist, add a track and start playing, the second time I add a track, my playlist looks like this: And my queue looks like this: &nbsp...
  • KevAdsett
  • Casual Listener
  • 833 Views
  • 4 replies
  • 1 likes
  • api
    Playlist
    queue
  • 833 Views
  • 4 replies
  • 1 likes

Superuser Contribution [Web API] recommendations not returned for genre seeds

As of the last couple of hours the recommendations endpoint isn't returning tracks related to genre seeds.example request: https://api.spotify.com/v1/recommendations?seed_artists=&seed_genres=rock&seed_tracks=&limit=20&market=GBexample response: {"tr...

  • Gig Goer
  • As of the last couple of hours the recommendations endpoint isn't returning tracks related to genre seeds. example request:  https://api.spotify.com/v1/recommendations?seed_artists=&s...
  • teacherc
  • Casual Listener
  • 3105 Views
  • 14 replies
  • 5 likes
  • api
    Possible Bug
    Recommendations
  • 3105 Views
  • 14 replies
  • 5 likes

Api for song scrubbing data

Is there an API that lets user fetch the timestamp at which the song has been scrubbed to the most?

  • Visitor
  • Is there an API that lets user fetch the timestamp at which the song has been scrubbed to the most?
  • Prague
  • Composer
  • 86 Views
  • 1 replies
  • 1 likes
  • api
    question
    scrubbing
  • 86 Views
  • 1 replies
  • 1 likes

How to get user status without constantly sampling?

I want to achieve a result similar to Discord's Spotify status integration. ie. Be able to detect if a user is currently listening to music or not without having to do a GET request every x seconds. I looked through the docs and there doesn't seem to...

  • Casual Listener
  • I want to achieve a result similar to Discord's Spotify status integration.   ie. Be able to detect if a user is currently listening to music or not without having to do a GET request every x ...
  • Prague
  • Composer
  • 88 Views
  • 1 replies
  • 2 likes
  • api
    Discussion
    question
  • 88 Views
  • 1 replies
  • 2 likes

502 Bad Gateway

PlanPremiumCountryArgentinaDevicePC NotebookOperating SystemWindows 10 My Question or IssueI've started developing an app with the Web Playback SDK. For a couple of days, making the request for the PUT method "me/player", I have had no problems... bu...

  • Newbie
  • Plan Premium Country Argentina Device PC Notebook Operating System Windows 10   My Question or Issue I've started developing an app with the Web Playback SDK. For a couple of days, mak...
  • Ay_dot
  • Casual Listener
  • 83 Views
  • 1 replies
  • 0 likes
  • 502 gateway
    api
    Playback SDK
    player
  • 83 Views
  • 1 replies
  • 0 likes

Queue not updating when changing playlist

Queue is not updating when playing playlist on the webplayback sdk.this problem was issued by a user a long time ago (API-and-Transfer-playback-wrong-behavior) and was fixed for the webbrowser , windows app and the mobile app. However if you use the ...

  • Casual Listener
  • Queue is not updating when playing playlist on the webplayback sdk. this problem was issued by a user a long time ago (API-and-Transfer-playback-wrong-behavior)  and was fixed for the w...
  • noambav
  • Casual Listener
  • 208 Views
  • 1 replies
  • 1 likes
  • api
    Playlist
    queue
    SDK
  • 208 Views
  • 1 replies
  • 1 likes

API connector to a webApp

Hello there! I want to build a Spotify ads connector for some users in my company.Where they will connect to their Spotify User from my system I will pull all the relevant metrics for them. My question is - Do I need any kind of permission to do that...

  • Visitor
  • ...bsp; My question is - Do I need any kind of permission to do that? or the API is ready to use? I just want to fetch a few metrics of ad campaigns.  
  • Prague
  • Composer
  • 48 Views
  • 1 replies
  • 1 likes
  • ads
    api
    question
  • 48 Views
  • 1 replies
  • 1 likes

Bug with offset for method "Get User's Top Artists and Tracks"

How can I get 150 items from method "Get User's Top Artists and Tracks" with 3 request? My queries found a bug with the offset value and couldn't get more than 100 items. - If set limit 50 and offset 0 - response with 50 itemshttps://api.spotify.com/...

  • Music Fan
  • ...imit 50 and offset 0 - response with 50 items https://api.spotify.com/v1/me/top/tracks?limit=50&offset=0&time_range=medium_term   - If set limit 50 and offset 50 - response with 0 i...
  • MadameAdam
  • Visitor
  • 534 Views
  • 1 replies
  • 3 likes
  • api
    bug
    Possible Bug
  • 534 Views
  • 1 replies
  • 3 likes

API endpoint /me/top/tracks returning status 500

Plan - PremiumCountry - USAOperating System - Windows 10 My Question or IssueThe /me/top/tracks endpoint seems to return the status code 500. I noticed this when working on a project using the API and noticed my top tracks were not rendering. I then ...

  • Casual Listener
  • ...project using the API and noticed my top tracks were not rendering. I then went to https://developer.spotify.com/console/get-current-user-top-artists-and-tracks/ and confirmed this b...
  • quinn16
  • Casual Listener
  • 82 Views
  • 1 replies
  • 1 likes
  • api
    API Bug
    Developer API
    top tacks
  • 82 Views
  • 1 replies
  • 1 likes

Is a timestamped player in react possible?

My Question or IssueI am building a podcast web app in react and wanted to implement an on-site player. The app returns podcast clips. I can't seem to see if it is possible using the Spotify web api to embed a player of the podcast at the exact times...

  • Newbie
  • My Question or Issue I am building a podcast web app in react and wanted to implement an on-site player. The app returns podcast clips. I can't seem to see if it is possible using the Spotify web api...
  • Ximzend
  • Roadie
  • 71 Views
  • 1 replies
  • 0 likes
  • api
  • 71 Views
  • 1 replies
  • 0 likes

playCount in API

Hello, Is it possible to get the playCount in the API? I cannot find it anywhere, yet the information is listed on the website. Have I missed it somewhere in the API responses? Many thanks.

  • Casual Listener
  • Hello,   Is it possible to get the playCount in the API? I cannot find it anywhere, yet the information is listed on the website.   Have I missed it somewhere in the API responses? &n...
  • Ximzend
  • Roadie
  • 121 Views
  • 3 replies
  • 0 likes
  • api
    playcount
  • 121 Views
  • 3 replies
  • 0 likes

End of queue is ambiguous

The new "Get the User's Queue" endpoint is pretty neat: https://developer.spotify.com/documentation/web-api/reference/#/operations/get-queue However, it has a small problem that prevent it from being usable in all cases. You see, the queue will usual...

Selbi_0-1676390379939.png Selbi_1-1676390460874.png
  • Gig Goer
  • The new "Get the User's Queue" endpoint is pretty neat: https://developer.spotify.com/documentation/web-api/reference/#/operations/get-queue   However, it has a small problem that prevent it f...
  • 94 Views
  • 0 replies
  • 1 likes
  • api
    queue
  • 94 Views
  • 0 replies
  • 1 likes

Episodes API not returning data

I'm not getting episode info back from the API. Are others seeing this? I tried using ids from the docs as well as ones I'm pulling off of urls. I tried hitting the API directly and through spotipy like so: import spotipy from spotipy.oauth2 import S...

  • Casual Listener
  • I'm not getting episode info back from the API.    Are others seeing this? I tried using ids from the docs as well as ones I'm pulling off of urls.   I tried hitting the API d...
  • listenaddress
  • Casual Listener
  • 86 Views
  • 1 replies
  • 0 likes
  • api
    Possible Bug
  • 86 Views
  • 1 replies
  • 0 likes

Solved!! Web API ratelimit

I am developing an app which will allow users to publish their playlists to a feed. However in order to visit the feed, published playlists will have to be fetched one by one (as the current spotify api does not have an endpoint to fetch multiple pla...

  • Casual Listener
  • ...potify api does not have an endpoint to fetch multiple playlists at once). In order to optimize the application feed, I would like to know, which rate limit currently applies on /playlists/{id} for a...
  • wireframed
  • Regular
  • 4476 Views
  • 8 replies
  • 0 likes
  • api
    Playlist
    ratelimit
    web
  • 4476 Views
  • 8 replies
  • 0 likes

Music Game - User Authentication & Song Playback

PlanPremiumCountryUS (primary)Operates globallyDeviceiPhone 12 Operating SystemiOS 16.2My Question or IssueHi, I recently developed an application (2019) that leveraged Spotify premium user authentication and song playback APIs to play music within t...

PlayItAgain_0-1675873258588.png
  • Newbie
  • ...019) that leveraged Spotify premium user authentication and song playback APIs to play music within the application. The application is called Play It Again (https://apps.apple.com/us/app/play-it-a...
  • 68 Views
  • 0 replies
  • 0 likes
  • account api
    api
    API account
    API Bug
    API Support
    Possible Bug
    song playback
    SpotifyAPI
    Web Playback API
  • 68 Views
  • 0 replies
  • 0 likes

Pull episodes after a certain date

Hi I am using the Search API to pull in podcasts into an app. I want to only pull podcasts from the last week, and noticed there is not a date parameter such as "Release_date". Is there anyway to only pull episodes from the last week so I am not maki...

  • Casual Listener
  • Hi I am using the Search API to pull in podcasts into an app.    I want to only pull podcasts from the last week, and noticed there is not a date parameter such as "Release_date". Is t...
  • roul123
  • Casual Listener
  • 191 Views
  • 5 replies
  • 0 likes
  • api
    Search
  • 191 Views
  • 5 replies
  • 0 likes

Cannot delete tracks from a playlist using the API. Receiving 401 error.

PlanFree/PremiumCountryCanada My Question or IssueI've been trying and failing to delete tracks from a playlist using the API. Every method I attempt results in a 401 error from spotify. This is a JavaScript Web App and I'm performing both Oauth and ...

  • Newbie
  • Plan Free/Premium Country Canada   My Question or Issue I've been trying and failing to delete tracks from a playlist using the API. Every method I attempt results in a 401 error from s...
  • Ximzend
  • Roadie
  • 217 Views
  • 1 replies
  • 0 likes
  • api
    javascript
    question
    troubleshoot
  • 217 Views
  • 1 replies
  • 0 likes