Announcements

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
  • 14964 Views
  • 0 replies
  • 51 likes
  • Discussion
  • 14964 Views
  • 0 replies
  • 51 likes

Quota Extension Support

Hello, I'm wondering if Spotify offers support for quota extension requests other than the forums? Dealing with this is now extremely frustrating. I've been denied twice, with explanations that do not even feel relevant to my use case. Further, I had...

  • Casual Listener
  • Hello,   I'm wondering if Spotify offers support for quota extension requests other than the forums? Dealing with this is now extremely frustrating. I've been denied twice, with explanations t...
  • mikerowaveee
  • Casual Listener
  • 86 Views
  • 2 replies
  • 0 likes
  • api
    question
    Quota Extension
  • 86 Views
  • 2 replies
  • 0 likes

Refresh Token API returning CORS errors

Hello,I am a developer consuming the Web API and suddenly today all my requests to Refresh Access Tokens are not working on the browser. Postman works fine, but the browser is throwing CORS errors. No change to code on my end, and if I get an access ...

  • Music Fan
  • Hello, I am a developer consuming the Web API and suddenly today all my requests to Refresh Access Tokens are not working on the browser. Postman works fine, but the browser is throwing CORS errors....
  • 12rafa34
  • Newbie
  • 3522 Views
  • 15 replies
  • 11 likes
  • api
    CORS
    developers
    tokens
  • 3522 Views
  • 15 replies
  • 11 likes

Dynamic CDN domains for images?

Gooday, I would like to ask if the CDN's where the images are hosted are always the same or change overtime? I'm using NextJS and need to whitelist these domains for my images.This is what I'm trying to do: https://nextjs.org/docs/api-reference/next/...

  • Newbie
  • ...his is what I'm trying to do: https://nextjs.org/docs/api-reference/next/image#domains   So far i've seen these when checking the network tab:       domains : [ &n...
  • 57 Views
  • 0 replies
  • 0 likes
  • api
    cdn
    Images
    Security
  • 57 Views
  • 0 replies
  • 0 likes

Get a permanent token for API calls

Hello, I wrote a Python script to update playlists (throught API calls). It works fine, but I have to generate a new token each hour from the Spotify Web API Console. Is there a way to get a permanent token in order to be able to use it in a schedule...

  • Casual Listener
  • Hello,   I wrote a Python script to update playlists (throught API calls). It works fine, but I have to generate a new token each hour from the Spotify Web API Console. Is there a way to get a...
  • ffkangoroo
  • Casual Listener
  • 86 Views
  • 3 replies
  • 0 likes
  • api
    Python
    token
  • 86 Views
  • 3 replies
  • 0 likes

Spotify Search API for Business

Can I use the Spotify API search functionality for an app that integrates with a restaurant. I won't actually be using Spotify to play the music because it's not licensed for business use, but is it legal for me to use the search functionality. Thank...

  • Casual Listener
  • Can I use the Spotify API search functionality for an app that integrates with a restaurant. I won't actually be using Spotify to play the music because it's not licensed for business use, but is i...
  • 63 Views
  • 0 replies
  • 0 likes
  • api
    business
    Search
  • 63 Views
  • 0 replies
  • 0 likes

Spotify Web API - Force token expiry?

Hi! Is it possible to force a token to expire? I want to test how my application handles expired tokens without having to create a bunch of test logic. I'm using both Web API and Spotify Playback SDK

  • Casual Listener
  • ...oth Web API and Spotify Playback SDK
  • 81 Views
  • 0 replies
  • 0 likes
  • api
    api token
    question
    token
    Web Playback API
  • 81 Views
  • 0 replies
  • 0 likes

Amount of shares a song has received

Hey everyone,does someone now if it is currently possible to get the amount of shares a song has received on spotify through the use of the API?So basically what I would like to know is the exact amounf of times a song got shares through the internal...

  • Newbie
  • Hey everyone, does someone now if it is currently possible to get the amount of shares a song has received on spotify through the use of the API? So basically what I would like to know is the e...
  • 98 Views
  • 0 replies
  • 0 likes
  • api
    Instagram
    Python
    sharing
    twitter
  • 98 Views
  • 0 replies
  • 0 likes

new_releases endpoint seem incomplete

PlanPremiumCountryFR DeviceAPI through Spotipy My Question or IssueHi,I'm trying to build something to gather album releases from a specific genre but the API response seem not return all the album. For example at this date if you call the API you wi...

  • Casual Listener
  • Plan Premium Country FR   Device API through Spotipy   My Question or Issue Hi, I'm trying to build something to gather album releases from a specific genre but the API response s...
  • Dranaxel
  • Casual Listener
  • 105 Views
  • 2 replies
  • 0 likes
  • api
  • 105 Views
  • 2 replies
  • 0 likes

Get location information about artist

Hi all, I have two questions regarding the "mostly listened to" location information about an artist:is it possible to retrieve this information via the API?if so, is it also possible to get a history of the locations and their respective counts?I ha...

  • Visitor
  • Hi all,   I have two questions regarding the "mostly listened to" location information about an artist: is it possible to retrieve this information via the API? if so, is it also possible t...
  • omerta89
  • Casual Listener
  • 469 Views
  • 2 replies
  • 3 likes
  • api
    Artist
    location
  • 469 Views
  • 2 replies
  • 3 likes

[V1 API Search] q (query) parameter appears to have a limit of 100 characters as of today

PlanAPICountryNLDevice-Operating System- My Question or IssueAs of today the following request wil result in:Query: artist:"Joseph Haydn"+track:"Die Jahreszeiten (The Seasons), Hob.XXI:3: Der Sommer (Summer): Ach! das Ungewitter naht (Chorus)"https:/...

  • Casual Listener
  • Plan API Country NL Device - Operating System -   My Question or Issue As of today the following request wil result in: Query:  artist:"Joseph Haydn"+track:"Die Jahreszeiten (T...
  • 101 Views
  • 0 replies
  • 0 likes
  • api
    API Bug
    Possible Bug
  • 101 Views
  • 0 replies
  • 0 likes

401 Permissions missing. When Attempting to Play Track.

I am trying to play a track on my app using spotify-web-api-node: https://github.com/caseysiebel/spotify-clone/blob/main/components/Song.tsx#L19 When I fire off this call to spotifyApi.play(), I am getting this error back WebapiRegularError: An error...

  • Casual Listener
  • I am trying to play a track on my app using   spotify-web-api-node:  https://github.com/caseysiebel/spotify-clone/blob/main/components/Song.tsx#L19   When I fire off this call to &n...
  • TMango_
  • Visitor
  • 914 Views
  • 5 replies
  • 0 likes
  • api
    Permission
    Play
  • 914 Views
  • 5 replies
  • 0 likes

SpotifyOauthError Invalid client

PlanPremiumCountryNorwayOperating SystemWindows and Ubuntu 18 My Question or IssueHi! I am delivering a master thesis on music recommendation based on content-based filtering. In that sense I am required to use the spotify api to both get audio featu...

  • Newbie
  • ...n that sense I am required to use the spotify api to both get audio features and create playlist containing the recommended songs. This has gone smoothly the past months however, yesterday I got the f...
  • 124 Views
  • 0 replies
  • 0 likes
  • api
    Error
    feature request
    Possible Bug
  • 124 Views
  • 0 replies
  • 0 likes

[API] How to get public playlists that aren't on a user's profile?

I want to be able to get a list of my own public playlists from the API regardless of whether they have been added to my profile or not. Currently when I make a request against /playlists I get the public playlists on my profile, but not those public...

  • Visitor
  • I want to be able to get a list of my own public playlists from the API regardless of whether they have been added to my profile or not. Currently when I make a request against /playlists I get the p...
  • Hubo
  • Spotify Star
  • 171 Views
  • 1 replies
  • 0 likes
  • api
    Developer
    Playlists
  • 171 Views
  • 1 replies
  • 0 likes

Track's stream count which excludes loop/repeat per day

Is it possible to retrieve a track's stream count per day which excludes loop/repeat plays? For example each user who streamed a track in a specific day played the track multiple times but Im only interested in the count of all first play by each use...

  • Visitor
  • Is it possible to retrieve a track's stream count per day which excludes loop/repeat plays? For example each user who streamed a track in a specific day played the track multiple times but Im only in...
  • 86 Views
  • 0 replies
  • 0 likes
  • api
  • 86 Views
  • 0 replies
  • 0 likes

Superuser Contribution Where in track is the 30 seconds preview?

PlanPremiumCountryUnited StatesOperating SystemWindows 10 My Question or IssueIs it possible to find where the track preview is in the track. I've looked at the API documentation but I can't find anything. I am trying to sync the audio analysis respo...

  • Music Fan
  • Plan Premium Country United States Operating System Windows 10   My Question or Issue Is it possible to find where the track preview is in the track. I've looked at the API d...
  • jemery2016
  • Music Fan
  • 229 Views
  • 2 replies
  • 0 likes
  • api
  • 229 Views
  • 2 replies
  • 0 likes

Superuser Contribution Track Start/Pause Events with Matomo

Is there any way to get callbacks from Embed iFrame API?I would like to track with Matomo Play and Stop events from embedded Spotify iFrames.

  • Newbie
  • Is there any way to get callbacks from Embed iFrame API? I would like to track with Matomo Play and Stop events from embedded Spotify iFrames.
  • spotifyjosh
  • Spotify
  • 295 Views
  • 1 replies
  • 0 likes
  • Analytics
    api
    Callbacks
    embed
    javascript
    Matomo
    question
    tracking
  • 295 Views
  • 1 replies
  • 0 likes

API call bad request

we are facing api calls bad request errors ,sp_trace_id = "fd5d3b0d-774f-474a-aee9-e5c5c838736e","53c9da1e-464c-4cba-9761-52879bade67b"

  • Newbie
  • we are facing api calls bad request errors , sp_trace_id = "fd5d3b0d-774f-474a-aee9- e5c5c838736e", "53c9da1e-464c-4cba-9761- 52879bade67b"
  • 496 Views
  • 0 replies
  • 0 likes
  • api
    bad_request
  • 496 Views
  • 0 replies
  • 0 likes

Search for albums with label via API

Plan:PremiumCountryUSA My Question or Issue I noticed that while the spotify app allows you to search by label in the search bar, there isnt documentation on doing this via API. Is there a way to search for albums under a label via API? Thanks

  • Newbie
  • Plan: Premium Country USA   My Question or Issue   I noticed that while the spotify app allows you to search by label in the search bar, there isnt documentation on doing this via API...
  • tomjaimz
  • Music Fan
  • 150 Views
  • 1 replies
  • 1 likes
  • api
    Discussion
    feature request
  • 150 Views
  • 1 replies
  • 1 likes

WebPlayer SDK API - play song by #ID

Hello, I am looking herehttps://developer.spotify.com/documentation/web-playback-sdk/ Is there a way to play song by #ID on our own site? Thank you

  • Music Fan
  • Hello,   I am looking here https://developer.spotify.com/documentation/web-playback-sdk/   Is there a way to play song by #ID on our own site?   Thank you
  • olegkhorev
  • Music Fan
  • 386 Views
  • 12 replies
  • 0 likes
  • api
    SDK
    song
  • 386 Views
  • 12 replies
  • 0 likes

looking for spotify specification json

hi all, im looking for the specification json file, for reference this github's api specifications. (https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v2.0/schema.json)i've found this but its not in json form (https://github.com/spotify/...

  • Newbie
  •   hi all,  im looking for the specification json file, for reference this github's api specifications. (https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v2.0/schema.json) i...
  • 1152 Views
  • 0 replies
  • 0 likes
  • api
  • 1152 Views
  • 0 replies
  • 0 likes

Env: prod